display mpls l2vpn connection

Function

The display mpls l2vpn connection command displays BGP VPWS connection information.

Format

display mpls l2vpn connection l2vpn-name [ remote-ce remote-ce-id | down | up | verbose ]

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 (").

remote-ce remote-ce-id

Specifies a remote CE ID.

The value is an integer ranging from 0 to 65534.

down

Displays information about VPWS connections in the Down state.

If down is not configured, information about all VPWS connections is displayed.

-

up

Displays information about VPWS connections in the Up state.

If up is not configured, information about all VPWS connections is displayed.

-

verbose

Displays detailed VPWS connection information.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

To check BGP VPWS connection information after configuring BGP VPWS, run the display mpls l2vpn connection 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 connection 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 information about all BGP VPWS connections.
<HUAWEI> display mpls l2vpn connection
1 total connections, 
connections: 1 up, 0 down, 0 local, 1 remote, 0 unknown

VPN name: vpn1,
1 total connections, 
connections: 1 up, 0 down , 0 local, 1 remote, 0 unknown

  CE name: ce1, id: 1,
  Rid type status peer-id         route-distinguisher interface    
  primary or not
----------------------------------------------------------------------------
  2   rmt  up     3.3.3.9         100:1               GigabitEthernet0/1/0
  primary
Table 1 Description of the display mpls l2vpn connection command output
Item Description
1 total connections

Information about all BGP VPWS connections on the local device, including the total number of connections, number of connections in the Up state, number of connections in the Down state, number of local connections, number of remote connections, and number of unknown connections.

total

Total number of connections of an MPLS L2VPN instance.

unknown

Number of unknown connections of an MPLS L2VPN instance.

VPN name

MPLS L2VPN instance name.

CE name

Local CE name.

Rid

Remote CE ID.

type

Type of the CE connection:

  • rmt: The connection is a remote connection.
  • loc: The connection is a local connection.
  • ---: The destination CE does not exist, or the signaling connection fails to be established during remote connection creation.
status

CE connection status:

  • up: The connection is successfully established.
  • down: The connection fails to be established. A possible cause is that the configurations are incorrect or the AC interface is Down.
peer-id

Peer IP address.

route-distinguisher

RD of an MPLS L2VPN instance.

interface

AC interface connecting to a CE.

primary or not

Whether a VC is a primary or secondary VC:

  • primary.
  • secondary.
up

Number of Up connections of an MPLS L2VPN instance.

id

Local CE ID.

local

Number of local connections of an MPLS L2VPN instance.

remote

Number of remote connections of an MPLS L2VPN instance.

connections

CE connection type:

  • local: local connection.
  • remote: remote connection.
  • unknown: unknown connection. The possible cause is that:
  • The destination CE does not exist.
  • The signaling connection fails to be established during remote connection creation.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >