The nhrp network-id command specifies the NHRP domain for a local mGRE interface.
The undo nhrp network-id command restores the default NHRP domain of the local mGRE interface.
By default, the local mGRE interface belongs to NHRP domain 0.
Usage Scenario
The nhrp network-id command specifies NHRP domains for mGRE interfaces to isolate various mGRE interfaces into different NHRP domains. A VPN tunnel is set up between two devices to forward NHRP packets. The network IDs of the inbound and outbound mGRE interfaces determine whether to set up a tunnel.
Prerequisites
The following operations have been performed:
Configuration Impact
If the inbound and outbound interfaces for NHRP packets are both mGRE interfaces, compare the network IDs of the two interfaces. The configuration impact on different types of NHRP packets is as follows:
Precautions
After network IDs are changed, the NHRP peer learned by the device is not affected and the existing IPSec tunnel will not be changed.