Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Logging mac address

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

Re: Logging mac address

How about this command?

show mac-address-table dynamic interface Gi13/13

New Member

Re: Logging mac address

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.

391
Views
0
Helpful
2
Replies