Viewing 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 L2 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
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 |
---|---|
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. |
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. |
Job aid
Use the data in the following table to use the show dvr database command output.
Field |
Descriptions |
---|---|
DEST |
Specifies the address type of the IPv4 destination address of the DvR database entry. |
MASK |
Specifies the destination mask of the DvR database entry. |
NEXT HOP |
Specifies the MAC address of the next hop BEB, in the DvR database entry. |
VRFID |
Specifies the VRF ID for the database entry. |
L3VSN ISID |
Specifies the Layer 3 VSN I-SID of the DvR database entry. |
L2VSN ISID |
Specifies the Layer 2 VSN I-SID of the DvR database entry. |
OUTGOING INTERFACE |
Specifies the outgoing interface (port or MLT) of the DvR database entry. |
SPB COST |
Specifies the SPB cost of the DvR database entry. |
PREFIX COST |
Specifies the prefix cost of the DvR database entry. |
AGE |
Specifies the uptime since creation of the DvR database table entry. |