Switch 7700 Configuration Guide, v2
SNMP 27
Perform the following configuration in system view.
The authentication parameter specifies that the packet is authenticated without
encryption. This parameter is supported only in SNMP V3.
The privacy parameter specifies that the packet is authenticated and encrypted.
This parameter is supported only in SNMP V3.
Setting the 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.
Setting 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”.
Setting 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.
Table 48 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
Table 49 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
Table 50 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










