Specifications

switchport mac
136
When the change is applied
The change is applied immediately after setting values are changed.
Notes
1. If no valid MAC VLANs have been set, the port operates as an access port.
2. The
switchport mac dot1q vlan setting takes effect when switchport mode mac
is set.
3. If a VLAN is automatically assigned by automatic VLAN assignment of the Layer 2
authentication functionality to a MAC port subject to authentication and either of the
following occurs, the authentication cannot be canceled:
Setting in the applicable VLAN by using
switchport mac vlan or switchport
mac vlan add
Deletion in the applicable VLAN by using
no switchport mac or switchport
mac vlan remove
Related commands
switchport mode
vlan mac-based