The display l2vpn ccc-interface vc-type command displays information about the interface used by an L2VPN connection.
Parameter | Description | Value |
---|---|---|
all | Displays information about all interfaces of L2VPN connections. | - |
vc-type | Specifies the type of the L2VPN 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. | - |
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.
# 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
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: |