R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
39
Syntax
display rip process-id route [ ip-address { mask | mask-length } | peer ip-address | statistics ] [ | { begin
| exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
process-id: Specifies a RIP process by its ID in the range of 1 to 65535.
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.
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 GigabitEthernet2/1/1
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
p
tion
Route Flags
Route flags:
•
R—RIP route.
• T—TRIP route.
• P—The route never expires.
• A—The route is aging.
• S—The route is suppressed.
• G—The route is in Garbage-collect state.
Peer 21.0.0.23 on GigabitEthernet2/1/1
Routing information learned on a RIP interface from the
specified neighbor.
Destination/Mask Destination IP address and subnet mask.