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:
- 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.
- Select Security > Traffic Control > Private VLAN > Private VLAN Host Interface Configuration.
The Private VLAN Host Interface Configuration page displays.
- 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.
- 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.
- In the Host Primary VLAN field, specify a primary VLAN ID.
- 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).
- 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.
- To save the settings to the running configuration, click the Save icon.