Removing PVLANs from the configuration of the switch

Prerequisites
  • The PVLAN (private VLAN) must exist in the configuration.

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

Procedure
  1. Remove all secondary community VLANs (if configured).

    For example:

    switch(config)# no vlan 300 private-vlan community 302,303
    

    All member ports of the deleted VLAN are moved to VLAN 1 automatically.

  2. Remove the secondary isolated VLAN (if configured).

    For example:

    switch(config)# no vlan 300 private-vlan isolated 301
    

    All member ports of the deleted VLAN are moved to VLAN 1 automatically.

  3. Remove the primary private VLAN configuration from the primary VLAN.

    For example:

    switch(config)# no vlan 300 private-vlan primary
    

    The primary VLAN is now configured as a regular VLAN and the private VLAN no longer exists.