11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>sclear port-securityclear port-securityUse the clear port-security privileged EXEC comm<strong>and</strong> on the switch stack or on a st<strong>and</strong>alone 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 Descriptionallconfigureddynamicstickyaddress mac-addrinterface interface-idvlanDelete all secure MAC addresses.Delete configured secure MAC addresses.Delete secure MAC addresses auto-learned by hardware.Delete secure MAC addresses, either auto-learned or configured.(Optional) Delete the specified dynamic secure MAC address.(Optional) Delete all the dynamic secure MAC addresses on the specifiedphysical port or 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 on thevoice VLAN.NoteThe voice keyword is available only if voice VLAN is configured ona port <strong>and</strong> if that port is not the access VLAN.DefaultsNo default is defined.Comm<strong>and</strong> ModesPrivileged EXECComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.OL-9776-08<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> Reference2-105

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!