H3C S9500 Series Operation Manual - page 27
Operation Manual – MPLS VLL
H3C S9500 Series Routing Switches
Chapter 1 MPLS VLL
1-26
To do...
Use the command...
Remarks
Activate the peer or
peer group.
peer { group-name|
peer-address }
enable
Required
By default, only the peers of BGP
IPv4 unicast address families are
active. The peer groups of other
types are deactivated and thus
cannot exchange the routing
information.
Create a VPN and
specify the
encapsulation type.
mpls l2vpn
vpn-name
[ encapsulation
{ ethernet | vlan } ]
Required
The default encapsulation type is
Ethernet. In the Kompella mode,
the encapsulation type of the
access side of the private network
can be Ethernet access and
VLAN access. If you configure the
encapsulation type as Ethernet
access, the port link type in a
private network VLAN is Access
type; if you configure the
encapsulation type as VLAN
access, the port link type in a
private network VLAN is Trunk
type. It is not recommended to
use Hybrid type as the port link
type in a private network VLAN.
The user access modes of the
instance in all the peer PEs must
be consistent.
Configure the RD
(route distinguisher) of
the MPLS VLL
route-distinguisher
route-distinguisher
Required
For an MPLS VLL, you must
configure the RD before
performing other configurations.
An RD cannot be modified once it
is configured. The only way to
modify a configured RD is to
remove the corresponding MPLS
VLL and create another one. As
for VLL, it is recommended that
you assign a unique RD for each
VPN.
Configure the
VPN-target of the
MPLS VLL
vpn-target
vpn-target-ext-comm
unity
[ import-extcommu
nity|
export-extcommuni
ty | both ]
Required
Configure the Layer 2
MTU (maximum
transmission unit) of
the VPN
mtu mtu
Optional
The same MTU value must be
configured for all PEs in the same
VPN.