T3700G-28TQ
 
JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 
 
38 
Chapter 5  MAC-based VLAN Commands 
MAC VLAN (Virtual Local Area Network) is the way to classify the VLANs based on MAC Address. 
A MAC address is relative to a single VLAN ID. The untagged packets and the priority-tagged 
packets coming from the MAC address will be tagged with this VLAN ID. 
mac-vlan mac-address 
Description 
The mac-vlan mac-address command is used to create a MAC-based VLAN 
entry. To delete a MAC-based VLAN entry, please use the no mac-vlan 
mac-address command. 
Syntax 
mac-vlan mac-address mac-addr vlan vlan-id [description descript] 
no mac-vlan mac-address mac-addr 
Parameter 
mac-addr —— MAC address, in the format of XX:XX:XX:XX:XX:XX. 
vlan-id —— Specify IEEE 802.1Q VLAN ID, ranging from 1 to 4094. 
descript  —— Give a description to the MAC address for identification, which 
contains 8 characters at most. 
Command Mode 
Global Configuration Mode 
Example 
Create VLAN 2, named “TP”, and the MAC address is 00:11:11:01:01:12: 
T3700G-28TQ(config)#mac-vlan mac-address 00:11:11:01:01:12 vlan 2 
description TP