Reset Search
 

 

Article

KB40481 - Information how to monitor interfaces with SNMP

« Go Back

Information

 
Last Modified Date4/13/2017 1:41 AM
Synopsis
This article provides details how to monitor interfaces with SNMP
Problem or Goal
Cause
Solution
To monitor the interfaces via SNMP, use IF-MIB starting at OID .1.3.6.1.2.1.2
 
For example,  SNMP querying is enabled on a PSA700 at Log/Monitoring > SNMP and a SNMPWalk performed against it starting at .1.3.6.1.2.1.2.  The output provided below is broken down in sections with a description of each node in the tree:
 

 .1 ifNumber

The number of network interfaces (regardless of their current state) present on this system
.1.3.6.1.2.1.2.1.0 = INTEGER: 10
 

 .2  ifTable

not-accessible
 

 .2.1 ifEntry

 not-accessible
 

 .2.1.1  ifIndex

 A unique value, greater than zero, for each interface.
.1.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.1.3 = INTEGER: 3
.1.3.6.1.2.1.2.2.1.1.4 = INTEGER: 4
.1.3.6.1.2.1.2.2.1.1.5 = INTEGER: 5
.1.3.6.1.2.1.2.2.1.1.6 = INTEGER: 6
.1.3.6.1.2.1.2.2.1.1.7 = INTEGER: 7
.1.3.6.1.2.1.2.2.1.1.8 = INTEGER: 8
.1.3.6.1.2.1.2.2.1.1.9 = INTEGER: 9
.1.3.6.1.2.1.2.2.1.1.10 = INTEGER: 10

 

 .2.1.2 ifDescr

 A textual string containing information about the interface.
.1.3.6.1.2.1.2.2.1.2.1 = STRING: "lo"            (loopback)
.1.3.6.1.2.1.2.2.1.2.2 = STRING: "sit0"          (6to4 tunnel)
.1.3.6.1.2.1.2.2.1.2.3 = STRING: "eth0"          (mgmt0)
.1.3.6.1.2.1.2.2.1.2.4 = STRING: "eth1"          (mgmt port)
.1.3.6.1.2.1.2.2.1.2.5 = STRING: "eth2"          (left ext port)
.1.3.6.1.2.1.2.2.1.2.6 = STRING: "eth3"          (left int port)
.1.3.6.1.2.1.2.2.1.2.7 = STRING: "eth4"          (right ext port)
.1.3.6.1.2.1.2.2.1.2.8 = STRING: "eth5"          (right int port)
.1.3.6.1.2.1.2.2.1.2.9 = STRING: "int0"          (int0)
.1.3.6.1.2.1.2.2.1.2.10 = STRING: "bond1"        (ext0)

 

 .2.1.3 ifType

The type of interface represented by IANAifType syntax.
 (softwareLoopback (24); tunnel (131); ethernet-csmacd (6) )
.1.3.6.1.2.1.2.2.1.3.1 = INTEGER: 24    
.1.3.6.1.2.1.2.2.1.3.2 = INTEGER: 131
.1.3.6.1.2.1.2.2.1.3.3 = INTEGER: 6
.1.3.6.1.2.1.2.2.1.3.4 = INTEGER: 6
.1.3.6.1.2.1.2.2.1.3.5 = INTEGER: 6
.1.3.6.1.2.1.2.2.1.3.6 = INTEGER: 6
.1.3.6.1.2.1.2.2.1.3.7 = INTEGER: 6
.1.3.6.1.2.1.2.2.1.3.8 = INTEGER: 6
.1.3.6.1.2.1.2.2.1.3.9 = INTEGER: 6
.1.3.6.1.2.1.2.2.1.3.10 = INTEGER: 6
 

 .2.1.4 ifMTU

 The size of the largest packet which can be sent/received on the interface, specified in octets.
.1.3.6.1.2.1.2.2.1.4.1 = INTEGER: 16436
.1.3.6.1.2.1.2.2.1.4.2 = INTEGER: 1480
.1.3.6.1.2.1.2.2.1.4.3 = INTEGER: 1500
.1.3.6.1.2.1.2.2.1.4.4 = INTEGER: 1500
.1.3.6.1.2.1.2.2.1.4.5 = INTEGER: 1500
.1.3.6.1.2.1.2.2.1.4.6 = INTEGER: 1500
.1.3.6.1.2.1.2.2.1.4.7 = INTEGER: 1500
.1.3.6.1.2.1.2.2.1.4.8 = INTEGER: 1500
.1.3.6.1.2.1.2.2.1.4.9 = INTEGER: 1500
.1.3.6.1.2.1.2.2.1.4.10 = INTEGER: 1500
 

 .2.1.5 ifSpeed

 An estimate of the interface's current bandwidth in bits per second.
.1.3.6.1.2.1.2.2.1.5.1 = GAUGE32: 10000000
.1.3.6.1.2.1.2.2.1.5.2 = GAUGE32: 0
.1.3.6.1.2.1.2.2.1.5.3 = GAUGE32: 10000000
.1.3.6.1.2.1.2.2.1.5.4 = GAUGE32: 10000000
.1.3.6.1.2.1.2.2.1.5.5 = GAUGE32: 10000000
.1.3.6.1.2.1.2.2.1.5.6 = GAUGE32: 10000000
.1.3.6.1.2.1.2.2.1.5.7 = GAUGE32: 10000000
.1.3.6.1.2.1.2.2.1.5.8 = GAUGE32: 10000000
.1.3.6.1.2.1.2.2.1.5.9 = GAUGE32: 1000000000
.1.3.6.1.2.1.2.2.1.5.10 = GAUGE32: 10000000

 

 .2.1.6  ifPhysAddress

 The interface's address at its protocol sub-layer. For example, for an 802.x interface, this object normally contains a MAC address.
.1.3.6.1.2.1.2.2.1.6.1 = STRING: ""
.1.3.6.1.2.1.2.2.1.6.2 = STRING: ""
.1.3.6.1.2.1.2.2.1.6.3 = HEX-STRING: 0CC47A765D94
.1.3.6.1.2.1.2.2.1.6.4 = HEX-STRING: 0CC47A765D95
.1.3.6.1.2.1.2.2.1.6.5 = HEX-STRING: 0CC47A58DB0E
.1.3.6.1.2.1.2.2.1.6.6 = HEX-STRING: 0CC47A58DB0F
.1.3.6.1.2.1.2.2.1.6.7 = HEX-STRING: 0CC47A58DABE
.1.3.6.1.2.1.2.2.1.6.8 = HEX-STRING: 0CC47A58DB0F
.1.3.6.1.2.1.2.2.1.6.9 = HEX-STRING: 0CC47A58DB0F
.1.3.6.1.2.1.2.2.1.6.10 = STRING: ""

 

 .2.1.7 ifAdminStatus

 The desired state of the interface.
 (up (1) down (2) )
.1.3.6.1.2.1.2.2.1.7.1 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.7.2 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.7.3 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.7.4 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.7.5 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.7.6 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.7.7 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.7.8 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.7.9 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.7.10 = INTEGER: 2

 

 .2.1.8  ifOperStatus

 The current operational state of the interface.
 (up (1) down (2) )
.1.3.6.1.2.1.2.2.1.8.1 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.8.2 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.8.3 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.8.4 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.8.5 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.8.6 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.8.7 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.8.8 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.8.9 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.8.10 = INTEGER: 2

 

 .2.1.10 ifInOctets

The total number of octets received on the interface, including framing characters.
.1.3.6.1.2.1.2.2.1.10.1 = COUNTER32: 15448432
.1.3.6.1.2.1.2.2.1.10.2 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.10.3 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.10.4 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.10.5 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.10.6 = COUNTER32: 2765967446
.1.3.6.1.2.1.2.2.1.10.7 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.10.8 = COUNTER32: 9977640
.1.3.6.1.2.1.2.2.1.10.9 = COUNTER32: 2775945086
.1.3.6.1.2.1.2.2.1.10.10 = COUNTER32: 0

 

 .2.1.11 IfInUcastPkts

The number of packets, delivered by this sub-layer to a higher (sub-)layer, which were not addressed to a multicast or broadcast address at this sub-layer.
.1.3.6.1.2.1.2.2.1.11.1 = COUNTER32: 89558
.1.3.6.1.2.1.2.2.1.11.2 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.11.3 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.11.4 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.11.5 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.11.6 = COUNTER32: 4200751
.1.3.6.1.2.1.2.2.1.11.7 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.11.8 = COUNTER32: 166166
.1.3.6.1.2.1.2.2.1.11.9 = COUNTER32: 4366917
.1.3.6.1.2.1.2.2.1.11.10 = COUNTER32: 0

 

 .2.1.13 IfInDiscards

 The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
.1.3.6.1.2.1.2.2.1.13.1 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.13.2 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.13.3 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.13.4 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.13.5 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.13.6 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.13.7 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.13.8 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.13.9 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.13.10 = COUNTER32: 0
 

 .2.1.14 IfInErrors

For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
.1.3.6.1.2.1.2.2.1.14.1 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.14.2 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.14.3 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.14.4 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.14.5 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.14.6 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.14.7 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.14.8 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.14.9 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.14.10 = COUNTER32: 0

 

 .2.1.16  IfOutOctets

 The total number of octets transmitted out of the interface, including framing characters
.1.3.6.1.2.1.2.2.1.16.1 = COUNTER32: 15448432
.1.3.6.1.2.1.2.2.1.16.2 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.16.3 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.16.4 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.16.5 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.16.6 = COUNTER32: 340676760
.1.3.6.1.2.1.2.2.1.16.7 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.16.8 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.16.9 = COUNTER32: 340676760
.1.3.6.1.2.1.2.2.1.16.10 = COUNTER32: 0

 

 .2.1.17 ifOutUcastPkts

 The total number of packets that higher-level protocols requested be transmitted, and which were not addressed to a multicast or broadcast address at this sub-layer, including those that were discarded or not sent.
.1.3.6.1.2.1.2.2.1.17.1 = COUNTER32: 89558
.1.3.6.1.2.1.2.2.1.17.2 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.17.3 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.17.4 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.17.5 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.17.6 = COUNTER32: 2609966
.1.3.6.1.2.1.2.2.1.17.7 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.17.8 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.17.9 = COUNTER32: 2609966
.1.3.6.1.2.1.2.2.1.17.10 = COUNTER32: 0

 

 .2.1.19 ifOutDiscards

 The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space.
.1.3.6.1.2.1.2.2.1.19.1 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.19.2 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.19.3 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.19.4 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.19.5 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.19.6 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.19.7 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.19.8 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.19.9 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.19.10 = COUNTER32: 0
 

  .2.1.20 ifOutErrors

 The number of outbound packets that could not be transmitted because of errors.
.1.3.6.1.2.1.2.2.1.20.1 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.20.2 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.20.3 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.20.4 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.20.5 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.20.6 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.20.7 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.20.8 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.20.9 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.20.10 = COUNTER32: 0

 

  .2.1.21 ifOutQLen

The length of the output packet queue (in packets).
.1.3.6.1.2.1.2.2.1.21.1 = GAUGE32: 0
.1.3.6.1.2.1.2.2.1.21.2 = GAUGE32: 0
.1.3.6.1.2.1.2.2.1.21.3 = GAUGE32: 0
.1.3.6.1.2.1.2.2.1.21.4 = GAUGE32: 0
.1.3.6.1.2.1.2.2.1.21.5 = GAUGE32: 0
.1.3.6.1.2.1.2.2.1.21.6 = GAUGE32: 0
.1.3.6.1.2.1.2.2.1.21.7 = GAUGE32: 0
.1.3.6.1.2.1.2.2.1.21.8 = GAUGE32: 0
.1.3.6.1.2.1.2.2.1.21.9 = GAUGE32: 0
.1.3.6.1.2.1.2.2.1.21.10 = GAUGE32: 0

 

 .2.1.22 ifSpecific

 A reference to MIB definitions specific to the particular media being used to realize the interface.
(If this information is not present, its value should be set to the OBJECT IDENTIFIER { 0 0 }, which is a syntatically valid object identifier)
.1.3.6.1.2.1.2.2.1.22.1 = OID: 0.0      
.1.3.6.1.2.1.2.2.1.22.2 = OID: 0.0
.1.3.6.1.2.1.2.2.1.22.3 = OID: 0.0
.1.3.6.1.2.1.2.2.1.22.4 = OID: 0.0
.1.3.6.1.2.1.2.2.1.22.5 = OID: 0.0
.1.3.6.1.2.1.2.2.1.22.6 = OID: 0.0
.1.3.6.1.2.1.2.2.1.22.7 = OID: 0.0
.1.3.6.1.2.1.2.2.1.22.8 = OID: 0.0
.1.3.6.1.2.1.2.2.1.22.9 = OID: 0.0
.1.3.6.1.2.1.2.2.1.22.10 = OID: 0.0



NOTE:
This PSA7000 has the management and external ports disabled, on a PSA7000 with all the interfaces connected  .2.1.2 ifDescr shows:
.1.3.6.1.2.1.2.2.1.2.1 = STRING: lo
.1.3.6.1.2.1.2.2.1.2.2 = STRING: sit0
.1.3.6.1.2.1.2.2.1.2.3 = STRING: mgt0
.1.3.6.1.2.1.2.2.1.2.4 = STRING: eth1
.1.3.6.1.2.1.2.2.1.2.5 = STRING: eth2
.1.3.6.1.2.1.2.2.1.2.6 = STRING: eth3
.1.3.6.1.2.1.2.2.1.2.7 = STRING: eth4
.1.3.6.1.2.1.2.2.1.2.8 = STRING: eth5
.1.3.6.1.2.1.2.2.1.2.9 = STRING: int0
.1.3.6.1.2.1.2.2.1.2.10 = STRING: ext0


NOTE: The extension table ifXTable in IF-MIB is not implemented, it is planned to be supported from 9.0R2 onwards.
Related Links
Attachment 1 
Created ByMatthew Spiers

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255