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.
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...