To remove PVLAN mode from the selected port, use the no switchport mode
private-vlan command.
Parameters
host Enter the keyword host to configure the selected port or port
channel as an isolated interface in a PVLAN.
promiscuous Enter the keyword promiscuous to configure the selected port or
port channel as an promiscuous interface.
trunk Enter the keyword trunk to configure the selected port or port
channel as a trunk port in a PVLAN.
Defaults Disabled.
Command Modes INTERFACE
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.8.1.0 Introduced on the C-Series and S-Series.
Usage
Information
The assignment of the various PVLAN port types to port and port channel (LAG) interfaces is
shown below.
Example
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
Related
Commands
private-vlan mode – sets the mode of the selected VLAN to community, isolated, or primary.
private-vlan mapping secondary-vlan – sets the mode of the selected VLAN to primary and
then associates the secondary VLANs to it.
show interfaces private-vlan – displays type and status of PVLAN interfaces.
show vlan private-vlan mapping – displays the primary-secondary VLAN mapping.
1165