cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1995
Views
0
Helpful
2
Replies

Logging mac address

newbie
Level 1
Level 1

Is there a command log mac address that are coming into a port. Sort of like a tcp dump. I want to see all mac address coming into a port not just the staic burned in mac coming form a remote system connected to that port.

2 Replies 2

Collin Clark
VIP Alumni
VIP Alumni

How about this command?

show mac-address-table dynamic interface Gi13/13

jacobuecker
Level 1
Level 1

Do you need to know what the mac addresses are in real-time? How many do you expect? Do you have access to an SNMP server?

The biggest problem is that the entries for mac-addresses in the CAM table only stay around for a short period of time, if they're not used. SNMP would allow you to poll that info on a regular basis.

Also, if this a layer 3 switch, you could use an ACL to traffic, as long as it hits the VLAN interface to get routed.

Review Cisco Networking products for a $25 gift card