122
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter C Commands
clear port-security dynamic
clear port-security dynamic
To clear port security information, use the clear port-security dynamic command.
clear port-security dynamic {address MAC-addr vlan vlan-ID | interface {ethernet
slot/[QSFP-module/]port [vlan vlan-ID] | port-channel channel-num [vlan vlan-ID]}}
Syntax Description
Command Default None
Command Modes EXEC mode
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to clear the dynamically secured MAC address information:
switch# clear port-security dynamic address 0050.3e8d.6400 vlan 1
switch#
Related Commands
address MAC-addr Clears all dynamically secured MAC address information. The
MAC address can be in the format E.E.E.
vlan vlan-ID Clears all dynamically secured VLAN information. The range is
from 1 to 4094.
interface Clears all dynamically secured addresses on a port.
ethernet slot/[QSFP-module/]port Clears all dynamically secured addresses from an Ethernet port.
The slot number is from 1 to 255. The QSFP-module number is
from 1 to 4. The port number is from 1 to 128.
Note The QSFP-module number applies only to the QSFP+
Generic Expansion Module (GEM).
port-channel channel-num Clears all dynamically secured addresses from an EtherChannel.
The range is from 1 to 4096.
Release Modification
6.0(2)N1(1) Support for the QSFP+ GEM was added.
5.2(1)N1(1) This command was introduced.
Command Description
show port-security Displays the port security configuration information.
switchport
port-security
Configures the switchport parameters to establish port security.