3Com Switch 7750 Configuration Guide

744 CHAPTER 68: SNMP CONFIGURATION
n
The snmp-agent trap ifmib command is used to privately extend a
linkup/linkdown trap packet and add two objects “ifDescr” (interface description)
and “ifType” (interface type) to a trap packet. The two objects facilitate your
understanding and failure port location.
Displaying SNMP After the above configuration is completed, execute the display command in any
view to view the running status of SNMP, and to verify the configuration.
Set Trap target host address snmp-agent target-host
trap address
udp-domain { ip-address }
[ udp-port port-number ]
params securityname
security-string [ v1 | v2c |
v3 {authentication |
privacy }]
Required
Set the source address to send Trap packets snmp-agent trap source
interface-type
interface-number
Optional
Set the information queue length of Trap
packet sent to destination host
snmp-agent trap
queue-size size
Optional
The default
value is 100.
Set aging time for Trap packets snmp-agent trap life
seconds
Optional
The default
aging time
for Trap
packets is
120 seconds.
Extend the bound variables in a
linkup/linkdown trap packet, that is, add two
objects “ifDescr” (interface description) and
“ifType” (interface type)
snmp-agent trap ifmib link
extended
Optional
By default,
the bound
variables in a
linkup/linkdo
wn packet
are as the
standard
format
defined in
IF-MIB.
Table 597 Configure Trap
Operation Command Description