3Com Switch 8800 Family Configuration Guide

Configuring SNMP 741
Setting Lifetime of 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 dropped.
Perform the following configuration in system view.
By default, the lifetime of Trap message is 120 seconds.
Setting the Engine ID of
a Local Device
You can use the following commands to set the engine ID of a local device.
Perform the following configuration in system view.
The engine ID of the device is in hexadecimal notation and has at least five
characters, which can be IP address, MAC address or self-defined text. It defaults
to the enterprise number + the device information.
Setting/Deleting an
SNMP Group
You can use the following commands to set or delete an SNMP group.
Perform the following configuration in system view.
Setting the Source
Address of Trap
You can use the following commands to set or remove the source address of the
trap.
Delete the destination
address of trap
undo snmp-agent target-host host-addr securityname
securityname
Table 681 Set the destination address of trap
Operation Command
Tab le 682 Set the lifetime of 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 683 Set the engine ID of a local 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
Tab le 684 Set/Delete an SNMP Group
Operation Command
Set an SNMP group
snmp-agent group { v1 | v2c } group-name [ read-view read-view
] [ write-view write-view ] [ notify-view notify-view ] [ acl acl-list ]
snmp-agent group v3 group-name [ authentication | privacy ] [
read-view read-view ] [ write-view write-view ] [notify-view
notify-view ] [ acl acl-list ]
Delete an SNMP group
undo snmp-agent group { v1 | v2c } group-name
undo snmp-agent group v3 group-name [ authentication |
privacy ]