3com S7906E Guide De Référence

Page de 2327
 
1-24 
Examples 
# Enable the device to send SNMP authentication failure packets to 10.1.1.1, using the community 
name public
<Sysname> system-view 
[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. 
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<linkUp>: Interface 983555 is Up, ifAdminStatus is 1, ifOperStatus 
is 1 
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<linkUp>: Interface 983555 is Up, ifAdminStatus is 1, ifOperStatus 
is 1, ifDescr is Ethernet1/1, ifType is 6 
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<linkDown>: Interface 983555 is Down, ifAdminStatus is 2, 
ifOperStatus is 2   
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<linkDown>: Interface 983555 is Down, ifAdminStatus is 2, 
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.