MIB CISCO-STP-EXTENSIONS-MIB / stpxFastStartPortIndex not-accessible

Answered Question
May 11th, 2007

Hi,

We are trying to set portfast using snmp via MIB CISCO-STP-EXTENSIONS-MIB on cat6500 catos 8.5.6.

It is working pretty well (portfast configuration is modified) but the portindex used on this OID is completely different to the ifindex of the IFMIB.

--

To resume, we can modify the portfast feature in a per port basis but we do not know what index is pointing to what port.

For example:

port 8/30 belongs to ifindex 311

--

IF-MIB::ifName.311 = STRING: 8/30

--

But there is no portindex 311 the stpxFastStartPortMode OID:

--

SNMPv2-SMI::enterprises.9.9.82.1.9.3.1.3.1 = INTEGER: 4

SNMPv2-SMI::enterprises.9.9.82.1.9.3.1.3.2 = INTEGER: 4

SNMPv2-SMI::enterprises.9.9.82.1.9.3.1.3.3 = INTEGER: 4

SNMPv2-SMI::enterprises.9.9.82.1.9.3.1.3.4 = INTEGER: 4

SNMPv2-SMI::enterprises.9.9.82.1.9.3.1.3.5 = INTEGER: 4

SNMPv2-SMI::enterprises.9.9.82.1.9.3.1.3.6 = INTEGER: 4

SNMPv2-SMI::enterprises.9.9.82.1.9.3.1.3.7 = INTEGER: 4

SNMPv2-SMI::enterprises.9.9.82.1.9.3.1.3.8 = INTEGER: 4

SNMPv2-SMI::enterprises.9.9.82.1.9.3.1.3.513 = INTEGER: 4

SNMPv2-SMI::enterprises.9.9.82.1.9.3.1.3.514 = INTEGER: 4

...

...

------

I have seen that stpxFastStartPortIndex OID should help as it should give the relationship betwen the ifname and the corresponding index in the stpxFastStartPortMode.

--

BUT this OID stpxFastStartPortIndex is flagged not-accessible on CCO SNMP navigator (http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.4.1.9.9.82.1.9.3.1.1)

--

We can not retrieve it via snmpget or snmpwalk.

--

The remaining question is how can we make the relationship between the ifname and the corresponding index used in stpxFastStartPortMode OID (as stpxFastStartPortIndex oid is not accessible)?

--

Many thanks for your help.

Regards/Ludovic.

I have this problem too.
0 votes
Correct Answer by Joe Clarke about 9 years 7 months ago

The MIB holds the key. In this case the index for the stpxFastStartPortTable is stpxFastStartPortIndex. The description of stpxFastStartPortIndex says that this is the same as the dot1dBasePort number from the BRIDGE-MIB. This bridge port can be mapped back to an ifIndex using the dot1dBasePortIfIndex object in the dot1dBasePortTable from the BRIDGE-MIB.

So, you should expect to see (for example, this may not be EXACTLY what you see):

BRIDGE-MIB::dot1dBasePortIfIndex.513 = 311

In this case, the stpxFastStartPortIndex of 513 maps to ifIndex 311.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Joe Clarke Fri, 05/11/2007 - 08:53

The MIB holds the key. In this case the index for the stpxFastStartPortTable is stpxFastStartPortIndex. The description of stpxFastStartPortIndex says that this is the same as the dot1dBasePort number from the BRIDGE-MIB. This bridge port can be mapped back to an ifIndex using the dot1dBasePortIfIndex object in the dot1dBasePortTable from the BRIDGE-MIB.

So, you should expect to see (for example, this may not be EXACTLY what you see):

BRIDGE-MIB::dot1dBasePortIfIndex.513 = 311

In this case, the stpxFastStartPortIndex of 513 maps to ifIndex 311.

loudo Tue, 05/15/2007 - 06:03

Many thanks for your quick reply. It answers perfectly our needs.

Regards/Ludovic.

Actions

This Discussion