Reference Guide

Private VLAN (PVLAN) | 1163
Defaults
disabled
Command Modes
INTERFACE
Command
History
Usage
Information
The assignment of the various PVLAN port types to port and port channel (LAG) interfaces is
demonstrated below.
Example
Figure 45-6. Examples of switchport mode private-vlan Command
Related
Commands
promiscuous Enter promiscuous to configure the selected port or port channel as an
promiscuous interface, as described above.
trunk Enter trunk to configure the selected port or port channel as a trunk port in a PVLAN,
as described above.
Version 7.8.1.0 Introduced on C-Series and S-Series
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 port-channel 10
FTOS(conf-if-gi-2/3)#switchport mode private-vlan promiscuous
private-vlan mode Set the mode of the selected VLAN to either community or isolated.
private-vlan mapping
secondary-vlan
Set the mode of the selected VLAN to primary and then associate
secondary VLANs to it.
show interfaces private-vlan Display type and status of PVLAN interfaces.
show vlan private-vlan mapping Display primary-secondary VLAN mapping.