Clearing DvR host entries

About this task

Clear DvR host entries (IPv4 remote host routes) on a Controller. The host entries are learned on the switch, either locally on its UNI port or dynamically from other nodes in the DvR domain.

Note

Note

You can clear DvR host entries only on a DvR Controller.

An error message displays if you attempt clearing of host entries on a DvR Leaf node.

Before you begin

Ensure that you enable DvR globally on the node.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Clear the DvR host entries.

    clear dvr host-entries [ipv4 {A.B.C.D}} | [l2isid <0-16777215>] | [l3isid <0-16777215>]

Example

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

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#clear dvr host-entries 50.0.1.0

Variable definitions

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

Variable

Value

ipv4

Specifies the IP address (IPv4) of the DvR host entries to clear.

l2isid

Specifies the Layer 2 VSN I-SID of the DvR host entries to clear

The range is 1 to 16777215.

l3isid

Specifies the Layer 3 VSN I-SID of the DvR host entries to clear.

The range is 0 to 16777215.