CLI Command Reference
port-security max-static
This command sets the maximum number of statically locked MAC addresses allowed on a port.
Default
Format
Mode
no port-security max-static
This command sets maximum number of statically locked MAC addresses to the default value.
Format
Mode
port-security mac-address
This command adds a MAC address to the list of statically locked MAC addresses. The
is the VLAN ID.
Format
Mode
no port-security mac-address
This command removes a MAC address from the list of statically locked MAC addresses.
Format
Mode
port-security mac-address move
This command converts dynamically locked MAC addresses to statically locked addresses.
Format
Mode
show port-security
This command displays the port-security settings. If you do not use a parameter, the command
displays the settings for the entire system. Use the optional parameters to display the settings
on a specific interface or on all interfaces.
Format
Mode
Admin Mode Port Locking mode for the entire system. This field displays if you do not sup-
For each interface, or for the interface you specify, the following information appears:
Admin Mode Port Locking mode for the Interface.
104
© 2001- 2008 D-Link Corporation/D-Link Systems, Inc. All Rights Reserved.
20
port-security max-static <maxvalue>
Interface Config
no port-security max-static
Interface Config
port-security mac-address <mac-address> <vid>
Interface Config
no port-security mac-address <mac-address> <vid>
Interface Config
port-security mac-address move
Interface Config
show port-security [{<slot/port> | all}]
Privileged EXEC
ply any parameters.
<vid>