No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display ip routing-table time-range

display ip routing-table time-range

Function

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

Format

display ip routing-table time-range min-age max-age [ verbose ]

Parameters

Parameter Description Value
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, you can 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, you can 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 you do not specify this parameter, the display ip routing-table time-range command displays only 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 ip routing-table time-range command and specify a small time range for the command. You can then find the flapping route rapidly and accelerate fault location.

Precautions

max-age must be larger than min-age. Otherwise, the display ip routing-table time-range command does not display any information.

If max-age is larger than min-age but no route was generated within this time range, the display ip routing-table time-range command displays only the table heading.

Example

# Display information about public network routes generated in the last 20 minutes.

<Huawei> display ip routing-table time-range 0 20m
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 2        Routes : 2

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        3.3.3.3/32  Direct  0    0           D   127.0.0.1       LoopBack1
        4.4.4.0/24  Static  60   0           D   0.0.0.0         NULL0

Table 6-109  Description of the display ip routing-table time-range command output

Item

Description

Route Flags

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

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

Routing Tables: Public

The routing table is a public routing table.

Destinations

Number of destination networks and hosts.

Routes

Number of routes.

Destination/Mask

Address and mask length of the destination network and host.

Proto

Protocol used to learn routes.

Pre

Route preference.

Cost

Route cost.

Flags

Route flags in the heading of the routing table.

NextHop

Next hop.

Interface

Outbound interface in a route with a reachable next hop.

# Display detailed information about public network routes generated in the last 20 minutes.

<Huawei> display ip routing-table time-range 0 20m verbose
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 3        Routes : 3


Destination: 3.3.3.3/32
     Protocol: Direct           Process ID: 0
   Preference: 0                      Cost: 0
      NextHop: 127.0.0.1         Neighbour: 0.0.0.0
        State: Active Adv              Age: 00h14m06s
          Tag: 0                  Priority: high
        Label: NULL                QoSInfo: 0x0
   IndirectID: 0x0
 RelayNextHop: 0.0.0.0           Interface: LoopBack1
     TunnelID: 0x0                   Flags:  D

Destination: 4.4.4.0/24
     Protocol: Static           Process ID: 0
   Preference: 60                     Cost: 0
      NextHop: 0.0.0.0           Neighbour: 0.0.0.0
        State: Active Adv              Age: 00h01m38s
          Tag: 0                  Priority: medium
        Label: NULL                QoSInfo: 0x0
   IndirectID: 0x0
 RelayNextHop: 0.0.0.0           Interface: NULL0
     TunnelID: 0x0                   Flags:  D

Destination: 4.4.4.4/32
     Protocol: Static           Process ID: 0
   Preference: 60                     Cost: 0
      NextHop: 4.4.4.0           Neighbour: 0.0.0.0
        State: Invalid Adv Relied      Age: 00h01m38s
          Tag: 0                  Priority: medium
        Label: NULL                QoSInfo: 0x0
   IndirectID: 0x80000002
 RelayNextHop: 0.0.0.0           Interface: NULL0
     TunnelID: 0x0                   Flags: R
Table 6-110  Description of the display ip routing-table time-range verbose command output

Item

Description

Process ID

Process ID of the routing protocol.

Preference

Route preference.

Cost

Route cost.

NextHop

Next hop.

Neighbour

IP address of a neighbor. 0.0.0.0 indicates that the route is generated by a local device.

State

Route status:
  • 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

Age

Time after the route is generated.

Tag

Administrative tag of the route. The value is an integer that ranges 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.

Label

MPLS label.

QoSInfo

QoS information. 0x0 indicates QoS information is empty.

IndirectID

ID of the indirect next hop.

RelayNextHop

Iterated next hop.

Interface

Iterated outbound interface.

Tunnel ID

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.

Flags

Route flags in the heading of the routing table.

Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207895

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next