Configure a Single IP Address for All DvR Controllers on a VLAN Subnet

Before you begin

  • Ensure that the VLAN on which to enable DvR exists and is associated with an I-SID.

About this task

On a Controller, DvR must be manually enabled at the Layer 2 VSN (VLAN) level.

Use this procedure to configure a single IP address to be used for both the DvR GW IP and the VLAN IP in the DvR VLAN. This IP adddress represents the DvR GW IP address used by all DvR Controllers for the same DvR VLAN. When you configure a DvR VLAN in this way, the Controllers no longer have a unique VLAN IP address.

Note

Note

Optionally, you can use two different IP address for the DvR VLAN and the DvR GW IP.

Procedure

  1. Enter VLAN Interface Configuration mode:

    enable

    configure terminal

    interface vlan <1–4059>

  2. Configure a single IP address for both the DvR GW IP and the VLAN IP in the DvR VLAN.

    ip address {<A.B.C.D/X>|<A.B.C.D> <A.B.C.D>} dvr-one-ip [state-disabled]

  3. Enable DvR.

    dvr enable

    By default, DvR is disabled.

Example

Enable DvR.

Switch:1>en
Switch:1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config-if)#vlan create 200 type port-mstprstp 0
Switch:1(config-if)#vlan i-sid 200 20200
Switch:1(config-if)#interface vlan 200
Switch:1(config-if)#ip address 192.0.2.1 255.255.0.0 dvr-one-ip
Switch:1(config-if)#dvr enable

Variable Definitions

The following table defines parameters for the ip address command.

Variable

Value

<A.B.C.D/X>|<A.B.C.D> <A.B.C.D>

Specifies the IP address and subnet mask in the format A.B.C.D/X or A.B.C.D A.B.C.D.

dvr-one-ip

Specifies the IP address used for the DvR gateway IP address and the VLAN IP in the DvR VLAN.

state-disabled Creates the IP interface in an administratively disabled state. This parameter is useful if you want to preconfigure an IP interface, for example, to prepare for DvR migration, and enable it later during a maintenance window. By default, the switch enables an IP interface after you configure the primary IP address.