Viewing DvR routes

About this task

View the DvR routes (IPv4 network routes) on a DvR Controller or a Leaf node.

Controllers display all the IP subnet routes configured for that DvR domain. The Leaf nodes display the IP subnet routes that are learned from the Controller(s) for the Layer 2 VSNs in the DvR Domain. Leaf nodes also display routes that are redistributed by Controllers (direct routes, static routes and the default route), into the DvR domain.

Before you begin

Ensure that you enable DvR globally on the node.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. View the DvR routes.

    On a Controller:

    show dvr routes [ipv4 {A.B.C.D}]|[l3isid <0-16777215>]|[nh-as-mac]|[vrf WORD<1-16>]|[vrfids WORD<0-512>]

    On a Leaf node:

    show dvr routes [ipv4 {A.B.C.D}]|[l3isid <0-16777215>]|[nh-as-mac]

    Viewing the DvR routes for a specific VRF or VRF ID is not supported on a DvR Leaf node.

Example

View DvR routes on either a Controller or a Leaf node.

Viewing the DvR routes for a specific VRF or VRF ID is not supported on a DvR Leaf node.

Switch:1#show dvr routes

========================================================================================================================
                                                            DVR Routes
========================================================================================================================
                                     NEXT                                     L3VSN         L2VSN
DEST            MASK                 HOP                              VRFID    ISID          ISID        TYPE      COST
------------------------------------------------------------------------------------------------------------------------
50.0.0.0        255.255.0.0          Ctrl-1:8400:121                  0        55500        50500        -         1

1 out of 1 Total Num of DVR Routes displayed
-----------------------------------------------------------------------------------------------------------------------
TYPE Legend:  E=Ecmp Route

View DvR routes where the next hop MAC address is displayed instead of the system name:

Switch:1#show dvr routes nh-as-mac

=========================================================================================================================
                                                            DVR Routes
=========================================================================================================================
                                     NEXT                                     L3VSN         L2VSN
DEST            MASK                 HOP                              VRFID    ISID          ISID        TYPE      COST
-------------------------------------------------------------------------------------------------------------------------
50.0.0.0        255.255.0.0          00:bb:00:00:01:02                0       55500         50500        -         1

1 out of 1 Total Num of DVR Routes displayed
-------------------------------------------------------------------------------------------------------------------------
TYPE Legend:  E=Ecmp Route

Variable definitions

Use the data in the following table to use the show dvr routes command.

Variable

Value

ipv4 {A.B.C.D}

Specifies the IP address (IPv4) of the DvR route.

l3isid <0-16777215>

Specifies the Layer 3 I-SID of the DvR route.

The range is 0 to 16777215.

nh-as-mac

Specifies the MAC address of the next hop node instead of the system name.

vrf

Specifies the VRF name of the DvR route.

vrfids

Specifies the VRF ID of the DvR route.

The range is 0 to 512.

Job aid

Use the data in the following table to use the show dvr routes command output.

Field

Descriptions

DEST

Specifies the IPv4 destination address of the DvR route.

MASK

Specifies the subnet mask of the IPv4 destination address of the DvR route.

NEXT HOP

Specifies the host name of the next hop BEB, in the DvR route.

VRFID

Specifies the VRF ID of the DvR route.

L3VSN ISID

Specifies the Layer 3 VSN I-SID of the DvR route.

L2VSN ISID

Specifies the Layer 2 VSN I-SID of the DvR route.

TYPE

Specifies the route type of the DvR route.

COST

Specifies the SPB cost of the DvR route.