Command Mode
Interface Configuration (Ethernet, port-channel) mode
Command Usage
This command is only relevant in dynamic learning modes.
Example
In this example, the maximum number of addresses that are learned on port 1/e7
before it is locked is set to 20.
Console(config)#
Console(config-if)#
Console(config-if)#
Related Commands
port security mode
show ports security
port security routed secure-address
The
port security routed secure-address
port-channel) mode command adds a MAC-layer secure address to a routed port.
Use the
form of this command to delete a MAC address.
no
Syntax
port security routed secure-address
no port security routed secure-address
Parameters
• mac-address — A valid MAC address.
Default Setting
No addresses are defined.
Command Mode
Interface Configuration (Ethernet, port-channel) mode. Cannot be configured
for a range of interfaces (range context).
Command Usage
The command enables adding secure MAC addresses to a routed port in port
security mode. The command is available when the port is a routed port and in
port security mode. The address is deleted if the port exits the security mode
or is not a routed port.
interface ethernet
port security mode dynamic
port security max
Address Table Commands
1/e7
20
Interface Configuration (Ethernet,
mac-address
mac-address
4
323