3-8
ip-address
{
mask
|
mask-length
}: Displays route information about a specified IP address.
peer
ip-address
: Displays all routing information learned from a specified neighbor.
statistics
: Displays the route statistics, including total number of routes and number of routes
of each neighbor.
Description
Use the
display rip route
command to display the routing information of a specified RIP
process.
Examples
# Display all routing information of RIP process 1.
<Sysname> display rip 1 route
Route Flags: R-RIP, T-TRIP
P-Permanent, A-Aging, S-Suppressed, G-Garbage-collect
--------------------------------------------------------------------------
Peer 21.0.0.23 on Vlan-interface 1
Destination/Mask NextHop Cost Tag Flags Sec
56.0.0.0/8 21.0.0.23 1 0 RA 102
34.0.0.0/8 21.0.0.23 1 0 RA 23
Peer 21.0.0.12 on Vlan-interface 2
Destination/Mask NextHop Cost Tag Flags Sec
56.0.0.0/8 21.0.0.12 1 0 RA 34
12.0.0.0/8 21.0.0.12 1 0 RA 12
# Display routing information for network 56.0.0.0/8 of RIP process 1.
<Sysname> display rip 1 route 56.0.0.0 8
Route Flags: R-RIP, T-TRIP
P-Permanent, A-Aging, S-Suppressed, G-Garbage-collect
--------------------------------------------------------------------------
Peer 21.0.0.23 on Vlan-interface 1
Destination/Mask NextHop Cost Tag Flags Sec
56.0.0.0/8 21.0.0.23 1 0 RA 102
Peer 21.0.0.12 on Vlan-interface 1
Destination/Mask NextHop Cost Tag Flags Sec
56.0.0.0/8 21.0.0.12 1 0 RA 34
# Display RIP process1 routing information learned from the specified neighbor.
<Sysname> display rip 1 route peer 21.0.0.23
Route Flags: R-RIP, T-TRIP
P-Permanent, A-Aging, S-Suppressed, G-Garbage-collect
--------------------------------------------------------------------------
Peer 21.0.0.23 on Vlan-interface 1
Destination/Mask NextHop Cost Tag Flags Sec
56.0.0.0/8 21.0.0.23 1 0 RA 102
34.0.0.0/8 21.0.0.23 1 0 RA 23