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
mdc-admin
mdc-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. Without 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 O - Optimal, F - Flush to RIB ---------------------------------------------------------------- Peer FE80::20C:29FF:FE7A:E3E4 on Vlan-interface2 Destination 1::/64, via FE80::20C:29FF:FE7A:E3E4, cost 1, tag 0, AOF, 7 secs Destination 2::2/128, via FE80::20C:29FF:FE7A:E3E4, cost 1, tag 0, AOF, 7 secs
# Display information of routes with specified prefix for RIPng process 1.
<Sysname> display ripng 1 route 1:: 64 verbose Route Flags: A - Aging, S - Suppressed, G - Garbage-collect O - Optimal, F - Flush to RIB ---------------------------------------------------------------- Peer FE80::20C:29FF:FE7A:E3E4 on Vlan-interface2 Destination 1::/64, via FE80::20C:29FF:FE7A:E3E4, cost 1, tag 0, AOF, 7 secs Peer FE80::20C:29FF:FE7A:E3E5 on Vlan-interface3 Destination 1::/64, via FE80::20C:29FF:FE7A:E3E8, cost 2, tag 0, A, 7 secs
Table 103: 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. |
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:FE7A:E3E4 2/3 0 Total 2/3 0
Table 104: 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. |
Total | Total number of routes learned from RIPng neighbors. |