DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
119
16
VLAN
C
OMMANDS
The VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following
table.
Command
Parameters
create vlan
<vlan_name 32> {tag <vlanid 2-4094> | advertisement}
delete vlan
<vlan_name 32>
create vlan vlanid
<vidlist> {advertisement}
delete vlan vlanid
<vidlist>
config vlan vlanid
<vidlist> {[ add [ tagged | untagged | forbidden ] |delete ] <portlist> | advertisement [ enable
| disable ] | name <vlan_name 32>}(1)
config vlan
<vlan_name 32> {[ add [ tagged | untagged | forbidden ] |delete ] <portlist> | advertisement
[ enable | disable ]}(1)
config gvrp
[<portlist> | all] {state [enable | disable]|ingress_checking [enable | disable] |
acceptable_frame [tagged_only | admit_all]|pvid <vlanid 1-4094>}(1)
enable gvrp
disable gvrp
show vlan
{[<vlan_name 32> | vlanid <vidlist> | ports <portlist>]}
show gvrp
<portlist>
Each command is listed, in detail, in the following sections.
create vlan
Purpose
Used to create a VLAN on the Switch.
Syntax
create vlan <vlan_name 32> {tag <vlanid 2-4094> | advertisement}
Description
This command allows the user to create a VLAN on the Switch.
Parameters
<vlan_name 32>
−
The name of the VLAN to be created.
<vlanid 2-4094>
−
The VLAN ID of the VLAN to be created. Allowed values = 2-4094
advertisement
−
Specifies that the VLAN is able to join GVRP. If this parameter is not
set, the VLAN cannot be configured to have forbidden ports.
Restrictions
Each VLAN name can be up to 32 characters. Up to 4094 static VLANs may be created
per configuration. Only Administrator-level users can issue this command.
Example usage:
To create a VLAN v1, tag 2:
DES-1228/ME:4#create vlan v1 tag 2
Command: create vlan v1 tag 2
Success.
DES-1228/ME:4#
delete vlan