EasyManua.ls Logo

Cisco CATALYST 2960 - Default Settings After Initial Switch Configuration; Default switch IP address, subnet mask, and default gateway is 0.0.0.0. For more information, see Chapter 3, “Assigning the Switch IP Address and Default Gateway,” and Chapter 20, “Configuring DHCP and IP Source Guard Features.”; DHCP client is enabled, the DHCP server is enabled (only if the device acting as a DHCP server is configured and is enabled), and the DHCP relay agent is enabled (only if the device is acting as a DHCP relay agent is configured and is enabled). For more information, see Chapter 3, “Assigning the Switch IP Address and Default Gateway,” and Chapter 20, “Configuring DHCP and IP Source Guard Features.”; No passwords are defined. For more information, see Chapter 5, “Administering the Switch.”

Cisco CATALYST 2960
714 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-37
Catalyst 2960 Switch Command Reference
78-16882-01
Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
clear port-security
clear port-security
Use the clear port-security privileged EXEC command to 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 | interface
interface-id] [vlan {vlan-id | {access | voice}}]]
Syntax Description
Defaults No default is defined.
Command Modes Privileged EXEC
Command History
Examples This example shows how to clear all secure addresses from the MAC address table:
Switch# clear port-security all
This example shows how to remove a specific configured secure address from the MAC address table:
Switch# clear port-security configured address 0008.0070.0007
all 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 specified
physical port or VLAN.
vlan (Optional) Delete the specified secure MAC address from the specified
VLAN. 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 which
this address should be cleared.
access—On an access port, clear the specified secure MAC address on
the access VLAN.
voice—On an access port, clear the specified secure MAC address on the
voice VLAN.
Note The voice keyword is available only if voice VLAN is configured on
a port and if that port is not the access VLAN.
Release Modification
12.2(25)FX This command was introduced.

Table of Contents

Other manuals for Cisco CATALYST 2960

Related product manuals