Overview of the tasks for private VLAN configuration
To set up a private VLAN that allows for communication between switches in a network, perform the tasks that are described in the following sections:
- Assign a private VLAN type to a VLAN.
By default, a VLAN is a regular VLAN, so you must assign a private VLAN type to a VLAN.
- Configure a private VLAN association with a primary and secondary VLAN.
A private VLAN must consist of a single primary VLAN and one or more secondary VLANs.
- Configure the private VLAN port mode.
A port must be in the correct port mode to participate in a private VLAN. For example, to make a port a member of an isolated VLAN or community VLAN, you must first configure the port as a host port.
- Private VLAN host interface: Assign the interface to primary and secondary VLANs.
For a port that you configured to function in host mode, configure a single primary VLAN and a single secondary VLAN.
- Private VLAN promiscuous interface: Assign the interface to primary and secondary VLANs.
For a port that you configured to function in promiscuous mode, configure a single primary VLAN and one or more secondary VLANs.
- Private VLAN promiscuous trunk interface: Add primary and secondary VLANs to the trunk.
For a port that you configured to function in promiscuous trunk mode, add primary and secondary VLANs to the trunk.
- Private VLAN isolated trunk interface: Add primary and secondary VLANs to the trunk
For a port that you configured to function in isolated trunk mode, add primary and secondary VLANs to the trunk.
- Configure native and allowed VLANs on a private VLAN trunk interface
For port that you configured to function in a private VLAN trunk mode (either in promiscuous trunk mode or in isolated trunk mode), configure native VLANs for untagged traffic and allowed private VLANs.