nhrp shortcut

Function

The nhrp shortcut command enables the NHRP shortcut function.

The undo nhrp shortcut command disables the NHRP shortcut function.

By default, the NHRP shortcut function is disabled.

Format

nhrp shortcut

undo nhrp shortcut

Parameters

None

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nhrp write

Usage Guidelines

Usage Scenario

The hub sends NHRP Redirect packets to the source spoke while forwarding data flows within the DSVPN domain. Run the nhrp shortcut command on the spoke to allow it to send NHRP Resolution Request packets to the destination spoke after it receives NHRP Redirect packets sent from the hub. A tunnel is directly established between two branches.

Prerequisites

The following operations have been performed:

  • Run the interface tunnel command to create a tunnel interface and display the tunnel interface view.
  • Run the tunnel-protocol gre p2mp command to set the tunnel encapsulation mode to mGRE.

Precautions

The NHRP shortcut function must work with the NHRP redirect function. Therefore, the NHRP redirect function must be enabled on the hub using the nhrp redirect command.

Example

# Enable the NHRP shortcut function on Tunnel 0.
<HUAWEI> system-view
[~HUAWEI] nhrp enable
[*HUAWEI] interface tunnel 0
[*HUAWEI-Tunnel0] tunnel-protocol gre p2mp
[*HUAWEI-Tunnel0] nhrp enable
[*HUAWEI-Tunnel0] nhrp shortcut
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >