display bgp vpls { all | route-distinguisher route-distinguisher [ site-id site-id [ label-offset label-offset ] ] }
Parameter | Description | Value |
---|---|---|
all |
Displays all VPLS information in the BGP VPLS address family. |
- |
route-distinguisher route-distinguisher |
Displays the VSI information about the specified Route Distinguisher (RD). The formats of an RD are as follows:
|
- |
site-id site-id |
Displays the VSI of the specified site ID. |
The value is an integer that ranges from 0 to 65534. |
label-offset label-offset |
Displays the VSI information about the specified label offset. |
The value is an integer that ranges from 0 to 65535. |
You can specify the parameter values of the command to view required VPLS.
When the output information is excessive, you can run the display bgp vpls peer command to view information about the BGP peer in the VPLS, and run the display bgp vpls group command to view information about the BGP peer group in the VPLS.
# Display the VPLS with the VSI of the BGP RD as 1.1.1.2:1.
<HUAWEI> display bgp vpls route-distinguisher 1.1.1.2:1
BGP Local Router ID : 10.1.1.1, Local AS Number : 100
Status codes : * - active, > - best
--------------------------------------------------------------------------------
Route Distinguisher: 1.1.1.2:1
SiteID Offset NextHop Range LabBase TunnelID FromPeer MHPref
--------------------------------------------------------------------------------
> 1 0 0.0.0.0 3 35840 0x0 0.0.0.0 0
Item |
Description |
---|---|
BGP Local Router ID |
ID of the BGP local router. To set the value, run the router-id command. |
Local AS Number |
Local AS number. To set the value, run the bgp command. |
Status codes |
Route status.
|
Route Distinguisher |
RD of the VPN instance. To set the value, run the route-distinguisher command. |
SiteID |
Site ID of the remote VSI. To set the value, run the site command. |
Offset |
Offset of the site ID. The value is 0 or 1 and the default value is 0. To set the value, run the site command. |
Nexthop |
IP address of the next hop. |
Range |
Range of the number of sites in the VSI. The value is a decimal integer. To set the value, run the site command. |
LabBase |
Start number of the allocated labels. |
Tunnel ID |
Tunnel ID, which is automatically allocated by the system and is in hexadecimal notation. |
FromPeer |
IP address of the BGP peer. |
MHPref |
Multi-homing preference. To set the value, run the multi-homing-preference command. |