17.8 Configuration of MAC VLANs
17.8.1 List of configuration commands
The following table describes the commands use to configure MAC VLANs.
Table 17-12 List of configuration commands
Command name
mac-address
switchport mac-vlan
switchport mode
switchport trunk
vlan mac-based
17.8.2 Configuring MAC VLANs
The following explains how to set a MAC VLAN. It includes an example for setting the MAC
address belonging to MAC VLANs and VLANs by configuration. For details about linkage
with Layer 2 authentication, see Configuration and Operation for each authentication
method in the Configuration Guide Vol. 2.
The figure below shows example settings for Switch 1. Port 0/1 is set for MAC VLAN 10.
Port 0/2 is set for MAC VLANs 10 and 20, and port 0/3 is set for MAC VLAN 20. Note that
terminal D, for which no MAC address is registered, is connected to port 0/3.
Description
Sets the MAC address, by configuration, for terminals belonging
to VLANs for a MAC VLAN.
Sets the VLAN of a MAC port.
Sets the port type (MAC or trunk).
Sets the VLAN for a trunk port.
Creates a MAC VLAN. Also, sets items pertaining to a VLAN in
VLAN configuration mode.
17 VLANs
275