06-22-2002 09:29 AM - edited 03-01-2019 10:21 PM
I'm writing some Perl script including SNMP and I'm interested to know if there is a MIB value(s) that provides the equivalent of 'show CAM Dynamic 3/4' on a Cisco switch. I am aware of the following link http://www.cisco.com/warp/public/477/SNMP/cam_snmp.shtml however this information seems extremely complex to provide the MAC addresses on one port. Any ideas?
switch> show cam dynamic 4/4
VLAN Dest MAC/Route Des Destination Ports or VCs
---- ------------------ ----------------------------------------------------
6 08-00-20-76-28-93 4/4
Total Matching CAM Entries Displayed = 1
switch>
06-22-2002 09:29 PM
The tech tip that you've mentioned above is the only way to get the info you're looking for via SNMP.
04-18-2013 09:10 AM
I am also attempting to see the dynamic learned mac addresses on my switch, but the OID "1.3.6.1.2.1.17.4.3.1.1" , found in the references to this and other similar posts only show bridge addresses and info such as root bridge (etc), not dynamic learned macs associated with traffic.
dot1dBridge(17)
dot1dTp(4)
dot1dTpFdbTable(3)
dot1dTpFdbEntry(1)
dot1dTpFdbAddress(1)
0.13.41.12.240.52 0:D:29:C:F0:34
196.100.19.4.126.147 C4:64:13:4:7E:93 dot1dBridge(17)
dot1dTp(4)
dot1dTpFdbTable(3)
dot1dTpFdbEntry(1)
dot1dTpFdbAddress(1)
0.13.41.12.240.52 0:D:29:C:F0:34 <-- This is a cisco bridge address
196.100.19.4.126.147 C4:64:13:4:7E:93
I've walked the entire bridge-mib and bridge-ext mib and not found my 450+ LAN Mac addresses.
Any hope?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide