< Home

display ipv6 routing-table time-range

Function

The display ipv6 routing-table time-range command displays information about routes generated in a specified time range in an IPv6 routing table.

Format

display ipv6 routing-table [ vpn-instance vpn-instance-name ] time-range min-age max-age [ verbose | brief ]

Parameters

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.
  • The d indicates days. The value is an integer ranging from 0 to 10000.
  • The h indicates hours. The value is an integer ranging from 0 to 23.
  • The m indicates minutes. The value is an integer ranging from 0 to 59.
  • The s indicates seconds. The value is an integer ranging from 0 to 59.
For example, you can enter 5d4h30m20s to specify 5 days, 4 hours, 30 minutes, and 20 seconds.
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.
  • The d indicates days. The value is an integer ranging from 0 to 10000.
  • The h indicates hours. The value is an integer ranging from 0 to 23.
  • The m indicates minutes. The value is an integer ranging from 0 to 59.
  • The s indicates seconds. The value is an integer ranging from 0 to 59.
For example, you can enter 5d4h30m20s to specify 5 days, 4 hours, 30 minutes, and 20 seconds.
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.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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  
Table 1 Description of the display ipv6 routing-table time-range command output

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:
  • 0x0 indicates that the route does not use a tunnel or the tunnel fails to be set up.
  • If the value is not 0x0, the route is iterated to a tunnel.

Interface

Outbound interface in a route with a reachable next hop

Flags

Route flags:
  • R: The route is an iterated route.

  • D: The route is sent to the Forwarding Information Base (FIB) table.

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

Table 2 Description of the display ipv6 routing-table time-range verbose command output

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:

  • Active: an active route

  • Invalid: an invalid route

  • Inactive: an inactive route

  • NoAdv: a route that cannot be advertised

  • Adv: a route that can be advertised

  • Del: a route to be deleted

  • Relied: a route that is iterated to the next hop and outbound interface or a tunnel

  • Stale: a route with the stale flag and is used in GR

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:

  • low: The convergence priority of a route is low.

  • medium: The convergence priority of a route is medium.

  • high: The convergence priority of a route is high.

  • critical: The convergence priority of a route is critical.

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

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >