xStack
®
DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
390
Chapter 41
MAC-based VLAN Command
List
create mac_based_vlan mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-
4094>]
delete mac_based_vlan {mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-
4094>]}
show mac_based_vlan {mac_address <macaddr> | [vlan <vlan_name 32> | vlanid <vlanid 1-
4094>]}
41-1 create mac_based_vlan mac_address
Description
This command is used to create a static MAC-based VLAN entry.
This command only needs to be supported by the model which supports MAC-based VLAN.
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 - Specify 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 - Specify the VLAN by VLAN ID.
<vlanid 1-4094> - Enter the VLAN ID here. This value must be between 1 and 4094.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create a static MAC-based VLAN entry:
DES-3200-28/ME: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.
DES-3200-28/ME:admin#