pvlan type

Configures the PVLAN as a primary, isolated, or community PVLAN.
Syntax
pvlan type { community | isolated | primary }
no pvlan type { community | isolated | primary }
Command Default

The PVLAN type is not configured.

Parameters
community
Creates a community PVLAN.
isolated
Creates an isolated PVLAN.
primary
Creates a primary PVLAN.
Modes

VLAN configuration mode

Usage Guidelines

The command configures the following PVLAN types:

  • Community - Broadcasts and unknown unicasts received on community ports are sent to the primary port and also are flooded to the other ports in the community VLAN.
  • Isolated - Broadcasts and unknown unicasts received on isolated ports are sent only to the primary port. They are not flooded to other ports in the isolated VLAN
  • Primary - The primary PVLAN ports are "promiscuous". They can communicate with all the isolated PVLAN ports and community PVLAN ports in the isolated and community VLANs that are mapped to the promiscuous port.

For the primary VLAN, map the other PVLANs to the ports in the primary VLAN. VLAN identifiers configured as part of a PVLAN (primary, isolated, or community) should be consistent across the switched network. The same VLAN identifiers cannot be configured as a normal VLAN or a part of any other PVLAN.

LAG ports are not allowed as member ports of an isolated VLAN or community VLAN.

The no form of the command disables the PVLAN type.

Examples

The following example shows how to configure the community PVLAN.

device(config)# vlan 901
device(config-vlan-901)# untagged ethernet 1/3/5 to 1/3/6
device(config-vlan-901)# pvlan type community

The following example shows how to configure a primary PVLAN.

device(config)# vlan 7
device(config-vlan-7)# untagged ethernet 1/3/2
device(config-vlan-7)# pvlan type primary
History
Release version Command history
08.0.50 This command was modified so that dual mode PVLANs are supported.