The display bgp vpn-target routing-table command displays information about routes in the BGP-VPN-Target address family.
Parameter | Description | Value |
---|---|---|
peer ipv4-address |
Specifies an IPv4 address. |
The value is in dotted decimal notation. |
received-routes |
Displays information about the routes received from the specified peer. |
- |
origin-as origin-as-num |
Displays information about routes with the specified origin AS number in the BGP-VPN-Target address family. |
The value is an integer ranging from 0 to 4294967295. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp vpn-target routing-table peer 2.2.2.2 received-routes 1:1 BGP local router ID:1.1.1.1 Local AS number:100 Origin AS:100 BGP routing table entry information of RT<1:1>/96: FROM:2.2.2.2(2.2.2.2) Route Duration:18h14m07s Relay IP Nexthop:10.21.2.1 Relay IP Out-Interface:Ethernet0/1/0 Original nexthop:2.2.2.2 Qos information:0x0 AS-path Nil,origin incomplete,MED 0,localpref 100,pref-val 0,valid,internal,best,select,pre 255,IGP cost 1,not preferred for route type Not advertised to any peer yet
<HUAWEI> display bgp vpn-target routing-table peer 2.2.2.2 received-routes origin-as 100 1:1 BGP local router ID:1.1.1.1 Local AS number:100 Origin AS:100 BGP routing table entry information of RT<1:1>/96: FROM:2.2.2.2(2.2.2.2) Route Duration:18h20m42s Relay IP Nexthop:10.21.2.1 Relay IP Out-Interface:Ethernet0/1/0 Original nexthop:2.2.2.2 Qos information:0x0 AS-path Nil,origin incomplete,MED 0,localpref 100,pref-val 0,valid,internal,best,select,pre 255,IGP cost 1,not preferred for route type Not advertised to any peer yet
<HUAWEI> display bgp vpn-target routing-table peer 2.2.2.2 received-routes
Received routes total: 2
BGP Local router ID is 10.2.1.2
Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Origin AS: 100
Network NextHop MED LocPrf PrefVal Path/Ogn
*>i RT<1:1> 2.2.2.2 0 100 0 ?
*>i RT<0.1:1> 2.2.2.2 0 100 0 ?
Item | Description |
---|---|
BGP local router ID | Router ID of the local device, in the format of an IPv4 address. |
BGP routing table entry information of RT <1 : 1>/96 | The following information is about a specified BGP route. |
Local AS number | Local AS number. |
Origin AS | Origin AS number of the route. |
Origin | Origin attribute:
|
Route Duration | Duration of the route. |
Relay IP Nexthop | Next hop to which the route recurses. |
Relay IP Out-Interface | Outbound interface obtained when the route recurses to another route. |
Original nexthop | Original next-hop IP address. |
Qos information | QoS information. |
AS-path | AS_Path attribute. Nil indicates that the attribute value is null. |
Not advertised to any peer yet | The route has not been advertised to any peer yet. |
MED | Multi-exit discriminator (MED), which is used to determine the optimal route when traffic enters an AS. During route selection, the route with the smallest MED value is selected as the optimal route if all other attributes are the same. |
LocPrf | Local_Pref of the BGP route. |
FROM | IP address of the device that advertised the route. |
pref-val | PrefVal of the route. |
internal | The route is internal. |
pre | The priority of the BGP route. |