port-access port-security client-limit
Syntax
port-access port-security client-limit <CLIENTS>
no port-access port-security client-limit
Description
Configures the maximum number of clients that are allowed on a port. After configuring the maximum clients limit, the MAC addresses of the clients can be learned by one of the following methods:
- User can manually configure all MAC addresses by using the
mac-address
command. - User can allow the port to dynamically learn all MAC addresses.
- User can configure a fixed number of MAC addresses and allow the switch to learn the remaining addresses dynamically.
The
no
form of the command resets the number of clients to the default, 1.
Command context
config-if
Parameters
<CLIENTS>
Specifies the maximum number of clients. Default: 1. Range: 1 to 64 (6300, 6400).
Authority
Administrators or local user group members with execution rights for this command.
Examples
Configuring client limit on a port:
switch(config-if)# port-access port-security enable switch(config-if-port-security)# client-limit 64