2-90Cisco Catalyst Blade Switch 3130 and 3032 for Dell Command ReferenceOL-13271-03Chapter 2 Cisco Catalyst Blade Switch 3130 and 3032 for Dell Cisco IOS Commandsclear port-securityclear port-securityUse the clear port-security privileged EXEC command on the switch stack or on a standalone switchto delete from the MAC address table all secure addresses or all secure addresses of a specific type(configured, dynamic, or sticky) on the switch or on an interface.clear port-security {all | configured | dynamic | sticky} [[address mac-addr | interfaceinterface-id] [vlan {vlan-id | {access | voice}}]]Syntax DescriptionDefaults No default is defined.Command Modes Privileged EXECCommand HistoryExamples This example shows how to clear all secure addresses from the MAC address table:Switch# clear port-security allThis example shows how to remove a specific configured secure address from the MAC address table:Switch# clear port-security configured address 0008.0070.0007all Delete all secure MAC addresses.configured Delete configured secure MAC addresses.dynamic Delete secure MAC addresses auto-learned by hardware.sticky Delete secure MAC addresses, either auto-learned or configured.address mac-addr (Optional) Delete the specified dynamic secure MAC address.interface interface-id (Optional) Delete all the dynamic secure MAC addresses on the specifiedphysical port or VLAN.vlan (Optional) Delete the specified secure MAC address from the specifiedVLAN. Enter one of these options after you enter the vlan keyword:• vlan-id—On a trunk port, specify the VLAN ID of the VLAN on whichthis address should be cleared.• access—On an access port, clear the specified secure MAC address onthe access VLAN.• voice—On an access port, clear the specified secure MAC address onthe voice VLAN.Note The voice keyword is supported only if voice VLAN is configuredon a port and if that port is not the access VLAN.Release Modification12.2(40)EX1 This command was introduced.