To create a VLAN, you need to do the
following:
- Create the PVLAN.
- Add one VLAN to the PVLAN as a network VLAN.
- Add VLANs to the PVLAN as subscriber VLANs.
-
To create a PVLAN, use the following command:
create
private-vlan name {vr vr_name}
-
To add a network VLAN to the PVLAN, create and configure
a tagged VLAN, and then use the following command to add that network
VLAN:
configure
private-vlan name add network vlan_name
-
To add a subscriber VLAN to the PVLAN, create and configure
a tagged VLAN, and then use the following command to add that subscriber
VLAN:
configure
private-vlan name add subscriber vlan_name {non-isolated} {loopback-port port}
By default, this command adds an
isolated subscriber VLAN. To create a non-isolated subscriber VLAN, you must include the
non-isolated option.