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

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

configuring a static mac address

Hi guys i just configured a mac address in a specific vlan to be droped. The configuration was as follows:

switch#mac address-table static 1c-bd-b9-d7-66-57 vlan 3 drop

At first the command didnt work because i had configure port security on that port after removing the port security the mac address was changed to static and droped.

when i want to remove the configurations i put switch#no mac address-table static 1c-bd-b9-d7-66-57  vlan 3 drop.

what i get is that the mac address cannot be found.How do i go about it?

Thank you.

Cisco Employee

Hello Kevin,

Hello Kevin,

After you remove the static command (drop) , the mac address should be dynamically learned again only if switch receives any frame with given source MAC. Can you please send some traffic from the attached device (source MAC of 1c-bd-b9-d7-66-57) and check following commands again from switch? 

- show mac address-table interface <where the device is attached to>

-show mac address-table | i 6657

- show mac address-table static | i 6657

- show run | i mac address-table static

- show run interface <where the device is attached to>


If the switch fails to learn the MAC even after receiving frame from the device, then it could be buggy. For testing purpose, you ca try deleting and adding back Vlan 3 in Vlan database and see f that makes any difference. 

Please rate the post if helpful


CreatePlease login to create content