display ripng route
Use display ripng route to display all RIPng routes for a RIPng process.
Syntax
display ripng process-id route [ ipv6-address prefix-length [ verbose ] | peer ipv6-address | statistics ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
process-id: Specifies a RIPng process by its ID in the range of 1 to 65535.
ipv6-address prefix-length: Specifies an IPv6 address. The ipv6-address argument specifies an IPv6 address. The prefix-length argument specifies a prefix length in the range of 0 to 128.
verbose: Displays all routing information for the specified destination IPv6 address. If you do not specify this keyword, the command displays only optimal RIPng routes with the specified destination IPv6 address.
peer ipv6-address: Specifies a neighbor by its IPv6 address.
statistics: Displays routing information statistics, including total number of routes and the number of routes learned from each neighbor.
Examples
# Display routing information for RIPng process 1.
<Sysname> display ripng 1 route Route Flags: A - Aging, S - Suppressed, G - Garbage-collect, D – Direct O - Optimal, F - Flush to RIB ---------------------------------------------------------------- Peer FE80::20C:29FF:FED4:7171 on Vlan-interface100 Destination 4::4/128, via FE80::20C:29FF:FED4:7171, cost 1, tag 0, AOF, 5 secs Local route Destination 3::3/128, via ::, cost 0, tag 0, DOF Destination 6::/64, via ::, cost 0, tag 0, DOF
# Display information about routes with the specified prefix for RIPng process 1.
<Sysname> display ripng 1 route 3::3 128 verbose Route Flags: A - Aging, S - Suppressed, G - Garbage-collect, D – Direct O - Optimal, F - Flush to RIB ---------------------------------------------------------------- Peer FE80::4283:59FF:FE97:205 on Vlan-interface100 Destination 3::3/128, via FE80::4283:59FF:FE97:205, cost 1, tag 0, AOF, 28 secs
Table 134: Command output
Field | Description |
---|---|
A–Aging | The route is in aging state. |
S–Suppressed | The route is in suppressed state. |
G–Garbage-collect | The route is in Garbage-collect state. |
D–Direct | The route is a direct route. |
Local route | The route is a locally generated direct route. |
O - Optimal | The route is an optimal route. |
F - Flush to RIB | The route has been flushed to the RIB. |
Peer | Neighbor connected to the interface. |
Destination | IPv6 destination address. |
via | Next hop IPv6 address. |
cost | Routing metric value. |
tag | Route tag. |
secs | Time a route entry has stayed in the current state. |
# Display routing information statistics for RIPng process 1.
<Sysname> display ripng 1 route statistics Peer Optimal/Aging Garbage FE80::20C:29FF:FED4:7171 1/2 0 Local 2/0 0 total 3/2 0
Table 135: Command output
Field | Description |
---|---|
Peer | IPv6 address of the neighbor. |
Optimal | Number of optimal routes. |
Aging | Number of routes in aging state. |
Garbage | Number of routes in Garbage-collection state. |
Local | Total number of locally generated direct route. |
total | Total number of routes learned from RIPng neighbors. |