Reference Guide

526 | Private VLANs
www.dell.com | support.dell.com
Creating PVLAN ports
Private VLAN ports are those that will be assigned to the private VLAN (PVLAN).
For interface details, see Enable a Physical Interface in Chapter 15, Interfaces.
Figure 28-1 shows the use of the
switchport mode private-vlan command on a port and on a port channel:
Figure 28-1. Examples of switchport mode private-vlan Command
Step Command Syntax Command Mode Purpose
1
interface interface
CONFIGURATION Access the INTERFACE mode for the port that you want to
assign to a PVLAN.
2
no shutdown
INTERFACE Enable the port.
3
switchport
INTERFACE Set the port in Layer 2 mode.
4
switchport mode
private-vlan
{host |
promiscuous | trunk
}
INTERFACE Select the PVLAN mode:
host (port in isolated or community VLAN)
promiscuous (intra-VLAN communication port)
trunk (inter-switch PVLAN hub port)
Note: Interfaces that are configured as PVLAN ports cannot be added to regular VLANs. Conversely,
“regular” ports (ports not configured as PVLAN ports) cannot be added to PVLANs.
FTOS#conf
FTOS(conf)#interface GigabitEthernet 2/1
FTOS(conf-if-gi-2/1)#switchport mode private-vlan promiscuous
FTOS(conf)#interface GigabitEthernet 2/2
FTOS(conf-if-gi-2/2)#switchport mode private-vlan host
FTOS(conf)#interface GigabitEthernet 2/3
FTOS(conf-if-gi-2/3)#switchport mode private-vlan trunk
FTOS(conf)#interface GigabitEthernet 2/2
FTOS(conf-if-gi-2/2)#switchport mode private-vlan host
FTOS(conf)#interface port-channel 10
FTOS(conf-if-po-10)#switchport mode private-vlan promiscuous