Logging mac address

Unanswered Question
Oct 17th, 2008
User Badges:

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Collin Clark Fri, 10/17/2008 - 07:14
User Badges:
  • Purple, 4500 points or more

How about this command?

show mac-address-table dynamic interface Gi13/13

jacobuecker Fri, 10/17/2008 - 16:47
User Badges:

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.


This Discussion