cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
673
Views
0
Helpful
1
Replies

dot1dBasePortTable only populated with those interfaces for which ifOperStatus is UP

Hi - hopefully a no brainer for someone more experienced than me.

Switch is a Catalyst 4503e, sysDescr shows " Catalyst 4500 L3 Switch Software (cat4500-ENTSERVICESK9-M), Version 12.2(53)SG1, RELEASE SOFTWARE (fc1)"

Using SNMP, I can retrieve the vlan information via vtpTable, vlanMembership,etc, so I know the ifIndexes for any given vlan. Using dot1dStatic and community string addressing, I can retrieve, per vlan, the dot1dStaticAllowedToGoTo for each mac address, which is a set of bits indicating which "port number" the packet will be forwarded to. And finally, there is the dot1dBasePortIfIndex which *should* allow me to connect a "port number" to the corresponding ifIndex. Except, it doesn't. The only entries in dot1dBaseTable are those (it seems) for which the corresponding ifOperStatus is UP. And in this case, it is pure luck that any of the interfaces are up, since most of them are generally connected to avionics equipment that may be powered down - and the purpose of the exercise is to highlight the situation where a mac address is configured to be forwarded to an interface that is down.

Is this a bug in this version of IOS? Anyone know of any workarounds? Advice appreciated!

1 Reply 1

rosaho
Level 3
Level 3

This discussion has been reposted from Developer Exchange to the Network Management community.