View DvR Database Information

About this task

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

The Controller node displays all the IP subnet routes configured for that DvR domain. A Leaf node displays all IP subnet routes learned from the Controller(s) for the Layer 2 VSNs in the DvR Domain. It also displays the Host Routes (ARPs) learned from other DvR enabled nodes.

Before you begin

Ensure that DvR is enabled globally on the node.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. View the DvR database.

    On a Controller:

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

    On a Leaf node:

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

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

Example

View the DvR database on either a Controller or a Leaf node.

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

Switch:1#show dvr database

==================================================================================================================================
                                                           DVR DATABASE
==================================================================================================================================
                                NEXT                       L3VSN     L2VSN     OUTGOING            SPB  PREFIX
DEST            MASK            HOP                VRFID  ISID      ISID      INTERFACE            COST COST   AGE
----------------------------------------------------------------------------------------------------------------------------------
40.0.0.0        255.255.0.0     Ctrl-1:K:121       0      0         40400     cpp                  10   1      0 day(s), 05:44:55
40.0.1.2        255.255.255.255 Ctrl-1:K:121       0      0         40400     cpp                  10   1      0 day(s), 05:44:55
40.0.1.3        255.255.255.255 Ctrl-2:K:122       101    0         40400     Ctrl1-Ctrl2          10   1      0 day(s), 05:44:30


3 out of 3 Total Num of DVR Database entries displayed
----------------------------------------------------------------------------------------------------------------------------------

View the DvR database for a specific IPv4 address:

Switch:1#show dvr database ipv4 40.3.1.2

==================================================================================================================================
                                                           DVR DATABASE
==================================================================================================================================
                                NEXT                       L3VSN     L2VSN     OUTGOING             SPB  PREFIX 
DEST            MASK            HOP                VRFID  ISID      ISID      INTERFACE            COST COST   AGE
----------------------------------------------------------------------------------------------------------------------------------
40.3.1.2        255.255.255.255 Ctrl-1:K:121       0      0         40403     cpp                  10   1      0 day(s), 05:50:03

1 out of 1225 Total Num of DVR Database entries displayed
----------------------------------------------------------------------------------------------------------------------------------

View DvR database entries for a specific L3 I-SID.

Switch:1#show dvr database l3isid 0

==================================================================================================================================
                                                           DVR DATABASE
==================================================================================================================================
                                NEXT                       L3VSN     L2VSN     OUTGOING             SPB  PREFIX 
DEST            MASK            HOP                VRFID  ISID      ISID      INTERFACE            COST COST   AGE
----------------------------------------------------------------------------------------------------------------------------------
40.0.0.0        255.255.0.0     Ctrl-1:K:121       0      0         40400     cpp                  10   1      0 day(s), 05:44:55
40.0.1.2        255.255.255.255 Ctrl-1:K:121       0      0         40400     cpp                  10   1      0 day(s), 05:44:55
40.0.1.3        255.255.255.255 Ctrl-2:K:122       0      0         40400     Ctrl1-Ctrl2          10   1      0 day(s), 05:44:30


3 out of 3 Total Num of DVR Database entries displayed
----------------------------------------------------------------------------------------------------------------------------------

View DvR database entries with next hop MAC address displayed instead of the system name:

Switch:1#show dvr database l3isid 0

====================================================================================================================================
                                                           DVR DATABASE
====================================================================================================================================
                                NEXT                          L3VSN     L2VSN     OUTGOING             SPB  PREFIX
DEST            MASK            HOP                  VRFID   ISID      ISID      INTERFACE            COST COST   AGE
------------------------------------------------------------------------------------------------------------------------------------
40.0.0.0        255.255.0.0     00:bb:00:00:81:21    0       0         40400     cpp                  10   1      0 day(s), 05:44:55
40.0.1.2        255.255.255.255 00:bb:00:00:81:21    0       0         40400     cpp                  10   1      0 day(s), 05:44:55
40.0.1.3        255.255.255.255 00:bb:00:00:81:22    0       0         40400     Ctrl1-Ctrl2          10   1      0 day(s), 05:44:30


3 out of 3 Total Num of DVR Database entries displayed
-------------------------------------------------------------------------------------------------------------------------------------

Variable definitions

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

Variable

Value

home

Specifies the DvR database information for home instance.

ipv4 {A.B.C.D}

Specifies the IP address (IPv4) of the DvR database entry.

l3isid <0-16777215>

Specifies the Layer 3 I-SID of the DvR database entry.

The range is 0 to 16777215.

nh-as-mac

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

remote

Specifies the DvR database information for remote instance.

vrf

Specifies the VRF name of the DvR database entry.

vrfids

Specifies the VRF ID of the DvR database entry.

The range is 0 to 512.