DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
627
Chapter 63
Static MAC-based
VLAN Commands
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>]}
63-1
create mac_based_vlan mac_address
Description
This command is used to create static MAC-based VLAN entries.
Format
create mac_based_vlan mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-
4094>]
Parameters
<macaddr>
- Specifies the MAC address.
vlan
- Specifies the VLAN to be associated with the MAC address. The name must be an existing
static VLAN name.
<vlan_name 32>
- Specifies the VLAN name. The maximum length is 32 characters.
vlanid
- Specifies the VLAN ID to be associated with the MAC address. The ID must be an
existing static VLAN ID.
<vlanid 1-4094>
- Specifies the VLAN ID between 1 and 4094.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To create a static MAC-based VLAN entry:
DGS-3710-12C:admin#create mac_based_vlan mac_address 00-00-00-00-00-01 vlan
default
Command: create mac_based_vlan mac_address 00-00-00-00-00-01 vlan default
Success.
DGS-3710-12C:admin#