Chapter 5: Switching Commands 541
no port-security
max-dynamic
This command resets the maximum number of dynamically locked MAC
addresses allowed on a specific port to its default value.
port-security max-
static
This command sets the maximum number of statically locked MAC addresses
allowed on a port
. The valid range is 0–20.
no port-security
max-static
This command sets maximum number of statically locked MAC addresses to the
default value.
port-security mac-
address
This command adds a MAC address to the list of statically locked MAC
addresses for an interface or range of interfaces. The
vid is the VLAN ID.
no port-security
mac-address
This command removes a MAC address from the list of statically locked MAC
addresses.
Mode Interface Config
Format
no port-security max-dynamic
Mode Interface Config
Default 1
Format
port-security max-static
maxvalue
Mode Interface Config
Format
no port-security max-static
Mode Interface Config
Format
port-security mac-address
mac-address vid
Mode Interface Config