3Com Switch 8800 Configuration Guide Chapter 47 SNMP Configuration
47-6
Table 47-6 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
By default, the lifetime of Trap message is 120 seconds.
47.3.6 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.
Perform the following configuration in system view.
Table 47-7 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
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.
47.3.7 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.
Table 47-8 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 ]