- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
03-IF-MIB | 113.80 KB |
Contents
IF-MIB
About this MIB
This MIB describes generic attributes for network interfaces.
MIB file name
rfc2863-if.mib
Root object
iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).ifMIB(31)
Scalar objects
ifNumber
Object (OID) |
Access |
Syntax |
Value range |
Description |
Implementation |
ifNumber(1.3.6.1.2.1.2.1) |
read-only |
Integer32 |
Integer32(1..2147483647) |
Number of interfaces. |
As per the MIB. |
ifTableLastChange
Object (OID) |
Access |
Syntax |
Value range |
Description |
Implementation |
ifTableLastChange (1.3.6.1.2.1.31.1.5) |
read-only |
TimeTicks |
TimeTicks (0..4294967295) |
Value of sysUpTime at the time of the last creation or deletion of an entry in the IfTable. |
Not supported |
ifStackLastChange
Object (OID) |
Access |
Syntax |
Value range |
Description |
Implementation |
ifStackLastChange (1.3.6.1.2.1.31.1.6) |
read-only |
TimeTicks |
TimeTicks (0..4294967295) |
Value of sysUpTime at the time of the last creation or deletion of the whole interface stack. |
Not supported |
Tabular objects
ifTable
About this table
Use this table to obtain information about an interface by interface index.
Support for operations
Create |
Edit/Modify |
Delete |
Read |
Not supported |
Not supported |
Not supported |
Supported |
Columns
The table index is ifIndex.
Object (OID) |
Access |
Syntax |
Value range |
Description |
Implementation |
ifIndex (1.3.6.1.2.1.2.2.1.1) |
read-only |
Integer32 |
Integer32 (1..2147483647) |
Index of an interface. |
As per the MIB. |
ifDescr (1.3.6.1.2.1.2.2.1.2) |
read-only |
DisplayString |
OCTET STRING(0..255) |
Description of the interface. |
A string that contains information about the interface, null0, Vlan-interface2, Gigabitethernet1/0/1, Ten-Gigabitethernet2/0/1, for example. |
ifType (1.3.6.1.2.1.2.2.1.3) |
read-only |
IANAifType |
INTEGER { other(1), regular1822(2), hdh1822(3), ddnX25(4), rfc877x25(5), ethernetCsmacd(6), iso88023Csmacd(7), iso88024TokenBus(8), iso88025TokenRing(9), iso88026Man(10), starLan(11), proteon10Mbit(12), proteon80Mbit(13), hyperchannel(14), fddi(15), lapb(16), sdlc(17), ds1(18), e1(19), basicISDN(20), primaryISDN(21), propPointToPointSerial(22), ppp(23), softwareLoopback(24), eon(25), ethernet3Mbit(26), nsip(27), slip(28), ultra(29), ds3(30), sip(31), frameRelay(32), rs232(33), para(34), arcnet(35), arcnetPlus(36), atm(37), miox25(38), sonet(39), x25ple(40), iso88022llc(41), localTalk(42), smdsDxi(43), frameRelayService(44), v35(45), hssi(46), hippi(47), modem(48), aal5(49), sonetPath(50), sonetVT(51), smdsIcip(52), propVirtual(53), propMultiplexor(54), ieee80212(55), fibreChannel(56), hippiInterface(57), frameRelayInterconnect(58), aflane8023(59), aflane8025(60), cctEmul(61), fastEther(62), isdn(63), v11(64), v36(65), g703at64k(66), g703at2mb(67), qllc(68), fastEtherFX(69), channel(70), ieee80211(71), ibm370parChan(72), escon(73), dlsw(74), isdns(75), isdnu(76), lapd(77), ipSwitch(78), rsrb(79), atmLogical(80), ds0(81), ds0Bundle(82), bsc(83), async(84), cnr(85), iso88025Dtr(86), eplrs(87), arap(88), propCnls(89), hostPad(90), termPad(91), frameRelayMPI(92), x213(93), adsl(94), radsl(95), sdsl(96), vdsl(97), iso88025CRFPInt(98), myrinet(99), voiceEM(100), voiceFXO(101), voiceFXS(102), voiceEncap(103), voiceOverIp(104), atmDxi(105), atmFuni(106), atmIma(107), pppMultilinkBundle(108), ipOverCdlc(109), ipOverClaw(110), stackToStack(111), virtualIpAddress(112), mpc(113), ipOverAtm(114), iso88025Fiber(115), tdlc(116), gigabitEthernet(117), hdlc(118), lapf(119), v37(120), x25mlp(121), x25huntGroup(122), transpHdlc(123), interleave(124), fast(125), ip(126), docsCableMaclayer(127), docsCableDownstream(128), docsCableUpstream(129), a12MppSwitch(130), tunnel(131), coffee(132), ces(133), atmSubInterface(134), l2vlan(135), l3ipvlan(136), l3ipxvlan(137), digitalPowerline(138), mediaMailOverIp(139), dtm(140), dcn(141), ipForward(142), msdsl(143), ieee1394(144), if-gsn(145), dvbRccMacLayer(146), dvbRccDownstream(147), dvbRccUpstream(148), atmVirtual(149), mplsTunnel(150), srp(151), voiceOverAtm(152), voiceOverFrameRelay(153), idsl(154), compositeLink(155), ss7SigLink(156), propWirelessP2P(157), frForward(158), rfc1483(159), usb(160), ieee8023adLag(161), bgppolicyaccounting(162), frf16MfrBundle(163), h323Gatekeeper(164), h323Proxy(165), mpls(166), mfSigLink(167), hdsl2(168), shdsl(169), ds1FDL(170), pos(171), dvbAsiIn(172), dvbAsiOut(173), plc(174), nfas(175), tr008(176), gr303RDT(177), gr303IDT(178), isup(179), propDocsWirelessMaclayer(180), propDocsWirelessDownstream(181), propDocsWirelessUpstream(182), hiperlan2(183), propBWAp2Mp(184), sonetOverheadChannel(185), digitalWrapperOverheadChannel(186), aal2(187), radioMAC(188), atmRadio(189), imt(190), mvl(191), reachDSL(192), frDlciEndPt(193), atmVciEndPt(194), opticalChannel(195), opticalTransport(196), propAtm(197), voiceOverCable(198), infiniband(199), teLink(200), q2931(201), virtualTg(202), sipTg(203), sipSig(204), docsCableUpstreamChannel(205), econet(206), pon155(207), pon622(208), bridge(209), linegroup(210), voiceEMFGD(211), voiceFGDEANA(212), voiceDID(213), mpegTransport(214), sixToFour(215), gtp(216), pdnEtherLoop1(217), pdnEtherLoop2(218), opticalChannelGroup(219), homepna(220), gfp(221), ciscoISLvlan(222), actelisMetaLOOP(223), fcipLink(224), rpr(225), qam(226), lmp(227), cblVectaStar(228), docsCableMCmtsDownstream(229), adsl2(230), macSecControlledIF(231), macSecUncontrolledIF(232), aviciOpticalEther(233), atmbond(234), voiceFGDOS(235), mocaVersion1(236), ieee80216WMAN(237), adsl2plus(238), dvbRcsMacLayer(239), dvbTdm(240), dvbRcsTdma(241), x86Laps(242), wwanPP(243), wwanPP2(244), voiceEBS(245), ifPwType(246), ilan(247), pip(248), aluELP(249), gpon(250), vdsl2(251), capwapDot11Profile(252), capwapDot11Bss(253), capwapWtpVirtualRadio(254), bits(255), docsCableUpstreamRfPort(256), cableDownstreamRfPort(257), switchstack(65534) } |
Type of the interface. |
Implementation varies by product. |
ifMtu (1.3.6.1.2.1.2.2.1.4) |
read-only |
Integer32 |
Integer32(1..2147483647) |
MTU of the interface. |
Size of the largest packet that can be received or forwarded on the interface. This object is inapplicable to aggregate interfaces. |
ifSpeed (1.3.6.1.2.1.2.2.1.5) |
read-only |
Gauge32 |
Gauge32 (0..4294967295) |
Speed of the interface. |
Estimated bandwidth of the interface. |
ifPhysAddress (1.3.6.1.2.1.2.2.1.6) |
read-only |
PhysAddress |
OCTET STRING |
MAC address of the interface. |
Implementation varies by product. For a switch, only the following types of interfaces have a MAC address: · M-Ethernet port. · Vlan interface. · Ethernet port. · GigabitEthernet port. · XGigabitEthernet port. · Forty-GigabitEthernet port. · Hundred-GigabitEthernet port. |
ifAdminStatus (1.3.6.1.2.1.2.2.1.7) |
read- write |
OCTET STRING |
up(1), down(2), testing(3) |
Default status of the interface. |
Supports only the values up(1) and down(2). |
ifOperStatus (1.3.6.1.2.1.2.2.1.8) |
read-only |
OCTET STRING |
up(1), down(2), testing(3), unknown(4), dormant(5), notPresent(6), lowerLayerDown(7) |
Operational status of the interface. |
Current operational status of the interface. |
ifLastChange (1.3.6.1.2.1.2.2.1.9) |
read-only |
TimeTicks |
TimeTicks (0..4294967295) |
Duration of the interface. |
Time elapsed since the interface entered in the current status. |
ifInOctets (1.3.6.1.2.1.2.2.1.10) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of octets in incoming packets. |
As per the MIB. |
ifInUcastPkts (1.3.6.1.2.1.2.2.1.11) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of incoming unicast packets. |
As per the MIB. |
ifInNUcastPkts (1.3.6.1.2.1.2.2.1.12) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of incoming non-unicast packets. |
As per the MIB. |
ifInDiscards (1.3.6.1.2.1.2.2.1.13) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of incoming packets that were dropped. |
Implementation varies by product. Not supported by switches. |
ifInErrors (1.3.6.1.2.1.2.2.1.14) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of incoming packets that contain errors. |
As per the MIB. |
ifInUnknownProtos (1.3.6.1.2.1.2.2.1.15) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of incoming protocol-unknown packets. |
As per the MIB. |
ifOutOctets (1.3.6.1.2.1.2.2.1.16) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of octets in outgoing packets. |
As per the MIB. |
ifOutUcastPkts (1.3.6.1.2.1.2.2.1.17) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of outgoing unicast packets. |
As per the MIB. |
ifOutNUcastPkts (1.3.6.1.2.1.2.2.1.18) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of outgoing non-unicast packets. |
As per the MIB. |
ifOutDiscards (1.3.6.1.2.1.2.2.1.19) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of outgoing packets that were dropped. |
As per the MIB. |
ifOutErrors (1.3.6.1.2.1.2.2.1.20) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of outgoing packets that contain errors. |
As per the MIB. |
ifOutQLen (1.3.6.1.2.1.2.2.1.21) |
read-only |
Gauge32 |
Gauge32 (0..4294967295) |
Length of the outgoing packet queue. |
Implementation varies by product. |
ifSpecific (1.3.6.1.2.1.2.2.1.22) |
read-only |
OCTET IDENTIFIER |
OCTET IDENTIFIER |
Interface for realize specific definitions. |
Not supported |
ifXTable
About this table
Use this table to obtain information about an interface by interface name.
Support for operations
Create |
Edit/Modify |
Delete |
Read |
Not supported |
Not supported |
Not supported |
Supported |
Columns
The table index is ifName.
Object (OID) |
Access |
Syntax |
Value range |
Description |
Implementation |
ifName (1.3.6.1.2.1.31.1.1.1.1) |
read-only |
DisplayString |
OCTET STRING(0..255) |
Name of an interface. |
Interface name. |
ifInMulticastPkts (1.3.6.1.2.1.31.1.1.1.2) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of incoming multicast packets. |
As per the MIB. |
ifInBroadcastPkts (1.3.6.1.2.1.31.1.1.1.3) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of incoming broadcast packets. |
As per the MIB. |
ifOutMulticastPkts (1.3.6.1.2.1.31.1.1.1.4) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of outgoing multicast packets. |
As per the MIB. |
ifOutBroadcastPkts (1.3.6.1.2.1.31.1.1.1.5) |
read-only |
Counter32 |
Counter32 (0..4294967295) |
Number of outgoing broadcast packets. |
As per the MIB. |
ifHCInOctets (1.3.6.1.2.1.31.1.1.1.6) |
read-only |
Counter64 |
Counter64 (0..18446744073709551615) |
Number of octets in incoming packets. |
As per the MIB. |
ifHCInUcastPkts (1.3.6.1.2.1.31.1.1.1.7) |
read-only |
Counter64 |
Counter64 (0..18446744073709551615) |
Number of incoming unicast packets. |
As per the MIB. |
ifHCInMulticastPkts (1.3.6.1.2.1.31.1.1.1.8) |
read-only |
Counter64 |
Counter64 (0..18446744073709551615) |
Number of incoming multicast packets. |
As per the MIB. |
ifHCInBroadcastPkts (1.3.6.1.2.1.31.1.1.1.9) |
read-only |
Counter64 |
Counter64 (0..18446744073709551615) |
Number of incoming broadcast packets. |
As per the MIB. |
ifHCOutOctets (1.3.6.1.2.1.31.1.1.1.10) |
read-only |
Counter64 |
Counter64 (0..18446744073709551615) |
Number of octets in outgoing multicast packets. |
As per the MIB. |
ifHCOutUcastPkts (1.3.6.1.2.1.31.1.1.1.11) |
read-only |
Counter64 |
Counter64 (0..18446744073709551615) |
Number of outgoing unicast packets. |
As per the MIB. |
ifHCOutMulticastPkts (1.3.6.1.2.1.31.1.1.1.12) |
read-only |
Counter64 |
Counter64 (0..18446744073709551615) |
Number of outgoing multicast packets. |
As per the MIB. |
ifHCOutBroadcastPkts (1.3.6.1.2.1.31.1.1.1.13) |
read-only |
Counter64 |
Counter64 (0..18446744073709551615) |
Number of outgoing broadcast packets. |
As per the MIB. |
ifLinkUpDownTrapEnable (1.3.6.1.2.1.31.1.1.1.14) |
read-write |
INTEGER |
enabled(1), disabled(2) |
Whether to enable link-up or link-down traps on the interface. |
As per the MIB. |
ifHighSpeed (1.3.6.1.2.1.31.1.1.1.15) |
read-only |
Gauge32 |
Gauge32 (0..4294967295) |
Bandwidth of the interface. |
As per the MIB. |
ifPromiscuousMode (1.3.6.1.2.1.31.1.1.1.16) |
read-write |
TruthValue |
true(1), false(2) |
Enabling status of promiscuous mode. |
Implementation varies by product. Not supported by switches. |
ifConnectorPresent (1.3.6.1.2.1.31.1.1.1.17) |
read-only |
TruthValue |
true(1), false(2) |
Whether the interface sublayer has a physical connector. |
As per the MIB. |
ifAlias (1.3.6.1.2.1.31.1.1.1.18) |
read-write |
DisplayStringOCTET STRING |
OCTET STRING(0..64) |
Alias of the interface. |
As per the MIB. |
ifCounterDiscontinuityTime (1.3.6.1.2.1.31.1.1.1.19) |
read-only |
TimeTicks |
TimeTicks (0..4294967295) |
Time when the interface's counters suffered discontinuity. |
Implementation varies by product. |
ifRcvAddressTable
About this table
Use this table to configure the address of an interface to receive packets.
Support for operations
Create |
Edit/Modify |
Delete |
Read |
Not supported |
Supported |
Supported |
Supported |
Columns
The table index is ifRcvAddressAddress.
Object (OID) |
Access |
Syntax |
Value range |
Description |
Implementation |
ifRcvAddressAddress (1.3.6.1.2.1.31.1.4.1.1) |
not-accessible |
PhysAddress |
OCTET STRING (4) |
Address of an interface to receive packets. |
Implementation varies by product. |
ifRcvAddressStatus (1.3.6.1.2.1.31.1.4.1.2) |
read-create |
INTEGER |
active(1), notInService(2), notReady(3), createAndGo(4), createAndWait(5), destroy(6) |
Status of the receiving address. |
Implementation varies by product. |
ifRcvAddressType (1.3.6.1.2.1.31.1.4.1.3) |
read-create |
INTEGER |
other(1), volatile(2), nonVolatile(3) |
Type of the receiving address. |
Implementation varies by product. |
Notifications
This section contains the IF-MIB notifications.
linkDown
Basic information
OID |
Event |
Type |
Severity |
Recovery notification |
Default status |
1.3.6.1.6.3.1.1.5.3 |
Link down. |
Error |
Major |
1.3.6.1.6.3.1.1.5.4 (linkUp) |
ON |
Description
This notification is generated when the SNMPv2 entity, acting in an agent role, has detected that the ifOperStatus object for one of its communication links is about to enter the down state from some other state (but not from the notPresent state. Other states refer to the values of the ifOperStatus variable.
Status control
ON
CLI: Use the snmp-agent trap enable standard linkdown command.
OFF
CLI: Use the undo snmp-agent trap enable standard linkdown command.
Objects
OID (object name) |
Description |
Index |
Type |
Value range |
1.3.6.1.2.1.2.2.1.1 (ifIndex) |
Index of an interface. |
Yes |
InterfaceIndex |
Integer32 (1..2147483647) |
1.3.6.1.2.1.2.2.1.7 (ifAdminStatus) |
Administrative status of the interface. |
No |
INTEGER |
up(1) down(2) testing(3) |
1.3.6.1.2.1.2.2.1.8 (ifOperStatus) |
Operational status of the interface. |
No |
INTEGER |
up(1) down(2) testing(3) unknown(4) dormant(5) notPresent(6) lowerLayerDown(7) |
Recommended action
To resolve the issue:
1. Verify that the interface is connected and configured correctly.
2. If the issue persists, contact H3C Support.
linkUp
Basic information
OID |
Event |
Type |
Severity |
Recovery notification |
Default status |
1.3.6.1.6.3.1.1.5.4 |
Link up. |
Recovery |
N/A |
N/A |
ON |
Description
This notification is generated when that the SNMPv2 entity, acting in an agent role, has detected that the ifOperStatus object for one of its communication links left the down state and transitioned into some other state (but not into the notPresent state). Other states refer to the values of the ifOperStatus variable.
Status control
ON
CLI: Use the snmp-agent trap enable standard linkup command.
OFF
CLI: Use the undo snmp-agent trap enable standard linkup command.
Objects
OID (object name) |
Description |
Index |
Type |
Value range |
1.3.6.1.2.1.2.2.1.1 (ifIndex) |
Index of an interface. |
Yes |
InterfaceIndex |
Integer32 (1..2147483647) |
1.3.6.1.2.1.2.2.1.7 (ifAdminStatus) |
Administrative status of the interface. |
No |
INTEGER |
up(1) down(2) testing(3) |
1.3.6.1.2.1.2.2.1.8 (ifOperStatus) |
Operational status of the interface. |
No |
INTEGER |
up(1) down(2) testing(3) unknown(4) dormant(5) notPresent(6) lowerLayerDown(7) |
Recommended action
No action is required.