×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Question concerning Port-Indexing on a Cisco 2960

Answered Question
Jul 3rd, 2013
User Badges:

My task is to find out the neighbors of the 2960 on the port with SNMP.


iso.0.8802.1.1.2.1.4.1.1.7 ->


     iso.0.8802.1.1.2.1.4.1.1.7.0.25.1 = STRING: "1/g23"


As far as I understand that does mean that on local port 25 there is a connection to 1/g23 of the connected switch.

But...



IF-MIB::ifIndex


     ...    

     IF-MIB::ifIndex.10123 = INTEGER: 10123

     IF-MIB::ifIndex.10124 = INTEGER: 10124

     IF-MIB::ifIndex.10125 = INTEGER: 10125

     IF-MIB::ifIndex.10126 = INTEGER: 10126

     IF-MIB::ifIndex.10127 = INTEGER: 10127

     ...



Is the port with the index 10125 the same as just 25 above?

Correct Answer by Rolf Fischer about 4 years 1 month ago

Hi,


you can validate the different interface enumeration types with


1) LLDP-MIB::lldpLocPortId

Example:

iso.0.8802.1.1.2.1.3.7.1.3.1 = "Fa0/1"

iso.0.8802.1.1.2.1.3.7.1.3.2 = "Fa0/2"

(...)


2) CISCO-STACK-MIB::portIfIndex

Example: 

enterprises.9.5.1.4.1.1.11.1.1 = 10001

enterprises.9.5.1.4.1.1.11.1.2 = 10002

(...)

ifName.10001 = Fa0/1

ifName.10002 = Fa0/2

(...)


Hope that helps

Rolf

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Rolf Fischer Wed, 07/03/2013 - 05:25
User Badges:
  • Blue, 1500 points or more

Hi,


you can validate the different interface enumeration types with


1) LLDP-MIB::lldpLocPortId

Example:

iso.0.8802.1.1.2.1.3.7.1.3.1 = "Fa0/1"

iso.0.8802.1.1.2.1.3.7.1.3.2 = "Fa0/2"

(...)


2) CISCO-STACK-MIB::portIfIndex

Example: 

enterprises.9.5.1.4.1.1.11.1.1 = 10001

enterprises.9.5.1.4.1.1.11.1.2 = 10002

(...)

ifName.10001 = Fa0/1

ifName.10002 = Fa0/2

(...)


Hope that helps

Rolf

Actions

This Discussion

Related Content