xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
124
Command
Parameters
show private_vlan
{[<vlan_name 32> | vlanid <vidlist>]}
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> {type [1q_vlan | private_vlan]}
{advertisement}
Description
This command allows the user to create a VLAN on the Switch.
Parameters
vlan
- The name of the VLAN to be created.
<vlan_name 32>
- Enter the VLAN name here. The VLAN name can be up to 32 characters
long.
tag
- The VLAN ID of the VLAN to be created.
<vlanid 2-4094>
- Enter the VLAN ID here. The VLAN ID value must be between 2 and 4094.
type
- (Optional) Specify the type of VLAN here.
1q_vlan
- (Optional) Specify that the type of VLAN used is based on the 802.1Q standard.
private_vlan
– (Optional) Specify that the private VLAN type will be used.
advertisement
- (Optional) Specify the VLAN as being able to be advertised out.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To create a VLAN v1, tag 2:
DES-3528:admin# create vlan v1 tag 2
Command: create vlan v1 tag 2
Success.
DES-3528:admin#
create vlan vlanid
Purpose
Used to create multiple VLANs by VLAN ID list on the Switch.
Syntax
create vlan vlanid <vidlist> {type [1q_vlan | private_vlan]} {advertisement}
Description
This command creates multiple VLANs on the Switch.
Parameters
vlanid
- The VLAN ID list to be created.
<vidlist>
- Enter the VLAN ID list here.
type
- (Optional) Specify the type of VLAN to be created.
1q_vlan
- (Optional) Specify that the VLAN created will be a 1Q VLAN.
private_vlan
– (Optional) Specify that the private VLAN type will be used.
advertisement
- (Optional) Specify the VLAN as being able to be advertised out.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To create a VLAN ID on the Switch:
DES-3528:admin# create vlan vlanid 5 advertisement
Command: create vlan vlanid 5 advertisement
Success
DES-3528:admin#