secure-mac-address
Configures secure MAC addresses on tagged and untagged interfaces.
Command Default
Secure MAC addresses are not configured.
Parameters
Modes
Port security interface configuration mode
Usage Guidelines
When specifying a secure MAC address on a tagged interface, you must also specify the VLAN ID.
Note: If MAC port security is enabled on a port and you change the VLAN membership of the
port, make sure that you also change the VLAN ID specified in the
secure-mac-address configuration statement for the port.
When a secure MAC address is applied to a tagged port, the VLAN ID is generated for both tagged and untagged ports. When you display the configuration, you see an entry for the secure MAC addresses.
The
no form of the command removes the configured secure MAC address.