Configuring the remote peer – H3C Technologies H3C S10500 Series Switches User Manual
Page 207

196
•
Configure basic MPLS and MPLS LDP on the PEs and P devices to establish LDP LSPs.
•
Enable MPLS L2VPN on the PEs.
To configure Martini MPLS L2VPN, you need the following data:
•
Types and numbers of the interfaces connecting the CEs
•
Destination address of the L2VPN connection and the PW ID, or, VC ID
•
PW class template
Configuring the remote peer
Follow these steps to configure the remote peer for a PE:
To do…
Use the command…
Remarks
Enter system view
system-view
—
mpls ldp remote-peer
remote-peer-name
Required
Configure the remote peer
remote-ip ip-address
Required
NOTE:
For remote peer configuration information, see the chapter ”MPLS basics configuration.”
Creating a Martini MPLS L2VPN connection on a Layer 3
interface
Follow these steps to create a Martini MPLS L2VPN connection on a Layer 3 interface of a PE:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter the view of the interface
connecting the CE
interface interface-type
interface-number
—
Create a Martini MPLS L2VPN
connection
mpls l2vc destination vcid
[ { control-word | ethernet |
no-control-word | vlan } |
[ tunnel-policy
tunnel-policy-name ] ] *
Required
CAUTION:
A Martini connection has two main parameters: IP address of the peer PE, and VC ID. The combination of
the VC ID and the encapsulation type must be unique on a PE. Changing the encapsulation type may result
in VC ID conflicts.
Creating a Martini MPLS L2VPN connection for a service
instance
To complete this task, perform the following configurations on a PE:
•
Create a service instance on an Layer 2 Ethernet interface