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 protocol

display ip routing-table protocol

Function

The display ip routing-table protocol command displays routing information about a specified routing protocol.

Format

display ip routing-table protocol protocol [ inactive | verbose ]

display ip routing-table protocol unr [ type unr-type ] [ inactive | verbose ]

Parameters

Parameter Description Value
protocol Displays routing information about the specified routing protocol:
  • direct: displays direct routes.

  • static: displays static routes.

  • unr: displays user network routes.

-
type unr-type Displays the information about user network routes of a specified type. The value of unr-type can be set only to aaa-download.
inactive Displays brief information about inactive routes only. -
verbose Displays detailed information about active routes and inactive routes. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If neither verbose nor inactive is specified, brief information about all the routes of each routing protocol is displayed.

Example

# Display brief information about all direct routes.

<Huawei> display ip routing-table protocol direct
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Public routing table : Direct
         Destinations : 7        Routes : 7  

Direct routing table status : <Active>
         Destinations :         Routes : 7  

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

   10.137.216.0/23  Direct  0    0           D   10.137.217.210  Vlanif100
 10.137.217.210/32  Direct  0    0           D   127.0.0.1       Vlanif100
 10.137.217.255/32  Direct  0    0           D   127.0.0.1       Vlanif100
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

Direct routing table status : <Inactive>
         Destinations : 0        Routes : 0  
Table 6-107  Description of the display ip routing-table protocol command output

Item

Description

Route Flags

Flag of a route:
  • R: indicates that the route is an iterated route.

  • D: indicates that the route is delivered to the FIB table.

Public routing table

Contents of a public routing table:
  • direct: displays direct routes.

  • static: displays static routes.

  • unr: displays user network routes.

Direct routing table status

Status of direct routes:
  • Inactive: inactive routes in the routing table

  • Active: active routes in the routing table

Destinations

Total number of destination addresses.

Routes

Total number of routes in the routing table.

Destination/Mask

Destination address or mask length.

Proto

Routing protocol of a route.

Pre

Routing protocol preference of a route.

Cost

Cost of a route.

Flags

Route flags in the heading of the routing table.

Nexthop

Next-hop address of a route.

Interface

Outbound interface of a route.

Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207260

Downloads: 122

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