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

mac-address table entries

ten
Level 1
Level 1

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?

2 Replies 2

Rajat Chauhan
Cisco Employee
Cisco Employee

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.

Regards

Rajat Chauhan

Hi,

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...

Regards,

AbhisheK

Please rate all helpful posts!