H3C S3100 Series Command Manual page 726

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Command Manual (For Soliton) – SNMP-RMON
H3C S3100 Series Ethernet Switches
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 H3C 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 H3C 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 H3C 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 H3C IFNET/5/TRAP:- 1 -1.3.6.1.6.3.1.1.5.3(linkDown)
Interface
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.
31
is
Down.
1-27
Chapter 1 SNMP Configuration Commands
ifAdminStatus=1,
ifOperStatus=2,

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents