Dell 34XX Switch User Manual


 
318 Configuring Switch Information
www.dell.com | support.dell.com
Configuring PVLANs using CLI commands
The following table summarizes the equivalent CLI commands for configuring PVLANs as
displayed in the
Private VLAN
page.
The following is an example of the CLI commands:
Table 7-86. Private VLAN CLI Commands
CLI Command Description
switchport mode private vlan
promiscuous
Adds a promiscuous port to a promiscuous
VLAN.
switchport mode private vlan
community
Adds a community port to a community
VLAN.
switchport mode private vlan isolated
Adds a isolated port to a isolated VLAN.
private-vlan primary
Defines a primary VLAN.
private-vlan community
{
add
community-vlan-list
|
remove
community-vlan-list
}
Defines or removes a community VLAN of
the primary VLAN.
private-vlan isolated
Defines an isolated VLAN of the primary
VLAN
switchport private-vlan
pvlan
[community
cvlan
]
Defines private VLAN ports
.
show vlan private-vlan [primary vlan-id] Displays the private primary VLAN.
console(config)# vlan database
console(config-vlan)#vlan 2
console(config-vlan)#exit
console(config)#interface vlan 2
console(config-if)# private-vlan primary
console(config)#interface vlan 2
console(config-if)# private-vlan isolated 10
console(config-if)# private-vlan community add 20
console# show vlan private-vlan
console(config-if)# end