beautypg.com

Configuring mpls l2vpn, Configuring a pe interface connecting a ce, 6 configuring a pe interface connecting a ce – H3C Technologies H3C S7500E Series Switches User Manual

Page 198

background image

5-6

Configuring MPLS L2VPN

You can select any of the implementation methods for MPLS L2VPN as needed. However, no matter
what method you select, you must complete these two tasks:

z

Configuring MPLS basic capability

z

Enabling MPLS L2VPN

Follow these steps to complete the above two tasks:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the LSR ID

mpls lsr-id lsr-id

Required

Configure MPLS basic capability

and enter MPLS view

mpls

Required

Return to system view

quit

Specify the reserved VLAN

mpls l2vpn reserve vlan vlan-id

Optional

Required when using

LSQ1SRP1CB engine.

Enable MPLS L2VPN

mpls l2vpn

Required

Configuring a PE Interface Connecting a CE

A PE interface connecting a CE can use these encapsulation types:

z

Ethernet

z

VLAN

Configuring a PE Interface Connecting a CE to Use Ethernet

z

An Ethernet interface can use the encapsulation type of Ethernet. For Ethernet interface
configuration information, see Ethernet Port Configuration in the Layer 2 - LAN Switching

Configuration Guide

.

z

A VLAN interface using the link type of access can use the encapsulation type of Ethernet. For
configuration information about VLAN interface and link type, see VLAN Configuration in the

Layer 2 - LAN Switching Configuration Guide

.

Configuring a PE Interface Connecting a CE to Use VLAN

A VLAN interface using the link type of trunk or hybrid can use the encapsulation type of VLAN (the
VLAN interface and the CE must reside in the same VLAN). For configuration information about VLAN
interface and link type, see VLAN Configuration in the Layer 2 - LAN Switching Configuration Guide.