display mpls l2vpn connection (All views)

Function

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

Format

display mpls l2vpn connection [ summary | interface { interface-type interface-number | interface-name } ]

Parameters

Parameter Description Value
summary

Displays a summary of VPWS connections.

-

interface interface-type interface-number

Specifies an AC interface.

-

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 a summary of all BGP VPWS connections.
<HUAWEI> display mpls l2vpn connection summary
1 total connections, 
connections: 1 up, 0 down, 0 local, 1 remote, 0 unknown
No.   vpn-name                local-num   remote-num  unknown-num up-num      total-num   
1     vpn1                    0           1           0           1           1
# Display information about BGP VPWS connections on VE interface.
<HUAWEI> display mpls l2vpn connection interface virtual-ethernet 0/1/0.1
conn-type: remote
     local vc state:             up
     remote vc state:            up
     local ce-id:                1
     local ce name:              ce1
     remote ce-id:               2
     intf(state,encap):          Virtual-Ethernet0/1/0.1(up,ethernet)
     peer id:                    4.4.4.9
     route-distinguisher:        100:1
     local vc label:             294930
     remote vc label:            294929
     tunnel policy:              default 
     CKey:                       129
     NKey:                       3841982621
     primary or secondary:       primary
     forward entry exist or not: true
     forward entry active or not:true
     manual fault set or not:    not set 
     AC OAM state:               up 
     BFD for PW session index:   -- 
     BFD for PW state:           invalid 
     BFD for LSP state:          true
     Local C bit is not set       
     Remote C bit is not set             
     tunnel type:                bgp
     tunnel id:                  0x00000000020104000
# 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 (All views) command output
Item Description
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.

No.

Serial number of a connection.

vpn-name

MPLS L2VPN instance name.

local-num

Number of local connections of an MPLS L2VPN instance.

remote-num

Number of remote connections of an MPLS L2VPN instance.

unknown-num

Number of unknown connections of an MPLS L2VPN instance.

up-num

Number of Up connections of an MPLS L2VPN instance.

total-num

Total number of connections of an MPLS L2VPN instance.

interface

AC interface connecting to a CE.

remote vc state

Status of the remote VC:

  • up: The VC is set up successfully.
  • down: The VC fails to be set up.
remote ce-id

ID of the remote CE that establishes a connection with the local CE.

remote vc label

VC label assigned to the local end by the remote end through BGP.

local vc state

Status of the local VC:

  • up: The VC is set up successfully.
  • down: The VC fails to be set up.
local ce-id

ID of the local CE.

local ce name

Name of the local CE.

local vc label

VC label generated by the local end.

peer id

Destination IP address of a VC.

tunnel policy

Tunnel policy applied to the CE connection.

tunnel type

Type of the tunnel used to transmit service data from the CE over the public network.

tunnel id

ID of the tunnel used to transmit service data from the CE over the public network.

primary or not

Whether a VC is a primary or secondary VC:

  • primary.
  • secondary.
primary or secondary

Whether a VC is a primary or secondary VC.

forward entry exist or not

Whether forwarding entries exist.

forward entry active or not

Whether a forwarding entry is active (only an active forwarding entry can be used to forward packets).

manual fault set or not

Whether a PW fault is manually created.

AC OAM state

OAM status of the local AC interface.

BFD for PW session index

Index of the BFD session for tracking the PW status.

BFD for PW state

Status of the BFD session for tracking the PW status.

BFD for LSP state

Status of the BFD session for tracking the LSP status.

Local C bit is not set

The control word function is not enabled on the local end. If the control word function is enabled, no information is displayed.

Remote C bit is not set

The control word function is not enabled on the remote end. If the control word function is enabled, no information is displayed.

VPN name

MPLS L2VPN instance name.

CE name

Name of the local CE.

Rid

ID of remote CE that establishes a connection with the local CE.

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.

id

ID of the local CE.

conn-type

CE connection type:

  • local: local connection.
  • remote: remote connection.
  • unknown: unknown connection. The possible causes are as follows:
    • The destination CE does not exist.
    • The signaling connection fails to be established during remote connection creation.
intf(state,encap)

Status and encapsulation type of the AC interface on the local CE.

CKey

Index of the PW.

NKey

Index of the public tunnel.

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