6 snmp troubleshooting, 5 switch upgrade, 1 switch system files – PLANET WGSW-50040 User Manual

Page 51: Witch, Pgrade

Advertising
background image

4-13

Switch(config)#snmp-server host 2004:1:2:3::2 v1 trap

Switch(config)#snmp-server enable traps

4.4.6 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:

 Good condition of the physical connection.
 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).

 The switch enabled SNMP Agent server function (use “snmp-server” command)
 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.

 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.

 If RMON function is required, RMON must be enabled first (use “rmon enable” command).
 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

debugging function and verify debug information.

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

4.5 Switch Upgrade

Switch provides two ways for switch upgrade: BootROM upgrade and the TFTP/FTP upgrade under Shell.

4.5.1 Switch System Files

The system files includes system image file and boot file. The updating of the switch is to update the two files

by overwrite the old files with the new ones.

The system image files refers to the compressed files of the switch hardware drivers, and software support

program, etc, namely what we usually call the IMG update file. The IMG file can only be saved in the FLASH

with a defined name of nos.img

The boot file is for initiating the switch, namely what we usually call the ROM update file (It can be

compressed into IMG file if it is of large size). The boot file can only be saved in the ROM in which the file

name is defined as boot.rom

The update method of the system image file and the boot file is the same. The switch supplies the user with

two modes of updating: 1. BootROM mode; 2. TFTP and FTP update at Shell mode. This two update method

Advertising