Parameter | Description | Value |
---|---|---|
all |
Displays all NHRP peer entries. |
- |
protocolAddress |
Displays NHRP peer entry information based on the subnet IP address of the NHRP peer. |
The value is in dotted decimal notation. |
static |
Displays static NHRP peer entries. |
- |
dynamic |
Displays dynamic NHRP peer entries. |
- |
interface interface-name |
Specifies the name of an interface. |
- |
interface-type |
Specifies the type of an interface. |
- |
interface-number |
Specifies the number of an interface. |
The interface number must already exist. |
To determine whether a spoke has successfully registered, run the display nhrp peer command on the Hub to check whether NHRP peer entries of the spoke are generated. When a communication fault occurs between two spokes, run the display nhrp peer command on a spoke to check whether NHRP peer entries of the destination spoke are generated.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display nhrp peer all
-------------------------------------------------------------------------------
Protocol-addr Mask NBMA-addr NextHop-addr Type Flag
-------------------------------------------------------------------------------
172.17.1.103 255.255.255.255 192.168.111.1 172.17.1.103 remote-network up
-------------------------------------------------------------------------------
Tunnel interface: Tunnel0 (VPN instance: _public_)
Created time : 03:13:38
Expire time : 01:46:22
-------------------------------------------------------------------------------
Protocol-addr Mask NBMA-addr NextHop-addr Type Flag
-------------------------------------------------------------------------------
172.17.1.104 255.255.255.255 10.1.1.2 172.17.1.104 registered up|unique
-------------------------------------------------------------------------------
Tunnel interface: Tunnel0 (VPN instance: _public_)
Created time : 00:00:35
Expire time : 01:59:25
Item | Description |
---|---|
Protocol-addr | Subnet address or tunnel interface address of the NHRP peer. |
Mask | Subnet address mask or tunnel interface address mask of the NHRP peer. |
NBMA-addr | Public address of the NHRP peer, which corresponds to the source tunnel interface address of the NHRP peer. |
NextHop-addr | Address of the next hop pointing to the protocol address. |
Type | Type of the NHRP peer table.
|
Flag | NHRP peer entry status:
up/down and unique/no-unique can be displayed simultaneously. |
Tunnel interface | Tunnel interface number. |
Created time | Time when an NHRP peer entry is created. |
Expire time | Time when an NHRP peer entry expires. |
VPN instance | VPN instance to which the Tunnel is bound. |