3Com S7902E Command Reference Manual - page 1586
1-3
[Sysname] mpls l2vpn vpn1 encapsulation ethernet
[Sysname-mpls-l2vpn-vpn1] route-distinguisher 100:1
[Sysname-mpls-l2vpn-vpn1] ce ce1 id 1
[Sysname-mpls-l2vpn-ce-vpn1-ce1]
# Create a CE named ce2 for a VPN.
[Sysname] mpls l2vpn vpn1 encapsulation ethernet
[Sysname-mpls-l2vpn-vpn1] route-distinguisher 100:1
[Sysname-mpls-l2vpn-vpn1] ce ce1 id 1
[Sysname-mpls-l2vpn-ce-vpn1-ce1] ce ce1 id 2
[Sysname-mpls-l2vpn-ce-vpn1-ce2]
connection
Syntax
connection
[
ce-offset
id
]
interface
interface-type interface-number
[
tunnel-policy
tunnel-policy-name
]
undo connection
{
ce-offset id
|
interface interface-type interface-number
}
View
MPLS L2VPN CE view
Default Level
2: System level
Parameters
ce-offset
id
: Specifies the ID of the peer CE of the L2VPN connection, in the range 0 to 199.
interface-type
interface-number
: Specifies the interface connecting the CE by its type and number. The
encapsulation type must be same as that of the VPN.
tunnel-policy tunnel-policy-name
: Specifies a tunneling policy for the VC, which is a string of 1 to 19
characters.
Description
Use the
connection
command to create a Kompella connection.
Use the
undo connection
command to delete a Kompella connection on a CE interface.
When creating a Kompella connection, you must specify the ID of the peer CE and the local CE
interface.
If you do not specify the tunneling policy, or specify the tunneling policy name but do not configure the
policy, the default policy is used. The default tunneling policy uses LSP tunnels and the load balance
number of one.
Related commands:
tunnel select-seq load-balance-number
in
MPLS L3VPN Commands
of the
MPLS Volume
.
Examples
# Create a Kompella connection.