regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use
display rip route
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 111.1.1.2 on Vlan-interface11
Destination/Mask Nexthop Cost Tag Flags Sec
122.0.0.0/8 111.1.1.2 1 0 RA 22
Table 10 Command output
Field Description
Route Flags
•
R
—RIP route.
•
T
—TRIP route.
•
P
—The route never expires.
•
A
— he route is aging.
•
S
—The route is suppressed.
•
G
— he route is in Garbage-collect state.
Peer 21.0.0.23 on Vlan-interface11
Routing information learned on a RIP interface from the
specified neighbor.
Destination/Mask Destination
IP address and subnet mask.
Nexthop
Next hop of the route.
Cost
Cost of the route.
Tag Route
tag.
Flags
Indicates the route state.
Sec
Remaining time of the timer corresponding to the route
state.
# Display the routing statistics of RIP process 1.
<Sysname> display rip 1 route statistics
Peer Aging Permanent Garbage
111.1.1.2 1 0 0
Total 1 0 0
Table 11 Command output
Field Description
Peer
IP address of a neighbor
Aging
Total number of aging routes learned from the specified neighbor
Permanent
Total number of permanent routes learned from the specified neighbor
Garbage
Total number of routes in Garbage-collection state learned from the specified neighbor
Total
Total number of routes learned from all RIP neighbors
36