The display l2vpn ccc-interface vc-type command displays information about the interfaces used to set up an L2VPN connection.
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. |
- |
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.
The actual command output varies according to the device. The command output here is only an example.
<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
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:
|
VC Type | Type of the L2VPN connection:
|