display l2vpn ccc-interface vc-type

Function

The display l2vpn ccc-interface vc-type command displays information about the interfaces used to set up an L2VPN connection.

Format

display l2vpn ccc-interface vc-type { all | ldp-vc | ccc | vpls-vc | static-vc | bgp-vc } [ up | down ]

Parameters

Parameter Description Value
all

Displays information about all interfaces used to set up L2VPN connections.

-

ldp-vc

Displays information about all interfaces used to set up LDP L2VPN connections.

-

ccc

Displays information about all interfaces used to set up CCC connections.

-

vpls-vc

Displays information about all interfaces used to set up VPLS connections.

-

static-vc

Displays information about all interfaces used to set up static L2VPN connections.

-

bgp-vc

Displays information about all interfaces used to establish BGP L2VPN connections.

-

up

Displays information about the interfaces whose L2VPN connections are in the Up state.

-

down

Displays information about the interfaces whose L2VPN connections are in the Down state.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2vpn read

Usage Guidelines

Usage Scenario

To check information about the AC interfaces used to set up L2VPN connections, including the total number of AC interfaces, interface status, encapsulation types, and L2VPN connection types, run the display l2vpn ccc-interface vc-type command. The command output facilitates L2VPN fault locating.

Example

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

# Display information about all interfaces used to set up L2VPN connections.
<HUAWEI> display l2vpn ccc-interface vc-type all
Total ccc-interface of CCC: 2
up (2), down (0)
Interface                            Encap Type               State     VC Type
GigabitEthernet0/1/16                 ethernet                 up        ccc
GigabitEthernet0/1/18                 ethernet                 up        ccc
Table 1 Description of the display l2vpn ccc-interface vc-type command output
Item Description
Total ccc-interface of CCC

Total number of L2VPN connections. The value is 2 and both L2VPN connections are Up.

up

Displays information about the interfaces whose L2VPN connections are in the Up state.

down

Displays information about the interfaces whose L2VPN connections are in the Down state.

Interface

Interface on the local device that is used for setting up an L2VPN connection.

Encap Type

Encapsulation type of the L2VPN connection.

State

Current status of the L2VPN connection:

  • up.
  • down.
VC Type

Type of the L2VPN connection:

  • ccc: indicates the L2VPN connection in CCC mode.
  • ldp-vc: indicates the L2VPN connection in LDP mode.
  • static-vc: indicates a static L2VPN connection.
  • vpls-vc: indicates the VPLS connection. In VPLS, the type of an L2VPN connection can only be vpls-vc.
  • bgp-vc: indicates the BGP VPWS connection.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >