Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Certification Preparation
Cisco
CCST & CCNA (Entry-level & Associate)
Switch ports
twiggy87
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
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
Humper
The 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.
PCHoldmann
You 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
Peter
Humper
the include option is not really necessary as I have found out
show mac-address-table address xxxx-yyyy-zzzz works just as well
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS