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

MAC Notification Traps and Dot1d interface mapping problem

Hi,

We have a customer with several Catalyst 3750s running IOS 12.2. They would like to enable MAC Notification Traps. Once enabled, we can see the MAC Notification traps being sent to our snmp host. The packet for the trap contains the MAC address, and the port. The port contained in the packet appears to always be the dot1dBasePort Index.

The problem is we attempt to resolve the dot1dBasePortIndex from the trap to the ifIndex by doing a lookup of the ifIndex mapping in the dot1dBasePortTable. For these particular devices, the dot1dBasePortTable doesn't appear to contain all of the ports for the device. Thus we cannot make the mapping to the ifIndex for the ports that are missing from this table.

Does anyone know why the dot1dBasePortTable wouldn't contain all of the physical interfaces for these devices?

They are stacked if that is a consideration.

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: MAC Notification Traps and Dot1d interface mapping problem

You need to use community string indexing to get all of the ports. For example, if your community string is public, and a port is in VLAN 6, you will need to walk dot1dBasePortTable with the string public@6.

3 REPLIES
Cisco Employee

Re: MAC Notification Traps and Dot1d interface mapping problem

You need to use community string indexing to get all of the ports. For example, if your community string is public, and a port is in VLAN 6, you will need to walk dot1dBasePortTable with the string public@6.

New Member

Re: MAC Notification Traps and Dot1d interface mapping problem

Yup.. That was it. Thanks. I never would have figured that one out.. Just out of curiosity, do you know why cisco does this? Makes it awefully difficult to just walk the dot1d table.

Cisco Employee

Re: MAC Notification Traps and Dot1d interface mapping problem

The BRIDGE-MIB was created before the age of VLANs. In order to handle multiple instances of the MIB (one per VLAN/STP instance) we had to introduce community string indexing. This isn't necessary with SNMPv3 as there is a standard way of accessing multiple instance MIBs (SNMPv3 contexts).

720
Views
0
Helpful
3
Replies