11-02-2022 10:25 AM
So a Im trying to get a list of MAC addresses using the command
sh mac address-table | e Gi1/0/25 | Gi1/0/13 | Gi1/0/4
But i dont want to see these 3 ports in specific, the way this command is entered right now it only excludes Gi1/0/4 and i still see in the list the other 2. What would be the correct syntax for the results i need ?
Solved! Go to Solution.
11-02-2022 01:02 PM
how about without space like below ? ( before pipe and after pipe no space)
sh mac address-table | exclude Gi1/0/25|Gi1/0/13|Gi1/0/4
11-02-2022 01:02 PM
how about without space like below ? ( before pipe and after pipe no space)
sh mac address-table | exclude Gi1/0/25|Gi1/0/13|Gi1/0/4
11-02-2022 01:06 PM
Thank you, this option worked, I tried a whole different combinations I don't know why this one never occurred to me.
Thanks again
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