| Parameter | Description | Value |
|---|---|---|
| l2vpn-name |
Specifies an MPLS L2VPN instance name. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. The string can contain spaces if it is enclosed in double quotation marks ("). |
| local-ce |
Displays VPWS information related to the local CE. |
- |
| remote-ce |
Displays VPWS information related to the remote CE. |
- |
Usage Scenario
To check VPWS information after configuring BGP VPWS, run the display mpls l2vpn command.
Prerequisites
BGP VPWS has been configured.
Precautions
If a device has large numbers of VPWS connections, filter undesired information by specifying related parameters when running the
display mpls l2vpn command. Otherwise, excessive output information may cause the following problems:
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mpls l2vpn vpn1 remote-ce
no. ce-id peer-id route-distinguisher LB
1 1 2.2.2.2 1:1 294929/0/8
<HUAWEI> display mpls l2vpn vpn1 local-ce
ce-name ce-id range conn-num CEBase/LBBase/Offset/Range
1 2 10 1 0/294929/0/8
<HUAWEI> display mpls l2vpn
VPN number: 2
vpn-name encap-type route-distinguisher autoRD mtu ce(L) ce(R)
vpn1 vlan 1:1 false 1500 1 1
vpn2 vlan 2:2 false 1500 2 2
<HUAWEI> display mpls l2vpn vpn1
VPN name: vpn1, encap type: vlan, local ce number(s): 1, remote ce number(s): 1
route distinguisher: 1:1, MTU: 1500
import vpn target: 100:1
export vpn target: 100:1
remote vpn site(s) :
no. remote-pe-id route-distinguisher ce-id(L) ce-id(R)
1 2.2.2.2 1:1 1 2
| Item | Description |
|---|---|
| no. | Serial number of a remote peer. |
| ce-id | Local CE ID. |
| peer-id | Peer IP address. |
| route-distinguisher | RD of an MPLS L2VPN instance. |
| LB | Label block information assigned to the remote CE, including the LB base, CE offset, and CE range. |
| ce-name | Name of the local CE. |
| range | Local CE range, indicating the number of connections that the local CE can establish with other CEs. |
| conn-num | Number of connections that the local CE has established with other CEs. |
| CEBase/LBBase/Offset/Range | Label block information assigned to the remote CE, including the CE base, LB base, CE offset, and CE range. |
| VPN number | Number of MPLS L2VPN instances. |
| VPN name | MPLS L2VPN instance name. |
| vpn-name | MPLS L2VPN instance name. |
| encap-type | Encapsulation type of an MPLS L2VPN instance:
|
| autoRD | Flag indicating whether the RD of a VPN instance is automatically generated. |
| mtu | MTU of an MPLS L2VPN instance. |
| ce(L) | Number of local CE connections (L indicates local). |
| ce(R) | Number of remote CE connections (R indicates remote). |
| local ce number(s) | Number of local CE connections. |
| remote ce number(s) | Number of remote CE connections. |
| remote vpn site(s) | Remote MPLS L2VPN instance information. |
| route distinguisher | RD of an MPLS L2VPN instance. |
| import vpn target | Import VPN target of an MPLS L2VPN instance. |
| export vpn target | Export VPN target of an MPLS L2VPN instance. |
| remote-pe-id | Remote PE ID (usually same as the MPLS LSR ID or BGP peer session address). |