02-25-2007 09:10 AM - edited 03-05-2019 02:33 PM
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?
02-25-2007 05:36 PM
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
02-25-2007 09:13 PM
Hi,
Use the following commands to bind a specific MAC address to a port:
- conf t
- mac address-table static
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!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide