Private VLAN host interface: Assign the interface to primary and secondary VLANs

If you configure the private VLAN port mode of an interface as Host (see Configure the private VLAN port mode), you can assign the interface to a single primary VLAN and single secondary VLAN.

To assign a private VLAN host interface to a primary and secondary VLAN:

  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 Host Interface Configuration.

    The Private VLAN Host Interface 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 port, or type the port 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.

    The interface that you select must be configured in Host mode (see Configure the private VLAN port mode.).

  5. In the Host Primary VLAN field, specify a primary VLAN ID.

    You can select a VLAN for which you configured the type as Primary (see Assign a private VLAN type to a VLAN).

  6. In the Host Secondary VLAN field, specify a secondary VLAN ID.

    You can select a VLAN for which you configured the type as Isolated or Community, both of which are secondary VLAN types within a private VLAN (see Assign a private VLAN type to a VLAN).

  7. Click the Apply button.

    Your settings are saved.

    The Operational VLAN(s) fields shows the primary and secondary VLANs that operate on the host interface.

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