Removing Static switchport security

Unanswered Question
Oct 7th, 2007
User Badges:

Hi All,

Seeking your help on how to remove a manually configured switchport security.

No clue given on the IOS help on this, i am running 2950 series.

The three commands known are only for dynamic entries i.e

# clear mac address-table dynamic

#clear mac address-table dynamic address aaaa.bbbb.cccc (mac-add)

#clear mac address-table dynamic int fa0/7 or the vlan number

Hence all these commands could not help me in removing the no longer wanted static entry.

Please help me with the command to accomplish this removal.

Kind Regards

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Mohamed Sobair Sun, 10/07/2007 - 14:10
User Badges:
  • Gold, 750 points or more


please try the following at the interface level:

int e0/1 (example)

no switchport port-security


Mohamed Sobair

newnetman Sun, 10/07/2007 - 14:39
User Badges:


Thanks a "terabyte" friend, it was successfully removed but the entry still shows up on #sh port-security address, while disabled on #sh port-security int fa0/7 as wanted.

Any idea to further remove it from the #show port-security address entry?

Most grateful mate.

Mohamed Sobair Sun, 10/07/2007 - 15:28
User Badges:
  • Gold, 750 points or more


The Switch might still stores the inactive mac entry at its MAC-table.

u can modify the timing for a Switch to store any (inactive mac address entry) by configuring:

(mac-address-table aging time xsec) where x is the number of seconds that a Switch can store any (inactive mac address entry).


Mohamed Sobair


This Discussion