Viewing DvR host entries

About this task

View DvR host entries (IPv4 remote host routes) on either a Controller or a Leaf node. The node displays the host entries learned either locally on its Switched UNI port or dynamically from other nodes within 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 host entries.

    On a Controller:

    show dvr host-entries [domain-id <1–255>]|[ipv4 {A.B.C.D}]|[l2isid <1-16777215>]|[l3isid <0-16777215>]|[nh-as-mac]|[type <1–2>]|[vrf WORD<1-16>] [vrfids WORD<0-512>]

    On a Leaf node:

    show dvr host-entries [domain-id <1–255>]|[ipv4 {A.B.C.D}]|[l2isid <1-16777215>]|[l3isid <0-16777215>]|[nh-as-mac]|[type <1–2>]

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

Example

View DvR host entries on either a Controller or a Leaf node.

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

Switch:1#show dvr host-entries domain-id 255 l3isid 55500

==================================================================================================================
                                                         DVR Host-Entries
==================================================================================================================
                 HOST                L3VSN      L2VSN                           DOMAIN 
IP-ADDRESS       MAC-ADDRESS         ISID       ISID       VRFID      PORT      ID         TYPE       NEXT HOP 
------------------------------------------------------------------------------------------------------------------
50.0.1.2         b0:ad:aa:42:ed:04   55500      50500      0          2/23      255        DYNAMIC    Cont-1:121
50.0.1.3         b0:ad:aa:4c:3d:01   55500      50500      0          cpp       255        LOCAL      Cont-2:122

2 out of 2 Total Num of DVR Host Entries displayed
-------------------------------------------------------------------------------------------------------------------

View DvR host entries for a specific IP address.

In this example, you enter IP address 50.0.1.0 to display host entries for IP addresses 50.0.1.2 and 50.0.1.3.

Switch:1#show dvr host-entries ipv4 50.0.1.0

==================================================================================================================
                                                         DVR Host-Entries
==================================================================================================================
                 HOST                L3VSN      L2VSN                           DOMAIN 
IP-ADDRESS       MAC-ADDRESS         ISID       ISID       VRFID      PORT      ID         TYPE       NEXT HOP 
------------------------------------------------------------------------------------------------------------------
50.0.1.2         b0:ad:aa:42:ed:04   55500      50500      0          2/23      2          DYNAMIC    Cont-1:121
50.0.1.3         b0:ad:aa:4c:3d:01   55500      50005      0          cpp       2          LOCAL      Cont-2:122

2 out of 2 Total Num of DVR Host Entries displayed
-------------------------------------------------------------------------------------------------------------------

View DvR host entries where the next hop displays the MAC address instead of the system name.

Switch:1#show dvr host-entries nh-as-mac

==================================================================================================================
                                                         DVR Host-Entries
==================================================================================================================
                 HOST                L3VSN      L2VSN                           DOMAIN 
IP-ADDRESS       MAC-ADDRESS         ISID       ISID       VRFID      PORT      ID         TYPE       NEXT HOP 
------------------------------------------------------------------------------------------------------------------
50.0.1.2         b0:ad:aa:42:ed:04   55500      50500      0          2/23      2          DYNAMIC    00:bb:00:00:01:01
50.0.1.3         b0:ad:aa:4c:3d:01   55500      50500      0          cpp       2          LOCAL      00:bb:00:00:01:02

2 out of 2 Total Num of DVR Host Entries displayed
-------------------------------------------------------------------------------------------------------------------

View DvR host entries based on the host type. Type 1 indicates local hosts and type 2 dynamic hosts.

Switch:1#show dvr host-entries type 2

==================================================================================================================
                                                         DVR Host-Entries
==================================================================================================================
                 HOST                L3VSN      L2VSN                           DOMAIN 
IP-ADDRESS       MAC-ADDRESS         ISID       ISID       VRFID      PORT      ID         TYPE       NEXT HOP 
------------------------------------------------------------------------------------------------------------------
50.0.1.2         b0:ad:aa:42:ed:04   55500      50500      0          2/23      2          DYNAMIC    00:bb:00:00:01:01

1 out of 2 Total Num of DVR Host Entries displayed
-------------------------------------------------------------------------------------------------------------------

Variable definitions

Use the data in the following table to use the show dvr host-entries command.

Variable

Value

domain-id

Specifies the domain ID of the DvR host entry.

The range is 1 to 255.

ipv4

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

l2isid

Specifies the Layer 2 VSN I-SID of the DvR host entry.

The range is 1 to 16777215.

l3isid

Specifies the Layer 3 VSN I-SID of the DvR host entry.

The range is 0 to 16777215.

nh-as-mac

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

type

Specifies the host type of the DvR host entry.

A value of 1 indicates local hosts and a value of 2 indicates dynamic hosts.

vrf

Specifies the VRF name of the DvR host entry.

vrfids

Specifies the VRF ID of the DvR host entry.

The range is 0 to 512.