xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
463 
 
DGS-3120-24TC:admin# create mac_based_vlan mac_address 00-11-22-33-44-55 vlanid 
100 
Command: create mac_based_vlan mac_address 00-11-22-33-44-55 vlanid 100 
 
Success.  
 
 
45-2  delete mac_based_vlan 
Description 
This command is used to delete the static MAC-based VLAN entry. 
 
Format 
delete mac_based_vlan {mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-
4094>]} 
 
Parameters 
mac_address - (Optional) Specify the MAC address used. 
<macaddr> - Enter the MAC address used here. 
vlan - (Optional) The VLAN to be associated with the MAC address. 
<vlan_name 32> - Enter the VLAN name here. This name can be up to 32 characters long. 
vlanid - (Optional) Specify the VLAN by VLAN ID. 
<vlanid 1-4094> - Enter the VLAN ID here. This value must be between 1 and 4094. 
If no parameter is specified, ALL static configured entries will be removed. 
 
Restrictions 
Only Administrator, Operator and Power-User level users can issue this command. 
 
Example 
To delete a static MAC-based VLAN entry: 
DGS-3120-24TC:admin# delete mac_based_vlan mac_address 00-11-22-33-44-55 vlanid 
100 
Command: delete mac_based_vlan mac_address 00-11-22-33-44-55 vlanid 100 
 
Success.  
 
 
45-3  show mac_based_vlan 
Description 
This command is used to display the static or dynamic MAC-Based VLAN entry. If the MAC 
address and VLAN is not specified, all static and dynamic entries will be displayed.