Removing A Sticky Secure Mac Address - Cisco Nexus 9000 Series Configuration Manual

Nx-os security configuration guide, release 9.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring Port Security
Command or Action
switch(config-if)# show running-config
port-security
Step 5
(Optional) copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config

Removing a Sticky Secure MAC Address

You can remove a sticky secure MAC address, which requires that you temporarily disable sticky address
learning on the interface that has the address that you want to remove.
Before you begin
You must have enabled port security globally.
SUMMARY STEPS
1. configure terminal
2. Enter one of the following commands:
3. no switchport port-security mac-address sticky
4. clear port-security dynamic address address
5. (Optional) show port-security address interface {ethernet slot/port | port-channel channel-number}
6. (Optional) switchport port-security mac-address sticky
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
Enter one of the following commands:
• interface ethernet slot/port
• interface port-channel channel-number
Example:
switch(config)# interface ethernet 2/1
switch(config-if)#
• interface ethernet slot/port
• interface port-channel channel-number
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
Removing a Sticky Secure MAC Address
Purpose
Copies the running configuration to the startup
configuration.
Purpose
Enters global configuration mode.
Enters interface configuration mode for the interface from
which you want to remove a sticky secure MAC address.
317

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents