3com 5500-ei pwr Guía De Referencia

Descargar
Página de 1314
 
1-23 
System View: return to User View with Ctrl+Z. 
[Sysname] snmp-agent trap enable standard authentication 
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname public 
snmp-agent trap ifmib 
Syntax 
snmp-agent trap ifmib link extended 
undo snmp-agent trap ifmib link extended 
View 
System view 
Parameters 
None 
Description 
Use the snmp-agent trap ifmib link extended command to configure the extended trap. “Interface 
description” and “interface type” are added into the extended linkUp/linkDown trap. 
Use the undo snmp-agent trap ifmib link extended command to restore the default setting. 
By default, the linkUp/linkDown trap uses the standard format defined in IF-MIB (refer to RFC 1213 for 
detail). In this case, no MIB object name is added after the OID field of the MIB object. 
Examples 
# Before the configuration of the extended trap function, the trap information is as follows when a link is 
down: 
#Apr  2 05:53:15:883 2000 3Com L2INF/2/PORT LINK STATUS CHANGE:- 1 - 
  Trap 1.3.6.1.6.3.1.1.5.3(linkDown): portIndex is 4227634, ifAdminStatus is 2, ifOperStatus 
is 2 
#Apr  2 05:53:16:094 2000 3Com IFNET/5/TRAP:- 1 -1.3.6.1.6.3.1.1.5.3(linkDown) Interface 31 
is Down 
# Configure the extended linkUp/linkDown trap format to make traps include the interface description 
and interface type information. 
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] snmp-agent trap ifmib link extended 
# After the configuration of the extended trap function, the trap information is as follows when a link is 
down: 
#Apr  2 05:55:00:642 2000 3Com L2INF/2/PORT LINK STATUS CHANGE:- 1 - 
  Trap 1.3.6.1.6.3.1.1.5.3(linkDown): portIndex is 4227634, ifAdminStatus is 2, ifOperStatus 
is 2,ifDescr='Ethernet1/0/2', ifType=6 
#Apr  2 05:55:00:893 2000 3Com IFNET/5/TRAP:- 1 -1.3.6.1.6.3.1.1.5.3(linkDown) Interface 31 
is Down. ifAdminStatus=1, ifOperStatus=2, ifDescr='Vlan-interface1',ifType=136 
The above output indicates that the interface description and interface type information is added into the 
traps, thus facilitating fault location.