The display bgp l2vpn-ad routing-table vpls command displays VPLS route information in the L2VPN-AD address family.
display bgp l2vpn-ad routing-table vpls route-distinguisher route-distinguisher site-id site-id label-offset label-offset
display bgp l2vpn-ad routing-table peer ipv4-address advertised-routes vpls route-distinguisher route-distinguisher site-id site-id label-offset label-offset
display bgp l2vpn-ad routing-table peer ipv4-address received-routes vpls route-distinguisher route-distinguisher site-id site-id label-offset label-offset
Parameter | Description | Value |
---|---|---|
route-distinguisher route-distinguisher |
Displays BGP L2VPN-AD routes of the specified Route Distinguisher (RD). |
The RD formats are divided into the following types:
|
site-id site-id |
|
The value is a decimal integer ranging from 0 to 65535. |
label-offset label-offset |
Specifies the offset of a label. |
The value is a decimal integer ranging from 0 to 65535. |
peer ipv4-address |
Displays information about BFD sessions of a peer. |
It is in dotted decimal notation. |
advertised-routes |
Displays the routes advertised to a specified peer. |
- |
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 vpls route-distinguisher 2:2 site-id 2 label-offset 0
BGP local router ID : 10.0.0.3
Local AS number : 100
Paths: 1 available, 1 best, 1 select
BGP routing table entry information of 2:2/2/0:
From: 2.2.2.2 (10.0.0.2)
Route Duration: 0d00h00m31s
Relay IP Nexthop: 10.0.0.2
Original nexthop: 2.2.2.2
Qos information : 0x0
Ext-Community:RT <1 : 1>, Layer2 Info <Encaps Type: 19, Control Flags: 0, Layer-2 MTU: 1500, VPLS Preference: 0>
LabelBase(Received/Applied): NULL/294928, Range: 8
AS-path Nil, origin incomplete, localpref 100, pref-val 0, valid, internal, best, select, pre 255
Not advertised to any peer yet
Item | Description |
---|---|
BGP local router ID | ID of the local BGP router. The format is the same as the IPv4 address. |
BGP routing table entry information | The following information is about the specified BGP routes. |
BGP routing table entry information of | The following information is about a specified BGP route. |
Local AS number | Local AS number. |
select | Selected route. |
Route Duration | Duration of routes. |
Relay IP Nexthop | The relay next hop address. |
Original nexthop | The original next hop address. |
Qos information | QoS information. |
Layer2 Info | Information of the link layer. |
Control Flags | Flags for control. |
Layer-2 MTU | The MTU value of Layer 2. |
VPLS Preference | The preference level of VPLS. |
LabelBase(Received/Applied): | The base label value. |
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. |
Paths | Information about paths. |
From | IP address of the device that advertises the route. |
Ext-Community | Extended community attribute. |
Range | The range of label value. |
valid | Valid route. |
internal | Internal route. |
best | Optimal route. |