I want to use the show mac-address commad to list all devices connected to a Cisco switch 3750. However, I want to filter the list by excluding the MAC addresses that have a particular port that I have previously identified (they are access ports)
For example, to exclude all MACs that have port Gi1/0/49 I run the following coomand:
show mac-address dynamic | exclude Gi1/0/49
My question is, how can I filter two ports at the same time?
For example, now I want to remove the MACs from ports Gi1/0/49 and Gi2/0/50. What command do I use to exclude both at the same time? Something like show mac-address dynamic | exclude Gi1/0/49 and Gi2/0/50.
Thanks in advance,