reset nhrp peer (Tunnel interface view)

Function

The reset nhrp peer command deletes dynamically negotiated NHRP peer entries.

Format

reset nhrp peer [ protocol-address mask ]

Parameters

Parameter Description Value
protocol-address

Specifies the network layer protocol address.

The value is in dotted decimal notation.

mask

Specifies the network layer protocol mask.

The value is in dotted decimal notation.

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nhrp execute

Usage Guidelines

Usage Scenario

This command deletes dynamically negotiated NHRP peer entries before the entries age out. This prevents the existing NHRP peer entries from affecting the diagnosis result.

Configuration Impact

Dynamically negotiated NHRP peer entries are deleted from the local device and no entry will be generated before the peer device registers with the local device.

Precautions

  • Deleting dynamically negotiated NHRP peer entries may result in communication interruption.
  • Run this command only on the mGRE interface.

Example

# Delete an NHRP peer entry with an IP address 10.10.10.10 and a 24-bit mask.
<HUAWEI> system-view
[~HUAWEI] nhrp enable
[*HUAWEI] interface tunnel 10
[*HUAWEI-Tunnel10] tunnel-protocol gre p2mp
[*HUAWEI-Tunnel10] nhrp enable
[*HUAWEI-Tunnel10] reset nhrp peer 10.10.10.10 255.255.255.0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >