21
Example
Delete the existing MAC-Based VLAN entry with the MAC address of
00:00:00:00:00:02:
TP-LINK(config)# mac-vlan remove 00:00:00:00:00:02
mac-vlan modify
Description
The mac-vlan modify command is used to modify the settings of the subsistent
MAC VLAN entry.
Syntax
mac-vlan modify {vlan-id} {mac-addr} [description]
Parameter
vlan-id —— VLAN ID, ranging from 1 to 4094.
mac-addr —— MAC address.
description ——Give a description to the MAC VLAN entry. You can not edit this
entry if there is no desription .
Command Mode
Global Configuration Mode
Example
Modify the VLAN ID of the MAC VLAN entry with the MAC address of
00:00:00:00:00:02 as 12:
TP-LINK(config)# mac-vlan modify 12 00:00:00:00:00:02
show mac-vlan
Description
The show mac-vlan command is used to display the information of the MAC
VLAN entry .
Syntax
show mac-vlan
Command Mode
Any Configuration Mode
Example
Display the information of the MAC VLAN entry:
TP-LINK(config)# show mac-vlan