Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Question concerning Port-Indexing on a Cisco 2960

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?

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Question concerning Port-Indexing on a Cisco 2960

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

2 REPLIES

Re: Question concerning Port-Indexing on a Cisco 2960

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

Community Member

Question concerning Port-Indexing on a Cisco 2960

Thank you, that was exactly what I needed :)

210
Views
0
Helpful
2
Replies
CreatePlease to create content