display mpls l2vpn

Function

The display mpls l2vpn command displays BGP VPWS information.

Format

display mpls l2vpn [ l2vpn-name [ local-ce | remote-ce ] ]

Parameters

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.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

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 displayed information is repeatedly refreshed and the desired information cannot be obtained.
  • The system does not respond because of long-time information traversing and searching.

Example

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

# Display remote CE information about an MPLS L2VPN instance named vpn1.
<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
# Display local CE information about an MPLS L2VPN instance named vpn1.
<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
# Display all BGP VPWS information on a PE.
<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
# Display VPWS information about an MPLS L2VPN instance named vpn1.
<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
Table 1 Description of the display mpls l2vpn command output
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:

  • ATM 1to1 VCC.
  • ATM 1to1 VPC.
  • ATM AAL5 SDU.
  • ATM Nto1 VCC.
  • ATM Nto1 VPC.
  • ATM Transparent cell.
  • Ethernet.
  • IP-interworking.
  • IP-layer2.
  • PPP.
  • VLAN.
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).

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