Configure the private VLAN port mode

A port must be in the correct port mode to participate in a private VLAN.

The private plan port mode determines if a port (or LAG) can function in Host mode for a primary or secondary VLAN (within a private VLAN) or in Promiscuous mode for a promiscuous VLAN (within a private VLAN).

You can also configure a port (or LAG) to function as a promiscuous trunk for an uplink to a router or as an isolated trunk for a downlink to multiple devices. These types of private VLAN trunk ports can carry multiple private VLANs as well as regular VLANs.

To configure the private VLAN port mode:

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select Security > Traffic Control > Private VLAN > Private VLAN Port Mode Configuration.

    The Private VLAN Port Mode Configuration page displays.

  3. Select whether to display physical interfaces, LAGs, or both by clicking one of the following links above the table heading:
    • 1 or Unit ID for a stacked switch:

      • 1: If no switch stack is configured, the physical interfaces for the switch are displayed.
      • Unit ID for a stacked switch: If a switch stack is configured, the physical interfaces for the switch with the selected stack unit ID are displayed.
    • LAG: Only LAGs are displayed.

    • All: Both physical interfaces and LAGs are displayed, or for a switch stack, both physical interfaces on all switches in the stack and LAGs are displayed.

  4. Select one or more interfaces by taking one of the following actions:
    • To configure a single interface, select the check box associated with the interface, or type the interface number in the Go To Interface field and click the Go button.

    • To configure multiple interfaces with the same settings, select the check box associated with each interface.

  5. From the Port VLAN Mode menu, select the private VLAN port mode:
    • General: The port functions in general mode and not as a port in a private VLAN. This is the default setting.

    • Host: The port functions in host mode in a private VLAN. In this mode, the port can be member of a community VLAN or isolated VLAN:

      • Community VLAN: The port is a member of a secondary VLAN (within the private VLAN) and can communicate with other community ports and promiscuous ports.

      • Isolated VLAN: The port is a member of a secondary VLAN (within the private VLAN) and can communicate only with promiscuous ports.

      To configure a host port to be a member of specific VLANs, see Private VLAN host interface: Assign the interface to primary and secondary VLANs.

    • Promiscuous: The port functions in promiscuous mode in a private VLAN. In this mode, the port can communicate with all types of ports in the private VLAN, including other promiscuous ports, community ports, and isolated ports.

      To configure a promiscuous port to be a member of specific VLANs, see Private VLAN promiscuous interface: Assign the interface to primary and secondary VLANs.

    • Promiscuous trunk port: The port functions in promiscuous trunk mode as both an uplink trunk port (for example, it can connect a router) and a promiscuous port that can be a member of multiple primary VLANs (within the private VLAN) as well as regular VLANs. In this mode, the port processes tagged traffic to communicate with all types of ports in private VLANs (including promiscuous ports, community ports, and isolated ports) and with ports in regular VLANs.

      To assign a promiscuous trunk port to specific VLANs, see Private VLAN promiscuous trunk interface: Add primary and secondary VLANs to the trunk.

    • Isolated trunk port: The port functions in isolated trunk mode (for example, it can connect to multiple downstream devices) and can be a member of multiple isolated VLANs (secondary VLANs within private VLANs) as well as regular VLANs. In this mode, the port processes tagged traffic to communicate with ports in isolated VLANs and with ports in regular VLANs. The downstream devices that are connected to the isolated trunk port do not need to be capable of supported private VLANs.

      To assign an isolated trunk port to specific VLANs, see Private VLAN isolated trunk interface: Add primary and secondary VLANs to the trunk.

  6. Click the Apply button.

    Your settings are saved.

  7. To save the settings to the running configuration, click the Save icon.