3Com 5500-SI Switch User Manual


 
SNMP Configuration Introduction 567
Setting Lifetime of Trap
Message
You can use the following command to set the lifetime of a Trap message. A trap
message that exists longer than the set lifetime will be dropped.
Perform the following configuration in System View.
Table 620 Set the Lifetime of Trap Message
By default, the lifetime of Trap message is 120 seconds.
Setting SNMP System
Information
The SNMP system information includes the character string sysContact (system
contact), the character string describing the system location, the version information
about the SNMP operating in the system.
You can use the following commands to set the system information.
Perform the following configuration in System View.
Table 621 Set SNMP System Information
By default, the sysLocation is specified as a blank string, that is, “”.
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 622 Set the Engine ID of a Local or Remote Device
By default, the engine ID is expressed as enterprise No. + device information. The
device information can be IP address, MAC address, or user-defined text.
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.
Operation Command
Set lifetime of Trap message snmp-agent trap life seconds
Restore lifetime of Trap message undo snmp-agent trap life
Operation Command
Set SNMP System Information snmp-agent sys-info { contact sysContact |
location syslocation | version { { v1 | v2c |
v3 } * | all } }
Restore the default SNMP System
Information of the Switch
undo snmp-agent sys-info [ { contact |
location }* | version { { v1 | v2c | v3 }* |
all } ]
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