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 you do not specify this parameter, 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 is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
min-age |
Specifies the end time of the period when routes are generated. |
The format is xxdxxhxxmxxs.
NOTE:
If the value of the d is 10000, the values of the h, m, and s can be only 0. |
max-age |
Specifies the start time of the period when routes are generated. |
The format is xxdxxhxxmxxs.
NOTE:
If the value of the d is 10000, the values of the h, m, and s can be only 0. |
verbose |
Displays detailed information about active and inactive routes. If you do not specify this parameter, the display ipv6 routing-table time-range command displays only summary information about active routes. |
- |
brief |
Displays brief information about active routes. |
- |
Usage Scenario
If route flapping occurs on a network, you can run the display ipv6 routing-table time-range command and specify a small time range for the command. By doing so, you can find the flapping route in a timely manner and accelerate fault locating.
Precautions
You must make sure that max-age is greater that min-age. Otherwise, the display ipv6 routing-table time-range command does not display any information.
If the specified max-age is greater than min-age and no route was 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.
<sysname> 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 : 2001:db8:1::1 PrefixLength : 128
NextHop : ::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : LoopBack2 Flags : D
Destination : 2001:db8: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
# Display brief information about public network IPv6 routes generated in the last 30 minutes.
<sysname> display ipv6 routing-table time-range 1m 30m brief
Routing Table :Public
Destinations : 1 Routes : 1
Format :
Destination/Mask Protocol
Nexthop Interface
------------------------------------------------------------------------------
::1/128 Direct
::1 InLoopBack0
Item |
Description |
|---|---|
Routing Tables: Public |
Indicates the routing table is a public routing table |
Destinations |
Number of destination networks and hosts |
Routes |
Number of routes |
Destination |
IP addresses of the destination network and 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 in a route with a reachable next hop |
Flags |
Route flags:
|
Destination/Mask |
Address and mask of the destination network or host |
# Display detailed information about public network routes generated in the last 20 minutes.
<sysname> display ipv6 routing-table time-range 0 2h20m10s 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 : 2001:db8: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 : 2001:db8:1::1 PrefixLength : 128
NextHop : 2001:db8: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 : 2001:db8: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 that the route is referenced |
Tag |
Administrative tag of the route The value is an integer ranging from 0 to 4294967295 |
Priority |
Convergence priority of the route:
|
IndirectID |
Indicates the keyword of indirect next hop, which is generated by the system and cannot be configured by users. If the route is not iterated, the value is 0x0. If the route is iterated, the value is not 0x0. |
Age |
Time after the route is generated |