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

SNMP incomplete dot1dBasePortIfIndex

ybertsch
Level 1
Level 1

Hi,

i'm trying to recover ports associated to mac addresses using SNMP.

All works fine on my cat 3500 switches :

"snmpwalk -c public <3500's IP> dot1dBasePortIfIndex"

lists all the ports corresponding to the indexes, but on my cat 4006 I only get the ports that correspond to the indexes of vlan trunk interfaces : I can't get ports numbers corresponding to 1-vlan interfaces.

As indicated here : http://www.cisco.com/warp/public/477/SNMP/cam_snmp.html I tried all 'public@<vlan_id>' for the community string but it doesn't solve the problem, I only get indexes of vlan trunks interfaces.

I'm using the IOS version 12.1(20)EW2. I'm not sure but I did not noticed this problem with the version I used some times ago (12.1(11b)EW).

Does anyone solved this problem ? Does an IOS upgrade would fix it ?

Thank you for your help !

Y.B.

1 Reply 1

drolemc
Level 6
Level 6

If you are working on using SNMP to find the Port to MAC address association, you could refer to http://www.cisco.com/en/US/partner/tech/tk648/tk362/technologies_tech_note09186a00801c9199.shtml

Review Cisco Networking for a $25 gift card