Creating a primary VLAN

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

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

Use the following command:


vlan <VLAN-ID> private-vlan primary
<VLAN-ID>

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