Chapter 4 Mac-Based Vlan Commands; Mac-Vlan Mac-Address; Show Mac-Vlan - TP-Link TL-SG3210 Cli Reference Manual

Jetstream l2 managed switch
Table of Contents

Advertisement

Chapter 4
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 }
MAC-based VLAN Commands
24

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tl-sg3216Tl-sg3424Jetstream tl-sg3210Jetstream tl-sg3216Jetstream tl-sg3424

Table of Contents