09-16-2024 09:42 AM
I'm looking for a way to get MAC addresses on a specific port that doesn't include all possible ports.
For example, I want all mac addresses listed on port Gi1/0/2. I don't want MAC addresses listed for ports 20-29, just 2.
"sh mac add | i Gi1/0/2" does not accomplish this - it gives me MAC addresses for all the 20's ports also. Is there a way to only get the info for port 2?
Solved! Go to Solution.
09-16-2024 09:52 AM
09-16-2024 09:52 AM
Try this
sh mac add interface Gi1/0/2
MHM
09-16-2024 10:35 AM
Perfect, thank you!
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