3Com S7902E Command Reference Manual - page 2129
1-24
Examples
# Enable the device to send SNMP authentication failure packets to 10.1.1.1, using the community
name
public
.
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname public
[Sysname] snmp-agent trap enable standard authentication
snmp-agent trap if-mib link extended
Syntax
snmp-agent trap if-mib link extended
undo snmp-agent trap if-mib link extended
View
System view
Default Level
3: Manage level
Parameters
None
Description
Use the
snmp-agent trap if-mib link extended
command to extend the standard linkUp/linkDown
traps defined in RFC. An extended linkUp/linkDown trap is the standard linkUp/linkDown trap defined in
RFC appended with the interface description and interface type information.
Use the
undo snmp-agent trap if-mib link extended
command to restore the default.
By default, standard linkUp/linkDown traps defined in RFC are used.
z
A standard linkUp trap is in the following format:
#Apr 24 11:48:04:896 2008 Sysname IFNET/4/INTERFACE UPDOWN:
Trap 1.3.6.1.6.3.1.1.5.4
is 1
z
An extended linkUp trap is in the following format:
#Apr 24 11:43:09:896 2008 Sysname IFNET/4/INTERFACE UPDOWN:
Trap 1.3.6.1.6.3.1.1.5.4
is 1, ifDescr is Ethernet1/1, ifType is 6
z
A standard linkDown trap is in the following format:
#Apr 24 11:47:35:224 2008 Sysname IFNET/4/INTERFACE UPDOWN:
Trap 1.3.6.1.6.3.1.1.5.3
ifOperStatus is 2
z
An extended linkDown trap is in the following format:
#Apr 24 11:42:54:314 2008 AR29.46 IFNET/4/INTERFACE UPDOWN:
Trap 1.3.6.1.6.3.1.1.5.3
ifOperStatus is 2, ifDescr is Ethernet1/1, ifType is 6
The format of an extended linkup/linkDown trap is the standard format followed with the ifDescr and
ifType information, facilitating problem location.