Users Guide

Table Of Contents
Supported
Releases
10.5.1.0 or later
switchport port-security (global)
Enables the port security feature on the system globally.
Syntax
switchport port-security
Parameters
None
Default Port security is enabled globally.
Command Mode
CONFIGURATION
Usage
Information
After you enable the port security feature on the system globally, enable port security on the required
interfaces using this command in INTERFACE CONFIGURATION mode.
The no version of this command disables the port security feature on the system.
Example
OS10(config)# no switchport port-security
Supported
Releases
10.5.1.0 or later
sticky
Enables sticky MAC address learning or converts existing dynamic MAC addresses as sticky.
Syntax
sticky
Parameters
None
Default Disabled
Command Mode
CONFIGURATION-PORT-SECURITY
Usage
Information
This command enables sticky MAC address learning or converts existing dynamic MAC addresses as
sticky. Sticky MAC addresses persist system reloads.
For the sticky MAC feature to function, enable MAC address learning limit using the mac learn-limit
command.
Example
OS10(config-if-port-sec)# sticky
Supported
Releases
10.5.1.0 or later
aging
Enables the aging timer for dynamically-learned MAC addresses on an interface that is configured with port security.
Syntax
aging {off | on}
Parameters
None
Default Dynamically-learned MAC addresses on an interface that is configured with port security do not age out.
Command Mode
CONFIGURATION-PORT-SECURITY
Usage
Information
Secure sticky MAC addresses never age out.
Security 1203