Clear Port-Security - Cisco Nexus 7000 Series Command Reference Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

C Commands

clear port-security

To clear a single, dynamically learned, secure MAC address or to clear all dynamically learned, secure MAC
addresses for a specific interface, use the clear port-security command.
clear port-security dynamic interface ethernet slot / port [vlan vlan-id]
clear port-security dynamic interface port-channel channel-number [vlan vlan-id]
clear port-security dynamic address address [vlan vlan-id]
Syntax Description
dynamic
interface
ethernet slot/port
vlan vlan-id
port-channel channel-number
address address
Command Default
None
Command Modes
Any command mode
Command History
Release
4.2(1)
4.0(1)
Specifies that you want to clear dynamically learned,
secure MAC addresses.
Specifies the interface of the dynamically learned,
secure MAC addresses that you want to clear.
Specifies the Ethernet interface of the dynamically
learned, secure MAC addresses that you want to clear.
(Optional) Specifies the VLAN of the secure MAC
addresses to be cleared. Valid VLAN IDs are from 1
to 4096.
Specifies the port-channel interface of the dynamically
learned, secure MAC addresses that you want to clear.
Specifies a single MAC address to be cleared, where
address is the MAC address, in dotted hexadecimal
format.
Modification
Support was added for port-security on port-channel interfaces.
This command was introduced.
Cisco Nexus 7000 Series Security Command Reference
clear port-security
75

Advertisement

Table of Contents
loading

Table of Contents