display vpls connection

Function

The display vpls connection command displays VPLS connection information.

Format

display vpls connection [ ldp | bgp-ad | bgp | vsi vsi-name ] [ up | down ] [ verbose ]

Parameters

Parameter Description Value
ldp

Displays information about VPLS connections established using the LDP signaling.

-

bgp-ad

Displays information about VPLS connections established using the BGP AD signaling.

-

bgp

Displays information about VPLS connections established using BGP signaling.

-

vsi vsi-name

Displays VPLS connection information about a specified VSI.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

up

Displays information about VPLS connections in the Up state.

-

down

Displays information about VPLS connections in the Down state.

-

verbose

Displays detailed information about VPLS connections.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

To check VPLS connection information after configuring a VPLS service, run the display vpls connection command. You can check desired VPLS connection information by specifying specific keywords and parameters in the command.

If no keyword or parameter is specified, information about all VPLS connections in the Up state is displayed.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display VPLS connection information about all VSIs.
<HUAWEI> display vpls connection
2 total connections,
connections: 1 up, 0 down, 1 ldp, 2 bgp, 0 bgpad

VSI Name: a2                              Signaling: ldp
VsiID      EncapType               PeerAddr         InLabel   OutLabel  VCState
2          vlan                    3.3.3.9          18        18        up  
VSI Name: b1                              Signaling: bgp
SiteID    RD                       PeerAddr         InLabel   OutLabel  VCState
1         2:2                      1.1.1.1          294939    294930    up
# Display detailed VPLS connection information about all VSIs.
<HUAWEI> display vpls connection verbose
VSI Name: a2                              Signaling: ldp
  **Remote Vsi ID   : 2
    VC State        : up
    Encapsulation   : vlan
    Group ID        : 0
    MTU             : 1500
    Peer Ip Address : 3.3.3.9
    PW Type         : label
    Local VC Label  : 18
    Remote VC Label : 18
    Tunnel Policy   : --
    Tunnel ID       : 0x0000000001004c4b44 
VSI Name: b1                               Signaling: bgp
  **Remote Site ID     : 1
    VC State           : up
    RD                 : 2:2
    Encapsulation      : bgp vpls
    MTU                : 1500
    Peer Ip Address    : 1.1.1.1
    PW Type            : label
    Local VC Label     : 294939
    Remote VC Label    : 294930
    Tunnel Policy      : --
    Tunnel ID          : 0x0000000001004c4b42 
    Remote Label Block : 294928/10/0
    Export vpn target  : 1:1
# Display information about remote VPLS connections in BGP AD mode.
<HUAWEI> display vpls connection bgp-ad
2 total bgpad connections ,
connections: 2 up, 0 down

VSI Name: ad1                              Signaling: bgpad
VPLS ID               EncapType      PeerAddr        InLabel   OutLabel  VCState
1.1:1                 vlan           2.2.2.9         1038      1042      up
VSI Name: ad2                              Signaling: ldp bgpad
VPLS ID               EncapType      PeerAddr        InLabel   OutLabel  VCState
2.2:2                 vlan           2.2.2.9         1039      1041      up
Table 1 Description of the display vpls connection command output
Item Description
total connections

Total number of PWs.

bgpad

Number of BGP A-D PWs.

VSI Name

Name of a VSI.

ldp

Number of LDP PWs.

VsiID

VSI ID.

EncapType

PW encapsulation type:

  • VLAN.
  • Ethernet.
PeerAddr

Peer IP address.

InLabel

VC label distributed locally.

OutLabel

VC label distributed by the peer.

VCState

VC status:

  • Up.
  • Down.
up

Number of PWs in the up state.

bgp

Number of BGP PWs.

RD

RD of a VSI.

VC State

VC status:

  • Up.
  • Down.
Encapsulation

PW encapsulation type:

  • VLAN.
  • Ethernet.
Group ID

Group identifier.

MTU

Maximum transmission unit.

Peer Ip Address

Peer IP address.

PW Type

PW type:

  • label: ordinary PW.
  • mehvpls: spoke PW.
Local VC Label

Local VC label.

Remote Vsi ID

Remote VSI ID that is consistent with the local VSI ID.

Remote VC Label

Remote VC label.

Remote Label Block

Remote label block.

Remote Site ID

Remote multi-homing site ID.

Tunnel Policy

Tunnel policy used by a VSI.

Tunnel ID

ID of a tunnel.

Export vpn target

VPN target carried in outgoing routes.

down

Number of PWs in the down state.

VPLS ID

ID that uniquely identifies whether multiple PEs belong to the same BGP AD VSI.

Signaling

Signaling mode:

  • ldp.
  • bgp.
  • bgp-ad.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >