Switch 7700 Configuration Guide
24 CHAPTER 11: SYSTEM MANAGEMENT
Perform the following configuration in system view.
Set lifetime of the Trap message
You can use the following command to set lifetime of Trap message. Trap message
that exists longer than the set lifetime will be droped.
Perform the following configuration in system view.
By default, the lifetime of Trap message is 120 seconds.
Set sysLocation
The sysLocation is a management variable of the MIB system group, used for
specifying the location of managed devices.
You can use the following commands to set the sysLocation.
Perform the following configuration in system view.
By default, the sysLocation is specified as “Marlborough MA”.
Set the Engine ID of a Local or Remote Device
You can use the following commands to set the engine ID of a local or remote
device.
Perform the following configuration in system view.
Tab le 42 Set the Destination Address of Trap
Operation Command
Set the destination address of trap snmp-agent target-host trap adress udp-domain
host-addr [ udp-port udp-port-number ] params
securityname community-string [ v1 | v2c | v3 {
authentication | privacy } ]
Delete the destination address of
trap
undo snmp-agent target-host host-addr
securityname community-string
Tab le 43 Set the Lifetime of the Trap Message
Operation Command
Set lifetime of Trap message snmp-agent trap life seconds
Restore lifetime of Trap message undo snmp-agent trap life
Tab le 44 Set sysLocation
Operation Command
Set sysLocation snmp-agent sys-info loaction sysLocation
Restore the default location of the
Ethernet switch
undo snmp-agent sys-info loaction
Tab le 45 Set the Engine ID of a Local or Remote Device
Operation Command
Set the engine ID of the device snmp-agent local-engineid engineid
Restore the default engine ID of the
device.
undo snmp-agent local-engineid engineid