+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
3. Configure the correspondence between the MAC address and the VLAN
4. Configure the correspondence between the Protocols and the VLAN
1. Configure the MAC-based VLAN function on the port
2. Set the VLAN to MAC VLAN
3. Configure the correspondence between the MAC address and the VLAN
4. Configure the correspondence between the Protocols and the VLAN
16.6.3 Typical Application of the Dynamic VLAN
Scenario:
In the office network Department A belongs to VLAN100. Several members of this department
switchport mac-vlan enable
no switchport mac-vlan enable
Enable/disable the MAC-based VLAN function on
the port.
mac-vlan vlan <vlan-id>
no mac-vlan
Configure the specified VLAN to MAC VLAN; the
“no mac-vlan” command cancels the MAC VLAN
configuration of this VLAN.
mac-vlan mac <mac-addrss> vlan
<vlan-id> priority <priority-id>
no mac-vlan {mac <mac-
addrss>|all}
Add/delete the correspondence between the MAC
address and the VLAN, namely specified MAC
address join/leave specified VLAN.
protocol-vlan etype <etype-id> vlan
<vlan-id>
no protocol-vlan {etype <etype-id>
vlan <vlan-id>|all}
Add/delete the correspondence between the
Protocols and the VLAN, namely specified protocol
joins/leaves specified VLAN.