xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
37
Example
To associate secondary vlan to private vlan p1:
DGS-3120-24TC:admin# config private_vlan p1 add community vlanid 2-5
Command: config private_vlan p1 add community vlanid 2-5
Success.
3-20 show private vlan
Description
This command is used to show the private VLAN information.
Format
show private_vlan {[<vlan_name 32> | vlanid<vidlist>]}
Parameters
<vlan_name 32> - (Optional) Specify the name of the private VLAN or its secondary VLAN. This
name can be up to 32 characters long.
vlanid - (Optional) Specify the VLAN ID of the private VLAN or its secondary VLAN.
<vidlist> - Enter the VLAN ID used here.
Restrictions
None.
Example
To display private VLAN settings: