Removing a Static Secure MAC Address on an Interface
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 Static Secure MAC Address on an Interface
You can remove a static secure MAC address on a Layer 2 interface.
SUMMARY STEPS
1. configure terminal
2. Enter one of the following commands:
3. no switchport port-security mac-address address
4. (Optional) show running-config port-security
5. (Optional) copy running-config startup-config
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)#
Step 3
no switchport port-security mac-address address
Example:
switch(config-if)# no switchport port-security
mac-address 0019.D2D0.00AE
Step 4
(Optional) show running-config port-security
Example:
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
316
• interface ethernet slot/port
• interface port-channel channel-number
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 static secure MAC address.
Removes the static secure MAC address from port security
on the current interface.
Displays the port security configuration.
Configuring Port Security