3Com Switch 7750 Configuration Guide Guide

684 CHAPTER 64: 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)
Enable the device to send Trap packets
snmp-agent trap
enable [ bgp [
backwardtransition
| established ]* |
configuration | flash
| ospf [ process-id ] [
ospf-trap-list ] |
standard [
authentication |
coldstart | linkdown
| linkup | warmstart
]* | system | vrrp [
authfailure |
newmaster ] ]
Optional
By default, the port or
the interface is
enabled to send Trap
packets.
Enable the port to
send Trap packets
Enter port view or
interface view
interface
interface-type
interface-number
Enable the port or
interface to send Trap
packets
enable snmp trap
updown
Quit to system view quit
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/linkdown
packet are as the
standard format
defined in IF-MIB.
Table 538 Configure Trap
Operation Command Description