mac-address table entries

Unanswered Question
Feb 25th, 2007

If I need to tie a MAC address to a particular port on an IOS based 6509 should I use the "mac-address-table dynamic " or the "mac-address-table static" command?

What does one command buy me over the other?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Rajat Chauhan Sun, 02/25/2007 - 17:36

Hi Ten,

To statically bind a MAC to a port, we use the "mac-address-table static" command with the MAC and the interface details following it.

As such, there is no command like "mac-address-table dynamic" that you can use to bind a MAC to a port. But, we can use the "dynamic" option with "clear" and "show" commands, i.e we can either clear the dynamically learned MAC from CAM or display them.

Hope that helps. Please post as applicable.


Rajat Chauhan

abhishek_nandavat Sun, 02/25/2007 - 21:13


Use the following commands to bind a specific MAC address to a port:

- conf t

- mac address-table static vlan interface

You can verify by having a look at the mac address table by giving the following command:

- show mac address-table static.

Using the other command, you can specify rules for behavior of dynamically learnt mac addresses.

Hope this helps...



Please rate all helpful posts!


This Discussion