Configure a Management VLAN on a DvR Leaf Node

About this task

You cannot configure a platform VLAN directly on a DvR leaf node. However, you can configure a VLAN Management Instance on a DvR leaf node. After you configure the management VLAN, you can configure a platform VLAN.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Create a management VLAN and associate it with an existing port-based VLAN:

    mgmt vlan <2-4059>

    Note

    Note

    If you attempt to configure a VLAN ID that is already in use by DVR for created DVR interfaces, the following error message displays:

    Error: This vlan id is already used by DVR. Please configure another vlan id for the mgmt vlan
  3. Create a platform VLAN:

    vlan create <2-4059> [name WORD<0–64>] type port-mstprstp <0–63> [color <0–32>]

  4. Enter VLAN Management Instance mode:

    mgmt vlan

  5. Enable the management VLAN:

    enable

Variable Definitions

The following table defines parameters for the mgmt vlan command.

Variable Value

<2-4059>

Specifies the existing port-based VLAN ID to associate with the management VLAN.

The following table defines parameters for the vlan create command.

Variable Value

<2-4059>

Specifies the VLAN ID in the range of 2 to 4059. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1. By default, the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998.

name WORD<0-64>

Specifies the VLAN name. The name attribute is optional.

type port-mstprstp <0-63> [color <0-32>]

Creates a VLAN by port:

  • <0-63> is the STP instance ID from 0 to 63.

  • color <0-32> is the color of the VLAN in the range of 0 to 32.

Note:

MSTI instance 62 is reserved for SPBM if SPBM is enabled on the switch.