Enable DvR on a Layer 2 VSN (VLAN)
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 gateway IPv4 address for a Layer 2 VSN (VLAN)
subnet and then enable DvR on it. This address is pushed, along with other L3
configuration information, from the Controllers to the Leaf nodes within the domain,
so that the Leaf nodes can create a gateway IP service for each DvR-enabled Layer 2
VSN.
Note
Optionally, you can now use a single IP address in the subnet for every Controller by configuring the DvR VLAN IP to be the same as the DvR GW IP.
Procedure
Example
Enable DvR on the Global Router VLAN.
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)#dvr gw-ipv4 192.0.2.1 Switch:1(config-if)#dvr enable Switch:1(config-if)#ip address 192.0.2.2 255.255.0.0
Enable DvR on a VLAN associated to a VRF:
Switch:1>en Switch:1#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config-if)#vlan create 400 type port-mstprstp 0 Switch:1(config-if)#vlan i-sid 400 20200 Switch:1(config-if)#interface vlan 400 Switch:1(config-if)#vrf vrf500 Switch:1(config-if)#dvr gw-ipv4 198.51.100.1 Switch:1(config-if)#dvr enable Switch:1(config-if)#ip address 198.51.100.2 255.255.0.0
Variable definitions
Use the data in the following table to use the dvr gw-ipv4 command.
Variable |
Value |
---|---|
{A.B.C.D} |
Specifies the gateway IPv4 address for the VLAN. |