35
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.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
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 Descri
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