DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
440
Chapter 43
MAC-based VLAN Command
List
create mac_based_vlan mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-
4094>]
{mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-
show mac_based_vlan {mac_address <macaddr> | [vlan <vlan_name 32> | vlanid <vlanid 1-
4094>]}
43-1 create mac_based_vlan
Description
This command is used to create a static MAC-based VLAN entry. There is a global limitation of the
maximum entries supported for the static MAC-based entry.
Format
create mac_based_vlan mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-
4094>]
Parameters
mac_address - Specifies the MAC address used.
<macaddr> - Enter the MAC address here.
vlan - 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 - Specifies the VLAN by VLAN ID.
<vlanid 1-4094> - Enter the VLAN ID here. This value must be between 1 and 4094.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To create a static MAC-based VLAN entry:
DWS-3160-24PC: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.