5 snmp troubleshooting – Accton Technology ES4626 User Manual

Page 85

Advertising
background image

85

The configuration on the switch is listed below:

Switch(config)#snmp-server

Switch (Config)#snmp-server user tester UserGroup encrypted auth md5 hello

Switch (Config)#snmp-server group UserGroup AuthPriv read max write max notify max

Switch (Config)#snmp-server view max 1 include

Scenario 4:

NMS wants to receive the v3Trap messages sent by the switch.

The configuration on the switch is listed below:

Switch(config)#snmp-server

Switch(config)#snmp-server host 10.1.1.2 v3 AuthPriv tester

Switch(config)#snmp-server enable traps

2.4.5 SNMP Troubleshooting

When users configure the SNMP, the SNMP server may fail to run properly due to

physical connection failure and wrong configuration, etc. Users can troubleshoot the

problems by following the guide below:

z

Good condition of the physical connection.

z

Interface and datalink layer protocol is Up (use the “show interface” command),

and the connection between the switch and host can be verified by ping ( use

“ping” command).

z

The switch enabled SNMP Agent server function (use “snmp-server” command)

z

Secure IP for NMS (use “snmp-server securityip” command) and community

string (use “snmp-server community” command) are correctly configured, as any

of them fails, SNMP will not be able to communicate with NMS properly.

z

If Trap function is required, remember to enable Trap (use “snmp-server enable

traps” command). and remember to properly configure the target host IP

address and community string for Trap (use “snmp-server host” command) to

ensure Trap message can be sent to the specified host.

z

If RMON function is required, RMON must be enabled first (use “rmon enable”

command).

z

Use “show snmp” command to verify sent and received SNMP messages; Use

“show snmp status” command to verify SNMP configuration information; Use

“debug snmp packet” to enable SNMP debug function and verify debug

information.

z

If users still can’t solve the SNMP problems, Please contact our technical and

service center.

Advertising
This manual is related to the following products: