Delete a Management VLAN on a DvR Leaf Node

You must perform deletion steps in the correct order.

If you attempt to delete the Management Instance VLAN before you delete the platform VLAN, the following error message displays:

Error: On a DVR leaf, the vlan must be deleted before the mgmt vlan instance

If you attempt to delete the platform VLAN before disabling the Management Instance VLAN, the following error message displays:

Error: Cannot delete vlan if mgmt vlan interface is enabled

About this task

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Enter VLAN Management Instance mode:

    mgmt vlan

  3. Disable the management VLAN:

    no enable

  4. Delete the platform VLAN:

    no vlan <2-4059>

  5. Delete the management VLAN:

    no mgmt vlan

Variable Definitions

The following table defines parameters for the no vlan command.

Variable Value

<2-4059>

Specifies the ID of the platform VLAN to be deleted.