Switch ports
twiggy87
Inactive Imported Users Posts: 43 ■■□□□□□□□□
in CCNA & CCENT
I am in need of some assistance here. How would you go about finding which port a mac address gets forwarded out of? Say I was given a list of mac addresses and a switch what command/s would I use?
I thought
Show spantree
Show mac-address-table
Are there any others?
Thanks
I thought
Show spantree
Show mac-address-table
Are there any others?
Thanks
If my answers frighten you then you should cease asking scary questions.
Comments
-
Humper Member Posts: 647The only one I can think of
show mac-address-table
You could also use show arp which gives you the IP addresses and mac-addresses in the ARP table. Again, you would go back to using show-mac-address-table to identify which port that IP/MAC address is tied too.Now working full time! -
PCHoldmann Member Posts: 450You can use
show mac-address-table | include xxxx-yyyy-zzzz
where xxxx-yyyy-zzzz is one of the MAC addresses you are looking for. This will give you only the line for that MAC.
You can also use SNMP and a tool like Switch Port Mapper from Solarwinds (www.solarwinds.net, not free, but they also have some free tools)
HTH
PeterThere's no place like ^$
Visit me at Route, Switch, Blog -
Humper Member Posts: 647the include option is not really necessary as I have found out
show mac-address-table address xxxx-yyyy-zzzz works just as wellNow working full time!