The display ipv6 routing-table time-range command displays information about routes generated in a specified time range in an IPv6 routing table.
display ipv6 routing-table [ vpn-instance vpn-instance-name ] time-range min-age max-age [ verbose | brief ]
Parameter | Description | Value |
---|---|---|
vpn-instance vpn-instance-name | Displays information about routes generated in a specified time range in the IPv6 routing table of the specified VPN instance. If this parameter is not specified, the display ipv6 routing-table time-range command displays information about routes generated in a specified time range in the public IPv6 routing table. | The value must be an existing VPN instance name. |
min-age | Specifies the end time of the period when routes are generated. | The value is in xxdxxhxxmxxs format.
NOTE:
If the value of d is 10000, the values of h, m, and s can only be 0. |
max-age | Specifies the start time of the period when routes are generated. | The value is in xxdxxhxxmxxs format.
NOTE:
If the value of d is 10000, the values of h, m, and s can only be 0. |
verbose | Displays detailed information about active and inactive routes. If this parameter is not specified, the display ipv6 routing-table time-range command displays only brief information about active routes. | - |
brief | Displays brief information about active and inactive routes. | - |
Usage Scenario
If route flapping occurs on a network, to find the flapping route rapidly and accelerate fault location, run the display ipv6 routing-table time-range command and specify a small time range.
Precautions
max-age must be larger than min-age. Otherwise, the display ipv6 routing-table time-range command does not display any information.
If max-age is larger than min-age but no route is generated within this time range, the display ipv6 routing-table time-range command displays only the table heading.
# Display information about public network IPv6 routes generated in the last 2 hours, 20 minutes, and 10 seconds.
<Switch> display ipv6 routing-table time-range 0 2h20m10s
Routing Table : Public Destinations : 4 Routes : 4 Destination : ::1 PrefixLength : 128 NextHop : ::1 Preference : 0 Cost : 0 Protocol : Direct RelayNextHop : :: TunnelID : 0x0 Interface : InLoopBack0 Flags : D Destination : FC00:0:0:1::1 PrefixLength : 128 NextHop : ::1 Preference : 0 Cost : 0 Protocol : Direct RelayNextHop : :: TunnelID : 0x0 Interface : LoopBack2 Flags : D Destination : FC00:0:0:1::2 PrefixLength : 128 NextHop : :: Preference : 60 Cost : 0 Protocol : Static RelayNextHop : :: TunnelID : 0x0 Interface : NULL0 Flags : D Destination : FE80:: PrefixLength : 10 NextHop : :: Preference : 0 Cost : 0 Protocol : Direct RelayNextHop : :: TunnelID : 0x0 Interface : NULL0 Flags : D
Item |
Description |
---|---|
Routing Tables: Public |
The routing table is a public routing table. |
Destinations |
Number of destination networks or hosts. |
Routes |
Number of routes. |
Destination |
IP addresses of the destination network or host. |
PrefixLength |
Prefix length of a route. |
NextHop |
Next-hop IPv6 address. |
Preference |
Route preference. |
Cost |
Route cost. |
Protocol |
Name of the routing protocol. |
RelayNextHop |
Iterated next hop. |
TunnelID |
Tunnel ID:
|
Interface |
Outbound interface through which the next hop of a route can be reached. |
Flags |
Route flag:
|
# Display detailed information about public network routes generated in the last 20 minutes.
<Switch> display ipv6 routing-table time-range 0 20m verbose
Routing Table : Public Destinations : 4 Routes : 5 Destination : ::1 PrefixLength : 128 NextHop : ::1 Preference : 0 Neighbour : :: ProcessID : 0 Label : NULL Protocol : Direct State : Active NoAdv Cost : 0 Entry ID : 262551588 EntryFlags : 0x80010050 Reference Cnt: 2 Tag : 0 Priority : high Age : 7694sec IndirectID : 0x0 RelayNextHop : :: TunnelID : 0x0 Interface : InLoopBack0 Flags : D Destination : FC00:0:0:1::1 PrefixLength : 128 NextHop : ::1 Preference : 0 Neighbour : :: ProcessID : 0 Label : NULL Protocol : Direct State : Active Adv Cost : 0 Entry ID : 262552100 EntryFlags : 0x80010040 Reference Cnt: 2 Tag : 0 Priority : high Age : 101sec IndirectID : 0x0 RelayNextHop : :: TunnelID : 0x0 Interface : LoopBack2 Flags : D Destination : FC00:0:0:1::1 PrefixLength : 128 NextHop : FC00:0:0:1::2 Preference : 60 Neighbour : :: ProcessID : 0 Label : NULL Protocol : Static State : Inactive Adv Relied Cost : 0 Entry ID : 262551716 EntryFlags : 0x20140 Reference Cnt: 2 Tag : 0 Priority : medium Age : 7668sec IndirectID : 0x80000001 RelayNextHop : :: TunnelID : 0x0 Interface : NULL0 Flags : R Destination : FC00:0:0:1::2 PrefixLength : 128 NextHop : :: Preference : 60 Neighbour : :: ProcessID : 0 Label : NULL Protocol : Static State : Active Adv Cost : 0 Entry ID : 262551844 EntryFlags : 0x80000040 Reference Cnt: 2 Tag : 0 Priority : medium Age : 7670sec IndirectID : 0x0 RelayNextHop : :: TunnelID : 0x0 Interface : NULL0 Flags : D Destination : FE80:: PrefixLength : 10 NextHop : :: Preference : 0 Neighbour : :: ProcessID : 0 Label : NULL Protocol : Direct State : Active NoAdv Cost : 0 Entry ID : 262551972 EntryFlags : 0x80010010 Reference Cnt: 2 Tag : 0 Priority : high Age : 104sec IndirectID : 0x0 RelayNextHop : :: TunnelID : 0x0 Interface : NULL0 Flags : D
Item |
Description |
---|---|
Neighbour |
IP address of a neighboring interface. :: indicates that the route is generated by a local device. |
ProcessID |
Process ID of the routing protocol. |
Label |
Label carried in a route. |
State |
Status of the route:
|
Entry ID |
ID of a route in the routing table. |
EntryFlags |
Flag of a route. |
Reference Cnt |
Number of times the route is referenced. |
Tag |
Administrative tag of the route. The value is an integer that ranges from 0 to 4294967295. |
Priority |
Convergence priority of the route:
|
IndirectID |
ID of the indirect next hop. |
Age |
Time when the route is generated. |