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.