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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

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

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: MIB CISCO-STP-EXTENSIONS-MIB / stpxFastStartPortIndex not-ac

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.

2 REPLIES
Cisco Employee

Re: MIB CISCO-STP-EXTENSIONS-MIB / stpxFastStartPortIndex not-ac

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.

New Member

Re: MIB CISCO-STP-EXTENSIONS-MIB / stpxFastStartPortIndex not-ac

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

Regards/Ludovic.

571
Views
0
Helpful
2
Replies