The nhrp redirect command enables the NHRP redirect function.
The undo nhrp redirect command disables the NHRP redirect function.
By default, the NHRP redirect function is disabled.
Usage Scenario
In the shortcut scenario, enable the NHRP redirect function on the hub. The hub sends NHRP Redirect packets to the source spoke while forwarding data flows within the DSVPN domain. After receiving the NHRP Redirect packets, the source spoke sends NHRP Resolution Request packets and then establishes a tunnel to communicate with the destination spoke.
Prerequisites
The following operations have been performed:
Configuration Impact
After you run this command on the hub, it takes effect no matter the NHRP shortcut function is enabled on a spoke or not. When you disable the NHRP shortcut function on spoke, the hub sends an NHRP Redirect packet whenever a data packet is received, this cause the wasting of CPU and network resources. Enabling the NHRP shortcut function on a spoke solves this problem.
Precautions
To allow two branches to directly communicate by establishing a tunnel, you must also enable the nhrp shortcut function on spokes.