EasyManua.ls Logo

Cisco Nexus 7000 Series - Switchport Port-Security Mac-Address Sticky

Cisco Nexus 7000 Series
1018 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...
switchport port-security mac-address sticky
To enable the sticky method for learning secure MAC addresses on a Layer 2 Ethernet interface or Layer 2
port-channel interface, use the switchport port-security mac-address sticky command. To disable the sticky
method and return to the dynamic method, use the no form of this command.
switchport port-security mac-address sticky
no switchport port-security mac-address sticky
Syntax Description
This command has no arguments or keywords.
Command Default
The sticky method of secure MAC address learning is disabled by default.
Command Modes
Interface configuration
Command History
ModificationRelease
Support for Layer 2 port-channel interfaces was added.4.2(1)
This command was introduced.4.0(1)
Usage Guidelines
You must enable port security by using the feature port-security command before you can use the switchport
port-security mac-address sticky command.
Before using this command, you must use the switchport command to configure the interface to operate as
a Layer 2 interface.
This command does not require a license.
Examples
This example shows how to enable the sticky method of learning secure MAC addresses on the Ethernet 2/1
interface:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# switchport port-security mac-address sticky
switch(config-if)#
Related Commands
DescriptionCommand
Enables port security globally.feature port-security
Shows information about port security.show port-security
Cisco Nexus 7000 Series Security Command Reference
681
S Commands
switchport port-security mac-address sticky

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals