10-07-2007 01:10 PM - edited 03-05-2019 06:56 PM
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
10-07-2007 02:10 PM
Hi,
please try the following at the interface level:
int e0/1 (example)
no switchport port-security
HTH
Mohamed Sobair
10-07-2007 02:39 PM
Hi,
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.
10-07-2007 03:28 PM
Hi,
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).
HTH
Mohamed Sobair
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