Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎02-11-2019 07:25 AM
Hi,
I am writing an utility that queries switches for mac address table and log what mac address is in what port, port alias, pvid and mac vlan id etc.
On SecureStack EOS, I can get mac address - vlan table for given vlan id with this oid ".1.3.6.1.2.1.17.7.1.2.2.1.2" plus adding vlan id end of oid, like this (for vlan 100):
snmpbulkwalk -r 2 -t 3 -v2c -OnQ -c public 10.110.1.1 .1.3.6.1.2.1.17.7.1.2.2.1.2.100
This lists the fdb mac address entries for vlan 100. Our HP 2560 series switces also works with this oid. Cisco has some weird method, you need to add @VLANID to snmp communtiy to query per vlan, like this:
snmpbulkwalk -r 2 -t 3 -v2c -OnQ -c public@100 10.110.1.50 .1.3.6.1.2.1.17.4.3.1.2
Cisco OID is different too; .1.3.6.1.2.1.17.4.3.1.2
So, how can I query fdb mac address table per vlan with EXOS? What is the correct OID? Niether standard OID not the C,sco OID works with EXOS (ver. 16.x and 22.x).
Regards,
Rahman
I am writing an utility that queries switches for mac address table and log what mac address is in what port, port alias, pvid and mac vlan id etc.
On SecureStack EOS, I can get mac address - vlan table for given vlan id with this oid ".1.3.6.1.2.1.17.7.1.2.2.1.2" plus adding vlan id end of oid, like this (for vlan 100):
snmpbulkwalk -r 2 -t 3 -v2c -OnQ -c public 10.110.1.1 .1.3.6.1.2.1.17.7.1.2.2.1.2.100
This lists the fdb mac address entries for vlan 100. Our HP 2560 series switces also works with this oid. Cisco has some weird method, you need to add @VLANID to snmp communtiy to query per vlan, like this:
snmpbulkwalk -r 2 -t 3 -v2c -OnQ -c public@100 10.110.1.50 .1.3.6.1.2.1.17.4.3.1.2
Cisco OID is different too; .1.3.6.1.2.1.17.4.3.1.2
So, how can I query fdb mac address table per vlan with EXOS? What is the correct OID? Niether standard OID not the C,sco OID works with EXOS (ver. 16.x and 22.x).
Regards,
Rahman
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎02-18-2019 11:29 AM
It seesms there is no way to get fdb table for specific VLAN. So query all fdb table and get mac addresses per vlan inside python code.
Regards,
Rahman
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎02-18-2019 11:29 AM
It seesms there is no way to get fdb table for specific VLAN. So query all fdb table and get mac addresses per vlan inside python code.
Regards,
Rahman
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎02-14-2019 10:17 PM
I have not experimented with this yet on the Extreme platform, However, I do believe this will get you the complete table
1.3.6.1.4.1.1916.1.16.1
I'm going to see what I can play with to get specific VLANS.
Hope this helps a bit.
1.3.6.1.4.1.1916.1.16.1
I'm going to see what I can play with to get specific VLANS.
Hope this helps a bit.
