< Home

display l2vpn ccc-interface vc-type

Function

The display l2vpn ccc-interface vc-type command displays information about the interface used by an L2VPN connection.

Format

display l2vpn ccc-interface vc-type { all | vc-type } [ down | up ]

Parameters

Parameter Description Value
all Displays information about all interfaces of L2VPN connections. -
vc-type Specifies the type of the L2VPN connection.
The following types of the L2VPN connection are available:
  • ccc: Cross Circuit Connection

  • ldp-vc: L2VPN connection in the Martini mode

  • static-vc: L2VPN connection in the SVC mode

  • bgp-vc: L2VPN connection in the Kompella mode

  • vpls-vc: VPLS connection

down Displays information about interfaces of L2VPN connection in the Down state. -
up Displays information about interfaces of L2VPN connection in the Up state. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When locating L2VPN faults, you can use the display l2vpn ccc-interface vc-type command to view information about the AC interface of the current L2VPN connection, the total number of AC interfaces of various L2VPN connections, interface status, interface encapsulation type, and L2VPN connection types.

Example

# Display information about all the interfaces of L2VPN.

<HUAWEI> display l2vpn ccc-interface vc-type all
Total ccc-interface of LDP VC: 1                                                
up (1), down (0)                                                                
Interface                     Encap Type               State     VC Type        
Vlanif12                      vlan                     up        ldp-vc         
Table 1 Description of the display l2vpn ccc-interface vc-type command output

Item

Description

Total ccc-interface of CCC : 2

up (2), down (0)

Total number of L2VPN connections is 2. Two connections is Up. No connection is Down.

Interface

Interface connected to the L2VPN connection on the switch.

Encap Type

Encapsulation type of the L2VPN connection. The encapsulation type can be VLAN encapsulation or Ethernet encapsulation.

State

Current status of the L2VPN connection. The status can be Up or Down.

VC Type

Type of the L2VPN connection:

  • ccc: Cross Circuit Connection

  • ldp-vc: L2VPN connection in the Martini mode

  • static-vc: L2VPN connection in the SVC mode

  • bgp-vc: L2VPN connection in the Kompella mode

  • vpls-vc: VPLS connection

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