EasyManua.ls Logo

Cisco Nexus 9000 Series - Adding a Static Secure MAC Address on an Interface

Cisco Nexus 9000 Series
562 pages
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...
interface ethernet slot/port
interface port-channel channel-number
3. switchport
4. [no] switchport port-security mac-address sticky
5. (Optional) show running-config port-security
6. (Optional) copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Step 1
switch# configure terminal
switch(config)#
Enters interface configuration mode for the interface that
you want to configure with sticky MAC address learning.
Enter one of the following commands:
Step 2
interface ethernet slot/port
interface port-channel channel-number
Example:
switch(config)# interface ethernet 2/1
switch(config-if)#
Configures the interface as a Layer 2 interface.switchport
Example:
Step 3
switch(config-if)# switchport
Enables sticky MAC address learning on the interface. The
no option disables sticky MAC address learning.
[no] switchport port-security mac-address sticky
Example:
Step 4
switch(config-if)# switchport port-security
mac-address sticky
Displays the port security configuration.(Optional) show running-config port-security
Example:
Step 5
switch(config-if)# show running-config
port-security
Copies the running configuration to the startup
configuration.
(Optional) copy running-config startup-config
Example:
Step 6
switch(config-if)# copy running-config
startup-config
Adding a Static Secure MAC Address on an Interface
You can add a static secure MAC address on a Layer 2 interface.
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
314
Configuring Port Security
Adding a Static Secure MAC Address on an Interface

Table of Contents

Other manuals for Cisco Nexus 9000 Series

Related product manuals