display bgp rpd routing-table (All views)

Function

The display bgp rpd routing-table command displays information about routes in the BGP RPD address family.

Format

display bgp rpd routing-table [ peer ipv4-address { advertised-routes | received-routes } ] rpd-prefix

Parameters

Parameter Description Value
peer ipv4-address

Displays information about routes of a specified peer.

It is in dotted decimal notation.

advertised-routes

Displays information about the routes advertised to a specified peer.

-

received-routes

Displays information about the routes received from a specified peer.

-

rpd-prefix

Displays information about the routes with a specified RPD prefix.

The value is a string of 11 to 30 characters, in the format of X/X.X.X.X/X, in which the first X, X.X.X.X, and the last X indicate the policy type, peer address, and policy ID, respectively. Currently, the value of the policy type can only be 1 (indicating an export policy).

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To check information about desired RPD routes, you can specify parameters as required.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display detailed information about a specified RPD route.
<HUAWEI> display bgp rpd routing-table 1/1.1.1.1/1
BGP local router ID : 1.1.1.1
 Local AS number : 300
 BGP routing table entry information of 1/1.1.1.1/1:
 From: 10.99.108.160 (192.168.1.1)
 Route Duration: 0d00h00m49s
 AS-path 100, origin incomplete, pref-val 0, valid, external, best, pre 255
 Wide-community Container 1:
   Hop-Count            : 1
   Flag                 : 00(Local, Not applicate confederation)
   Community value      : 0x90000003(MATCH AND SET)
   Source AS number     : 100
   Context AS number    : 100
   Wide-community Target(1):
    if-match as-path #1234
    if-match community 100:100
    if-match ip-prefix 10.1.0.24 0
   Wide-community Parameter(3):
    apply cost 100
    apply as-path 200 200 200 200 200  additive
    apply community 100 1:1
Not advertised to any peer yet
Table 1 Description of the display bgp rpd routing-table (All views) command output
Item Description
BGP local router ID

Router ID of the local BGP device.

BGP routing table entry information of 1/1.1.1.1/1

Information about the BGP RPD route 1/1.1.1.1/1:

Local AS number

Local AS number.

Route Duration

Duration of the route.

AS-path

AS_Path attribute. Nil indicates that the attribute value is null.

pref-val

PrefVal of the route.

pre 255

The priority of the route is 255.

Wide-community Container

Wide-Community attribute of the route:

  • Flag: attribute flag.
  • Hop-Count: number of hops through which the route passes.
  • Community value: If the value is 0x90000003, attributes of the routes that match the route-policy are set; if the value is 0x90000004, the routes that match the route-policy are denied.
  • Source AS number: source AS number of the route.
  • Context AS number: context AS number of the route.
  • Wide-community Target: if-match clauses of the route.
  • Wide-community Parameter: apply clauses of the route.
Not advertised to any peer yet

The route has not been advertised to any peer yet.

From

IP address of the device that advertised the route.

valid

Valid route.

external

External route.

best

Optimal route.

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