Enabling the mpls l2vpn mix function – H3C Technologies H3C SR8800 User Manual

Page 213

Advertising
background image

202

Step Command

1.

Enter system view.

system-view

2.

Enter MPLS L2VPN view.

mpls l2vpn vpn-name

3.

Create a CE for a VPN and enter MPLS
L2VPN CE view.

ce ce-name [ id ce-id [ range ce-range ] [ default-offset
ce-offset ] ]

4.

Create a Kompella connection.

connection [ ce-offset id ] interface interface-type
interface-number
[ tunnel-policy tunnel-policy-name ]

CAUTION:

You cannot enable both VLL and MPLS on an interface of the router, for example, a routing interface or
routing sub-interface. Otherwise, neither the MPLS service nor the MPLS L2VPN service can work

normally and you must remove both of the two services first for further service configuration.

If a Layer 3 Ethernet interface is bound with an L2VPN, the Layer 3 Ethernet sub-interfaces of the Layer
3 Ethernet interface cannot be bound with any L2VPN or VPLS instance. If a Layer 3 Ethernet

sub-interface is bound with an L2VPN, the Layer 3 Ethernet interface of the sub-interface cannot be

bound with any L2VPN or VPLS instance.

Enabling the MPLS L2VPN mix function

If you configure MPLS L2VPN services (including VLL and VPLS) on both the SPC card and the SPE card

of a router, you need to enable the MPLS L2VPN mix function, so that the SPC card and the SPE card can
work together to forward L2VPN traffic normally.

CAUTION:

When only the SPC card is working, do not configure the MPLS L2VPN mix function. Otherwise, the
HoVPN function cannot take effect.

To configure the MPLS L2VPN mix function:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable the MPLS L2VPN mix
function.

vpn l2vpn mix

Optional.
By default, the MPLS L2VPN mix function is
enabled when both the SPC card and the

SPE card are working.

NOTE:

With the MPLS L2VPN mix function enabled, the HoVPN function on the SPC card cannot take effect.
With the HoVPN function enabled, the MPLS L2VPN mix function cannot take effect.

When both the SPC card and the SPE card of a router are working, if you want to configure the HoVPN
function on the SPC card, first use the undo vpn l2vpn mix command to disable the MPLS L2VPN mix

function.

For configuration information of HoVPN, see the chapter “Configuring MPLS L3VPN.”

Advertising