< Home

display mpls l2vpn connection

Function

The display mpls l2vpn connection command displays information about L2VPN connections of the Kompella mode.

Format

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

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

Parameters

Parameter Description Value
vpn-name Displays information about the specified L2VPN. The value is an existing VPN name. If you do not specify a VPN name, information about all the L2VPNs is displayed.
remote-ce ce-id Displays information about the remote connections of the specified CE. The value is a decimal integer ranging from 0 to 249.
down Displays the information of the connections that are Down. If you do not specify this parameter, the detailed information about connections in both Up and Down state is displayed. -
up Displays the information of the connections that are Up. If you do not specify this parameter, the detailed information about connections in both Up and Down state is displayed. -
verbose Shows detailed information of connections. It is valid only when information about all the connections is displayed. -
summary Displays the summary information of connections. -
interface interface-type interface-number Displays information about the connections on the interface of the specified type and number.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After configuring an L2VPN connection of the Kompella mode, you can use the display mpls l2vpn connection vpn-name command to check the status of the connection.

The display mpls l2vpn connection command displays information about all the L2VPN connections of the Kompella mode on the local device.

Example

# Display information about all the L2VPN Kompella connections.

<HUAWEI> display mpls l2vpn connection
1 total connections,
connections: 1 up, 0 down, 0 local, 1 remote, 0 unknown

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

  CE name: 116-119, id: 2,
  Rid type status peer-id         route-distinguisher interface
  primary or not
----------------------------------------------------------------------------
  1   rmt  up     6.6.6.6         1:1                 Vlanif222
  primary
Table 1 Description of the display mpls l2vpn connection command output

Item

Description

1 total connections,connections: 1 up, 0 down, 0 local, 1 remote, 0 unknown

The first two lines indicate information about all the Kompella connections on the local device, including:

  • 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

  • Number of unknown connections

VPN name

Name of the created VPN instance.

1 total connections,connections: 1 up, 0 down, 0 local, 1 remote, 0 unknown

Information about the VPN connections, including:

  • 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

  • Number of unknown connections

CE name:

Name of the CE.

id:

CE ID of the CE connection, which uniquely identifies a CE in a VPN.

Rid

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

type

Type of the CE connection:
  • rmt: indicates a remote connection.
  • loc: indicates a local connection.
  • ---: indicates the destination CE does not exist or the signaling connection setup fails when you set up a remote connection.

status

Status of the CE connection:
  • Up: indicates the connection is set up successfully.
  • Down: indicates the connection setup fails because the configuration is incorrect or the associated interface is Down.

peer-id

IP address of the peer that sets up the session with the local end.

route-distinguisher

RD of the VPN to which the CE belongs.

interface

Interface (an AC interface) connected to the CE.

primary or not

Whether the VC is a primary VC or a secondary VC.

# Display the Kompella L2VPN remote connection on GE0/0/1

<HUAWEI> display mpls l2vpn connection interface gigabitethernet 0/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):          GigabitEthernet0/0/1(up,ethernet)
     peer id:                    2.2.2.2
     route-distinguisher:        100:2
     local vc label:             31745
     remote vc label:            35842 
     tunnel policy:              default
     CKey:                       2
     NKey:                       1    
     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:                lsp
     tunnel id:                  0x1000c 
     Slave tunnel type:          lsp
     Slave tunnel id:            0x0
Table 2 Description of the remote connection in the display mpls l2vpn connection interface command output

Item

Description

conn-type

Type of the L2VPN connection:

  • local: indicates the local L2VPN connection.

  • remote: indicates the remote L2VPN connection.

  • unknown: indicates the unknown L2VPN connection. The reason that the unknown connection appears may be that the destination CE does not exist, or the signaling connection fails to be set up during the configuration of a remote connection.

local vc state

Status of the local VC:

  • Up: indicates that the connection is successfully set up.

  • Down: indicates the setup of the connection fails because the configuration is incorrect or the status of related interfaces is Down.

remote vc state

Status of the destination VC:

  • Up: indicates that the connection is successfully set up.

  • Down: indicates the setup of the connection fails because the configuration is incorrect or the status of related interfaces is Down.

local ce-id

ID of the local CE.

local ce name

Name of the local CE.

remote ce-id

ID of the destination CE that sets up the connection with the local CE.

intf (state,encap)

Status and encapsulation type of the local interface.

peer id

IP address of the peer setting up a session with the CE.

route-distinguisher

RD of the VPN to which the CE interface belongs.

local vc label

Label generated by the local system.

remote vc label

Remote label that is assigned to the local end by the remote LDP.

tunnel policy

Tunnel policy applied to the CE connection.

CKey

Index of the public tunnel (for VPN QoS).

NKey

Index of the public tunnel.

primary or secondary

Whether the VC is a primary VC or a secondary VC.

forward entry exist or not

Whether forwarding entries exist.

forward entry active or not

Whether forwarding entries are in the active state. (If so, user packets can be forwarded.)

manual fault set or not

Whether the PW fault is configured manually.

AC OAM state

OAM status of the local AC.

BFD for PW session index

Index of the BFD for PW.

BFD for PW state

Status of BFD for PW.

BFD for LSP state

Status of BFD for LSP.

Local C bit is not set

L2VPN disabled with the control word. If the control word is enabled, the information is not displayed.

Remote C bit is not set

The remote site disabled with the control word. If the control word is enabled, the information is not displayed.

tunnel type

Tunnel type. The tunnel transmits data of the CE in the public network.

tunnel id

ID of the tunnel. The tunnel transmits data of the CE in the public network.

Slave tunnel type

Type of the backup tunnel when PW over LDP FRR is applied.

Slave tunnel id

ID of the backup tunnel when PW over LDP FRR is applied.

# Display the summary of the Kompella L2VPN 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
Table 3 Description of the display mpls l2vpn connection summary command output

Item

Description

total connections

Number of all L2VPN connections on the device.

connections:

Number of L2VPN connections of the following status:
  • Up
  • Down
  • remote
  • local
  • unknown

No.

Sequence number of the connection.

vpn-name

VPN instance name. Various types of connections are displayed in the order of L2VPN instances.

local-num

Number of local connections of the L2VPN instance.

remote-num

Number of all remote connections of the L2VPN instance.

unknown-num

Number of all unknown connections of the L2VPN instance.

up-num

Total number of successful connections of the L2VPN instance.

total-num

Total number of connections of the L2VPN instance.

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