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

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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

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

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:
  • The value 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 through which the next hop of a route can be reached.

Flags

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

  • D: The route is delivered to the FIB table.

# 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

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 used in GR

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:

  • low

  • medium

  • high

  • critical

IndirectID

ID of the indirect next hop.

Age

Time when the route is generated.

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