cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

show mac address-table interface <interface range>

Does anyone know of a way to dump all connected mac addresses connected to every port on a Cisco switch(3850s)?

What would be ideal would be something like the 'show mac address-table interface' command, but for an interface range rather than a specific interface:

This is the type of output I'm looking for, with each mac address listed for the port in question:
switchxxx#show mac address-table interface g3/0/11
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
xx2 28f1.xxxx.xxxx DYNAMIC Gi3/0/11
xx2 e089.xxxx.xxxx DYNAMIC Gi3/0/11
xx3 e089.xxxx.xxxx DYNAMIC Gi3/0/11
Total Mac Addresses for this criterion: 3
switchxxx#


I'm thinking I could script it, but curious if there's an easier way.

Thanks,
Jon

Who Me Too'd this topic