Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 3 MPLS L2VPN Configuration Commands
Huawei Technologies Proprietary
3-1
Chapter 3 MPLS L2VPN Configuration Commands
3.1 CCC Configuration Commands
3.1.1 ccc
Syntax
ccc
ccc-connection-name interface vlan-interface vlan-id
{
transmit-lsp
transmit
-
lsp
-
name
receive-lsp
receive
-
lsp
-
name
|
out-interface outinterface
-
type
outinterface-number
}
undo ccc
ccc-connection-name
View
System view
Parameter
ccc-connection-name
: Name of the CCC (circuit cross connect) connection, which is
used to uniquely identify the CCC connection in the PE (provider edge). This argument
is 1 to 20 characters in length.
vlan-id
: ID of the VLAN whose interface is used to establish the connection. It must be
the ID of an existing VLAN.
transmit
-
lsp
-
name
: Name of transmitting LSP (the ingress LSP).
receive
-
lsp
-
name
: Name of receiving LSP (the egress LSP).
outinterface
-
type
outinterface-number
: Name of the interface connecting to the second
CE (custom edge).
Description
Use the
ccc ccc-connection-name interface vlan-interface vlan-id transmit-lsp
receive-lsp
command to create a remote CCC connection.
Use the
ccc ccc-connection-name interface vlan-interface vlan-id out-interface
command to create a local CCC connection.
Use the
undo ccc
command to remove a local/remote CCC connection.
When the interface is a VLAN interface, a CCC connection encapsulates data as
Ethernet packets by default.
Example
# Create a remote CCC connection, with the name of clink, the transmitting LSP of tlsp,
and the receiving LSP of rlsp.