TP-LINK TL-SG3210 사용자 설명서

다운로드
페이지 212
 
24
 
Chapter 4  MAC-based VLAN Commands 
MAC-based VLAN (Virtual Local Area Network) is the way to classify the VLANs based on MAC 
Address. A MAC address corresponds to a VLAN ID. The untagged packets and the 
priority-tagged packets sourced 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 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 of the MAC-based VLAN entry for identification, 
which contains 8 characters at most. 
Command Mode 
Global Configuration Mode 
Example 
Add an entry whose MAC address is 00:11:11:01:01:12 to VLAN 2, then name 
the MAC-base entry as “TP”: 
TL-SG3424(config)# mac-vlan mac-address 00:11:11:01:01:12 vlan 2 
description TP 
show mac-vlan 
Description 
The  show mac-vlan command is used to display the information of the 
MAC-based VLAN. MAC address and VLAN ID can be used to filter the 
displayed information. 
Syntax 
show mac-vlan { all | mac-address mac-addr | vlan vlan-id }