Creating a primary VLAN

  • You must be in the global configuration context: switch(config)#

Configure a VLAN as the primary VLAN in the private VLAN.

Use the following command:

vlan <VLAN-ID> private-vlan primary

Specifies the VLAN ID of an existing VLAN or a VLAN you are creating.

For example, the following command configures VLAN 300 as the primary VLAN:

switch(config)# vlan 300 private-vlan primary