xStack
® 
DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 
37 
 
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: 
DGS-3120-24TC:admin# show private_vlan 
Command: show private_vlan 
 
Private VLAN 100 
------------------ 
    Promiscuous Ports: 1:1 
    Trunk Ports      : 1:2  
    Isolated Ports   : 1:3-1:5       Isolated VLAN : 20 
    Community Ports  : 1:6–1:8       Community VLAN: 30 
    Community Ports: : 1:9–1:10      Community VLAN: 40 
 
Private VLAN 200 
------------------ 
    Promiscuous Ports: 1:11 
    Trunk Ports      : 1:12  
    Isolated Ports   : 1:13-1:15         Isolated VLAN : 20 
    Community Ports  : 1:16–1:18         Community VLAN: 30