< Home

display bgp vpls

Function

The display bgp vpls command displays information about VPLS in the BGP routing table.

Format

display bgp vpls { all | route-distinguisher route-distinguisher [ site-id site-id [ label-offset label-offset ] ] }

Parameters

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:
  • 16-bit AS number:32-bit user-defined number: for example, 101:3. An AS number ranges from 0 to 65535, and a user-defined number ranges from 0 to 4294967295. The AS number and user-defined number cannot be both 0. That is, a VPLS ID cannot be 0:0.
  • Integral 4-byte AS number:2-byte user-defined number, for example, 65537:3. An AS number ranges from 65536 to 4294967295. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, a VPLS ID cannot be 0:0.

  • 4-byte AS number in dotted notation:2-byte user-defined number, for example, 0.0:3 or 0.1:0. A 4-byte AS number in dotted notation is in the format of x.y, where x and y are integers that range from 1 to 65535 and from 0 to 65535, respectively. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, a VPLS ID cannot be 0.0:0.

  • 32-bit IP address:16-bit user-defined number: for example, 192.168.122.15:1. An IPv4 address ranges from 0.0.0.0 to 255.255.255.255, and a user-defined number ranges from 0 to 65535.

-

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.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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
Table 1 Description of the display bgp vpls route-distinguisher command output

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.

  • *: active route
  • >: best route

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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >