xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
1086
Parameters
<vlan_name 32>
- Specify the name of the private VLAN. The maximum length is 32 characters.
vid
- Specify the VLAN ID of the private VLAN.
<vlanid 1-4094>
- Specify the VLAN ID between 1 and 4094.
add
- Specify to add isolated or community.
isolated
- Specify the secondary VLAN as an isolated VLAN.
community
- Specify the secondary VLAN as a community VLAN.
remove
- Specify to remove the specified private VLAN.
<vlan_name 32>
- Specify the VLAN of a range of secondary VLANs to add to the private VLAN
or remove from it. The maximum length is 32 characters.
vlanid
- Specify a range of the second VLAN IDs to add to the private VLAN or remove from it.
<vidlist>
- Specify the VLAN ID.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To associate secondary VLAN to private VLAN p1:
DGS-3620-28SC:admin#config private_vlan p1 add community vlanid 2-5
Command: config private_vlan p1 add community vlanid 2-5
Success.
DGS-3620-28SC:admin#
106-17
show private_vlan
Description
This command is used to display private VLAN information on the switch.
Format
show private_vlan {[<vlan_name 32> | vlanid <vidlist>]}
Parameters
<vlan_name 32>
- (Optional) Specify the name of the private VLAN. The maximum length is 32
characters.
vlanid
- (Optional) Specify the VLAN ID of the private VLAN.
<vidlist>
- Specify the VLAN ID of the private VLAN.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To display private VLAN settings: