>>>>> Mike Craik writes:
Mike> switchy#show mac-address-table
[...]
Mike> How you enumerate this information will depend on the make/model
Mike> of you switch.
You can also grab scli <http://www.ibr.cs.tu-bs.de/projects/scli/>
which supports the BRIDGE-MIB (which is supported by most bridges):
$ scli -c "show bridge forwarding" myswitch
PORT STATUS ADDRESS NAME VENDOR
1 learned 00:04:dc:xx:xx:xx
1 learned 00:60:1d:xx:xx:xx foo
1 learned 00:80:c8:xx:xx:xx bar
2 learned 00:02:2d:xx:xx:xx
Usually, the port number is the same as the interface number. There
are additional scli commands that let you dive deeper into the details
if you have to.
/js
--
Juergen Schoenwaelder <http://www.informatik.uni-osnabrueck.de/schoenw/>
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe