The display rip neighbor command displays neighbor information.
The display ripng neighbor command displays information about RIPng neighbors.
Parameter | Description | Value |
---|---|---|
process-id |
Specifies the ID of a process. |
The value is an integer ranging from 1 to 4294967295. |
neighbor-address neighbor-address |
Specifies the IP address of a neighbor. |
The value is in dotted decimal notation. |
verbose |
Displays detailed information about a RIPng neighbor. |
- |
Usage Scenario
After basic RIP functions are configured, running the display rip neighbor command displays information about the established neighbor relationship. If the neighbor relationship is not established as required, check the neighbor configuration.
If verbose is specified, you can also view the number of routes in active, holddown, and garbage states.Precautions
If the directly connected network segment interface between two directly connected devices has been configured with the rip enable command, although the RIP process has been enabled on the interface at this time, the corresponding neighbor information cannot be viewed through the display rip neighbor command. If you want to view the neighbor information of two devices, you need to configure the rip enable command on the other interface (not belonging to the same network segment) of one of the devices to enable the RIP process of that interface.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ripng 1 neighbor verbose Neighbor : FE80::A0A:201:1 10GigabitEthernet0/1/0 Protocol : RIPNG Number of Active routes : 2 Number of routes in holddown : 0 Number of routes in garbage : 0
<HUAWEI> display ripng 1 neighbor Neighbor : FE80::A0A:201:1 10GigabitEthernet0/1/0 Protocol : RIPNG
<HUAWEI> display rip 1 neighbor verbose ---------------------------------------------------------------- IP Address Interface Type Type Last Heard Time ---------------------------------------------------------------- 10.1.1.2 GigabitEthernet0/1/0 RIPV2 0:0:37 Number of RIP routes :1 Number of routes in holddown : 0 Number of routes in garbage : 0 Last Received Sequence Number : 0x0
Item | Description |
---|---|
Neighbor | IPv6 address and interface type of the interface of the neighbor. |
Protocol | Routing protocol running on the interface. |
Number of Active routes | Number of routes in the active state. |
Number of routes in holddown | Number of routes in the holddown state. |
Number of routes in garbage | Number of routes in the garbage state. |
Number of RIP routes | Number of RIP routes. |
IP Address | IP address of the neighbor interface. |
Interface Type | Interface type. |
Type | Routing protocol used to establish an adjacency with a neighbor:
|
Last Heard Time | Time since the last time packets are received from neighbors. |
Last Received Sequence Number | Sequence number of the last received packet. |