Address Table Commands 111
Default Configuration
The default setting is 1 address.
Command Mode
Interface Configuration (Ethernet, port-channel) mode.
User Guidelines
This command is only relevant in dynamic learning modes.
Example
The following example sets the maximum number of addresses that are learned on port 1/e7 before it is
locked to 20.
port security routed secure-address
The port security routed secure-address Interface Configuration (Ethernet, port-channel) mode
command adds a MAC-layer secure address to a routed port. Use the no form of this command to delete
a MAC address.
Syntax
•
port security routed secure-address
mac-address
•
no port security routed secure-address
mac-address
•
mac-address
— A valid MAC address.
Default Configuration
No addresses are defined.
Command Mode
Interface configuration (Ethernet, port-channel) mode; cannot be configured for a range of interfaces
(range context).
Console(config)# interface ethernet 1/e7
Console(config-if)# port security mode dynamic
Console(config-if)# port security max 20
book.book Page 111 Thursday, December 18, 2008 7:40 PM