Reference Guide

644 | Private VLANs
www.dell.com | support.dell.com
Private VLAN Configuration Task List
The following sections contain the procedures that configure a private VLAN:
Creating PVLAN ports
Creating a Primary VLAN
Creating a Community VLAN
Creating an Isolated VLAN
Creating PVLAN ports
Private VLAN ports are those that will be assigned to the private VLAN (PVLAN).
For interface details, refer to Enable a Physical Interface on page 366 in Chapter 20, Interfaces.
Figure 35-1 shows the use of the
switchport mode private-vlan command on a port and on a port channel:
Figure 35-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 TengigabitEthernet 2/1
FTOS(conf-if-gi-2/1)#switchport mode private-vlan promiscuous
FTOS(conf)#interface TengigabitEthernet 2/2
FTOS(conf-if-gi-2/2)#switchport mode private-vlan host
FTOS(conf)#interface TengigabitEthernet 2/3
FTOS(conf-if-gi-2/3)#switchport mode private-vlan trunk
FTOS(conf)#interface TengigabitEthernet 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