DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
539
Chapter 50
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>]}
create mac_based_vlan mac_address
50-1
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 Administrators, Operators and Power-Users can issue this command.
Example
To create a static MAC-based VLAN entry:
DGS-3000-26TC: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.
DGS-3000-26TC:admin#
Содержание DGS-3000 series
Страница 1: ......