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