29
Address Table Commands
switchxxxxxx(config-if)port security mode lock
switchxxxxxx(config-if)port security
switchxxxxxx(config-if)exit
29.24 port security max
Use the port security max Interface Configuration (Ethernet, Port-channel) mode
command to configure the maximum number of addresses that can be learned on
the port while the port is in port, max-addresses or secure mode. Use the no form
of this command to restore the default configuration.
Syntax
max-addr
port security max
no port security max
Parameters
max-addr—Specifies the maximum number of addresses that can be learned on
the port. (Range: 0–256)
Default Configuration
This default maximum number of addresses is 1.
Command Mode
Interface Configuration (Ethernet, Port-channel) mode
User Guidelines
The command may be used only when the interface in the regular (non-secure
with unlimited MAC learning) mode.
Use this command to change the default value before the
port security
command.
Example
The following example sets the port to limited learning mode:
switchxxxxxx(config)#
interface gi7
switchxxxxxx(config-if)
port security mode max
432
78-21075-01 Command Line Interface Reference Guide