The display bgp routing-table command displays information about BGP routes with specified destinations.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp labeled routing-table 1.1.1.1 BGP local router ID : 10.1.1.2 Local AS number : 100 Paths: 1 available, 1 best, 1 select, 0 best-external, 0 add-path BGP routing table entry information of 1.1.1.1/32: Label information (Received/Applied): 33009/33009 From: 1.1.1.1 (10.1.1.1) Route Duration: 0d00h00m32s Relay IP Nexthop: 10.1.1.1 Relay IP Out-Interface: GigabitEthernet 0/1/16 Relay Tunnel Out-Interface: GigabitEthernet 0/1/16 Original nexthop: 1.1.1.1 Qos information : 0x0 AS-path Nil, origin igp, MED 30, localpref 100, pref-val 0, valid, internal, best, select, supernet, pre 255, IGP cost 10 Advertised to such 1 peers: 127.16.1.3
<HUAWEI> display bgp routing-table 1.1.1.1 BGP local router ID : 192.168.2.2 Local AS number : 100 Paths: 1 available, 1 best, 1 select, 0 best-external, 0 add-path BGP routing table entry information of 1.1.1.1/32: RR-client route. Label information (Received/Applied): 48042/48043 From: 1.1.1.1 (192.168.2.3) Route Duration: 0d03h52m06s Relay IP Nexthop: 10.12.5.4 Relay IP Out-Interface: GigabitEthernet0/1/0 Relay Tunnel Out-Interface: GigabitEthernet0/1/2 Original nexthop: 1.1.1.1 Qos information : 0x0 Entropy-label padding value : AB 6A F2 AS-path Nil, origin igp, MED 0, localpref 100, pref-val 0, valid, internal, best, select, supernet, pre 255, IGP cost 20 Advertised to such 1 peers: 5.5.5.5
<HUAWEI> display bgp routing-table 10.1.1.1 BGP local router ID : 192.168.2.2 Local AS number : 100 Paths: 1 available, 1 best, 1 select, 0 best-external, 0 add-path BGP routing table entry information of 10.1.1.1/32: From: 10.1.3.1 (192.168.2.3) Route Duration: 0d00h01m33s Direct Out-interface: GigabitEthernet0/1/0 Relay is delayed as nexthop flapped frequently Original nexthop: 10.1.3.1 Qos information : 0x0 Primary Routing Table: vrf1 AS-path 200, origin incomplete, MED 0, pref-val 0, valid, external, best, select, active, pre 255 Advertised to such 1 peers: 10.1.3.1
Item | Description |
---|---|
BGP local router ID | Router ID of the local BGP device. |
BGP routing table entry information of | Routing entry information. |
Local AS number | Local AS number. |
Label information (Received/Applied): | Information about labels, including received and sent labels. |
Route Duration | Route duration. |
Relay is delayed as nexthop flapped frequently | Route recursion to a specified next hop is suppressed because the next hop flaps. If only a small number of routes recurse to the next hop, the suppression is very short; therefore, this field may not be displayed in this case. |
Relay IP Nexthop | IP recursive next hop. |
Original nexthop | Original next hop. |
Qos information | QoS information. |
AS-path | AS_Path attribute. Nil indicates that the attribute value is null. |
MED | MED of a route. The MED is used to identify the optimal route for traffic entering an AS. The route with the smallest MED is selected as the optimal route if the other attributes of the routes are the same. |
localpref | Local_Pref of a BGP route. |
pref-val | Preferred value of a BGP route. |
pre | BGP route priority. |
Advertised to such 1 peers | Peers to which routes are advertised. |
Entropy-label padding value | Padding value in the entropy label. This field can be displayed only after the entropy-label command is configured. |
Direct Out-interface | Directly-connected outbound interface. |
Primary Routing Table | Source routing table. |
Paths | Route selection result. |
From | IP address of the route advertiser. |
Origin | Origin attribute of a BGP route:
|
valid | Valid route. |
internal | Internal route. |
best | Optimal route. |
select | Preferred route. |
active | Active route. The field is displayed only after the active-route-advertise command is run. |
external | External route. |