The display bgp rpd routing-table command displays information about routes in the BGP RPD address family.
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). |
The actual command output varies according to the device. The command output here is only an example.
<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
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:
|
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. |