28
Chapter 4
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.
4.1
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
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Create VLAN 2 with the MAC address 00:11:11:01:01:12 and the name “TP”:
T1600G-52TS(config)#mac-vlan mac-address
00:11:11:01:01:12
vlan
2
description
TP
Содержание T1600-28TS
Страница 1: ...CLI Reference Guide T1600G Series Switches REV2 0 0 1910011957...
Страница 37: ...21 Example Clear the commands you have entered in the current mode T1600G 52TS config history clear...
Страница 57: ...41 T1600G 52TS config show voice vlan switchport gigabitEthernet 1 0 2...
Страница 64: ...48 Example Display the LACP system priority T1600G 52TS config show lacp sys id...
Страница 340: ...324 Example Display the summary information of IPv6 route entries T1600G 52TS config show ipv6 route summary...
Страница 365: ...349 Example Display the configuration of DHCP Relay T1600G 52TS config show ip dhcp relay...