display bgp l2vpn-ad routing-table [ vpls-ad ] network
display bgp l2vpn-ad routing-table peer ipv4-address advertised-routes [ vpls-ad ] network
display bgp l2vpn-ad route-distinguisher route-distinguisher routing-table [ vpls-ad ] network
display bgp l2vpn-ad routing-table peer ipv4-address received-routes [ vpls-ad ] network
Parameter | Description | Value |
---|---|---|
vpls-ad |
Displays VPLS-AD route information. |
- |
network |
Specifies an IPv4 network address. |
The value is in dotted decimal notation. |
peer ipv4-address |
Displays the routes of the specified BGP peer. |
The value is in dotted decimal notation. |
advertised-routes |
Displays the routes advertised to a specified peer. |
- |
route-distinguisher route-distinguisher |
Displays BGP L2VPN-AD routes of the specified Route Distinguisher (RD). |
The RD formats are divided into the following types:
|
received-routes |
Displays the routes received from the specified peer. |
- |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp l2vpn-ad routing-table
Local AS number : 100
BGP Local router ID is 11.11.11.1
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
RPKI validation codes: V - valid, I - invalid, N - not-found
Total number of routes from all PE: 1
Route Distinguisher: 1:1
Network NextHop MED LocPrf PrefVal Path/Ogn
*>i 11.1.1.1/32 11.11.11.2 100 0 ?
<HUAWEI> display bgp l2vpn-ad routing-table 1.1.1.1
BGP local router ID : 11.11.11.1
Local AS number : 100
Total routes of Route Distinguisher(1:1): 1
BGP routing table entry information of 11.1.1.1/32:
From: 11.11.11.2 (11.1.1.1)
Route Duration: 00h29m44s
Original nexthop: 11.11.11.2
Qos information : 0x0
Ext-Community:RT <1 : 1>, Layer2 Info <1 : 1>
AS-path Nil, origin incomplete, localpref 100, pref-val 0, valid, internal, best, select, pre 255
Not advertised to any peer yet
Item | Description |
---|---|
Local AS number | Local AS number. |
BGP local router ID | ID of the local BGP router. The format is the same as the IPv4 address. |
best | Optimal route. |
Total routes of Route Distinguisher(1:1) | Number of routes with the RD of 1:1. |
Total number of routes from all PE | Number of routes from all Pes. |
Route Distinguisher | Route distinguisher (RD). |
Route Duration | Duration of routes. |
Network | Network address in the BGP routing table. |
NextHop | Next hop address of a packet. |
MED | Multi-Exit discriminator, If the MED is null, the route is learned from an IBGP peer. |
LocPrf | Local_Pref, If the Local_Pref is null, the route is learned from an EBGP peer. |
PrefVal | PrefVal. |
Path/Ogn | AS_Path number or Origin. |
Original nexthop | Original next hop. |
Qos information | QoS information. |
Layer2 Info | Information of the link layer. |
AS-path Nil | AS_Path attribute, with Nil indicating that the attribute value is null. |
origin incomplete | Origin attribute:
|
localpref | Local_Pref. |
pref-val | PrefVal. |
pre 255 | The priority of the BGP route is 255. |
Not advertised to any peer yet | The BGP route has not been advertised to any peer yet. |
From | IP address of the router that sends the route. In this example, 11.11.11.2 is the IP address of the source interface of the peer with which the BGP connection is established, and 11.1.1.1 is the Router ID of the peer. |
Ext-Community | Extended community attribute. |
valid | Valid route. |
internal | Internal route. |
select | Selected route. |