Parameter | Description | Value |
---|---|---|
ldp |
Displays information about LDP signaling connections. |
- |
bgp |
Displays information about BGP signaling connections. |
- |
bgp-ad |
Displays information about BGP AD signaling connections. |
- |
vsi vsi-name |
Displays information about connections of the specified VSI. |
The value is an existing VSI. |
down |
Displays information about connections in Down state. |
- |
up |
Displays information about connections in Up state. |
- |
verbose |
Displays detailed information about connections. |
- |
Usage Scenario
After VPLS services are configured, you can run the display vpls connection command with different keywords or parameters to view information about specific VPLS connections.
Prerequisites
Configuring Kompella VPLS
Configuring Martini VPLS
Configuring BGP AD VPLS
Precautions
If no keyword or parameter is specified, information about all VPLS connections in Up state is displayed.
# Display information about the connections of all VSIs.
<HUAWEI> display vpls connection
2 total connections,
connections: 2 up, 0 down, 1 ldp, 1 bgp, 0 bgpad
VSI Name: a2 Signaling: ldp
VsiID EncapType PeerAddr InLabel OutLabel VCState
2 vlan 3.3.3.9 1026 1025 up
VSI Name: bgp1 Signaling: bgp
SiteID RD PeerAddr InLabel OutLabel VCState
2 168.1.1.2:1 3.3.3.9 35842 35841 up
Item |
Description |
---|---|
VSI Name |
Name of the VSI. To set the value, run the vsi command. |
Signaling |
Signaling mode: ldp, bgp, bgpad or ldp bgpad. To set the value, run the pwsignal or bgp-ad command. |
VsiID |
VSI ID. To set the value, run the vsi-id command. |
EncapType |
VPLS encapsulation type of the VSI, namely, the encapsulation type of the packets transmitted over the VC. To set the value, run the encapsulation command. |
PeerAddr |
IP addresses of the peer. |
InLabel |
VC label distributed locally. |
OutLabel |
Local outgoing label, namely, the VC label distributed by the peer. |
VCState |
Status of the VC. |
SiteID |
Site ID of the remote VSI. To set the value, run the site command. |
RD |
RD used for identifying a VSI on the PE in the VPLS using BGP signaling. To set the value, run the route-distinguisher command. |
# Display the detailed information about all VSI connections.
<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 : 1026
Remote VC Label : 1025
Tunnel Policy : --
Tunnel ID : 0x1
VSI Name: bgp1 Signaling: bgp
**Remote Site ID : 2
VC State : up
RD : 168.1.1.2:1
Encapsulation : vlan
MTU : 1500
Peer Ip Address : 3.3.3.9
PW Type : label
Local VC Label : 35842
Remote VC Label : 35841
Tunnel Policy : --
Tunnel ID : 0x1
Remote Label Block : 35840/5/0
Export vpn target : 100:1
Item |
Description |
---|---|
VSI Name |
Name of the VSI. To set the value, run the vsi command. |
Signaling |
Signaling mode: ldp, bgp, bgpad or ldp bgpad. |
Remote Vsi ID |
Remote VSI ID that is consistent with the local VSI ID. |
VC State |
Status of the VC, which can be Up or Down. |
Encapsulation |
VPLS encapsulation type of the VSI, namely, the encapsulation type of the packets transmitted over the VC. The encapsulation type is VLAN or Ethernet. To set the value, run the encapsulation command. |
Group ID |
Group identifier. |
MTU |
Maximum transmission unit. To set the value, run the mtu command. |
Peer Ip Address |
IP addresses of the peer. |
PW Type |
Type of the PW. |
Local VC Label |
Local VC label. |
Remote VC Label |
Remote VC label. |
Tunnel Policy |
Tunnel policy that is used by the L2VPN. |
Tunnel ID |
Tunnel ID. |
Remote Label Block |
Remote label block. |
Export vpn target |
Outbound extended community attribute to the target VPN. |
# Display the detailed information about connections of a VSI named bgp1
<HUAWEI> display vpls connection vsi bgp1 verbose
VSI Name: bgp1 Signaling: bgp
**Remote Site ID : 2
VC State : up
RD : 168.1.1.2:1
Encapsulation : vlan
MTU : 1500
Peer Ip Address : 3.3.3.9
PW Type : label
Local VC Label : 35842
Remote VC Label : 35841
Tunnel Policy : --
Tunnel ID : 0x1
Remote Label Block : 35840/5/0
Export vpn target : 100:1
Item |
Description |
---|---|
VSI Name |
Name of the VSI. |
Signaling |
Signaling mode: ldp, bgp, bgpad or ldp bgpad. |
Remote Site ID |
the Site ID of remote peer. |
VC State |
Status of the VC. |
RD |
Local router distinguisher. |
Encapsulation |
VPLS encapsulation type of the VSI, namely, the encapsulation type of the packets transmitted over the VC. |
MTU |
Maximum transmission unit. |
Peer Ip Address |
IP addresses of the peer. |
PW Type |
Type of the PW. |
Local VC Label |
VC label distributed locally. |
Remote VC Label |
VC label distributed by the peer. |
Tunnel Policy |
Tunnel policy. |
Tunnel ID |
Tunnel ID. |
Remote Label Block |
Remote label block. |
Export vpn target |
Outbound extended community attribute to the target VPN. |
# Display information about BGP AD VPLS connections with peers.
<HUAWEI> display vpls connection bgp-ad
1 total bgpad connections ,
connections: 1 up, 0 down
VSI Name: vplsad1 Signaling: bgpad
VPLS ID EncapType PeerAddr InLabel OutLabel VCState
168.1.1.1:1 vlan 3.3.3.9 1027 1026 up
Item |
Description |
---|---|
VSI Name |
Name of the VSI. |
Signaling |
VPLS signaling mode:
|
VPLS ID |
Identifier of a BGP AD VPLS domain. |
EncapType |
VPLS encapsulation type of the VSI, namely, the encapsulation type of the packets transmitted over the VC:
|
PeerAddr |
IP addresses of the peer. |
InLabel |
VC label distributed locally. |
OutLabel |
Local outgoing label, namely, the VC label distributed by the peer. |
VCState |
Status of the VC.
|
# Display detailed information about BGP AD connections of the VSIs that are in Up state.
<HUAWEI> display vpls connection bgp-ad up verbose
VSI Name: vplsad1 Signaling: bgpad
**VPLS ID : 168.1.1.1:1
VC State : up
Encapsulation : vlan
Group ID : 0
MTU : 1500
Peer Ip Address : 3.3.3.9
PW Type : label
Local VC Label : 1027
Remote VC Label : 1026
Tunnel Policy : --
Item |
Description |
---|---|
VSI Name |
Name of the VSI. |
Signaling |
VPLS signaling mode:
|
VPLS ID |
Identifier of a BGP AD VPLS domain. |
Encapsulation |
VPLS encapsulation type of the VSI, namely, the encapsulation type of the packets transmitted over the VC:
|
Group ID |
Group identifier |
MTU |
Maximum transmission unit. |
Peer Ip Address |
IP addresses of the peer. |
Local VC Label |
VC label distributed locally. |
Remote VC Label |
Local outgoing label, namely, the VC label distributed by the peer. |
Tunnel Policy |
Name of a tunnel policy used by the VPLS. |