Qtech QSW-3300-28F-AC-AC [483/693] Port security mac address sticky

Qtech QSW-3300-28F-AC-AC [483/693] Port security mac address sticky
Port Security Commands
Software User Manual
CLI Command Reference
Page 500
port-security mac-address sticky
This command enables sticky mode Port MAC Locking on a port. If accompanied by a MAC address and a
VLAN id (for interface config mode only), it adds a sticky MAC address to the list of statically locked MAC
addresses. These sticky addresses are converted back to dynamically locked addresses if sticky mode is
disabled on the port. The <vid> is the VLAN ID. The Global command applies the “sticky” mode to all valid
interfaces (physical and LAG). There is no global sticky mode as such.
Sticky addresses that are dynamically learned will appear in
show running-config as “port-security mac-address
sticky <mac> <vid>” entries. This distinguishes them from static entries.
Example:
The following shows an example of the command.
(Switching)(Config)# port-security mac-address sticky
(Switching)(Interface)# port-security mac-address sticky
(Switching)(Interface)# port-security mac-address sticky
00:00:00:00:00:01 2
no port-security mac-address sticky
The no form removes the sticky mode. The sticky MAC address can be deleted by using the command “no port-
security mac-address <mac-address> <vid>”.
show port-security
This command displays the port-security settings for the port(s). If you do not use a parameter, the command
displays the Port Security Administrative mode. Use the optional parameters to display the settings on a
specific interface or on all interfaces. Instead of
unit/slot/port, lag lag-intf-num can be used as an alternate
way to specify the LAG interface.
lag lag-intf-num can also be used to specify the LAG interface where lag-
intf-num
is the LAG port number.
Format
port-security mac-address sticky [<mac-address> <vid>]
Mode Global Config
Interface Config
Format
no port-security mac-address sticky [<mac-address> <vid>]
Mode Global Config
Interface Config
Format
show port-security [{unit/slot/port | all}]
Mode Privileged EXEC
Term Definition
Admin Mode Port Locking mode for the entire system. This field displays if you do not supply any
parameters.

Содержание

Скачать