maximum (Port MAC Security)

Configures the maximum number of secure MAC addresses an interface can store when port MAC security is enabled.
Syntax
maximum max-num
no maximum max-num
Command Default

By default, when port MAC security is enabled, an interface can store one secure MAC address.

Parameters
max-num
The maximum number of secure MAC addresses that can be configured. The range is from 0 through 64, plus the total number of global resources available. The default is 1.
Modes

Port security configuration mode

Port security interface configuration mode

Usage Guidelines

Besides the maximum of 64 local resources available for an interface, 8192 additional global resources are shared among all interfaces on the device by default. The default system value of the global resources can be changed using the system-max pms-global-pool command. When an interface has secured enough MAC addresses to reach its configured limit for local resources, it uses the global resources to secure additional MAC addresses. Global resources are shared among all the interfaces on a first-come, first-served basis.

The no form of the command sets the maximum number of secure MAC addresses an interface can store to one.

Examples

The following example configures the maximum number of secure MAC addresses an interface can store as 50.

device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# port security
device(config-port-security-e1000-1/1/1)# maximum 50