Configuration procedure – H3C Technologies H3C SR8800 User Manual
Page 208

197
•
Types and numbers of the interfaces connecting the CEs
•
Destination address of the L2VPN connection and the PW ID (VC ID)
•
PW class template
Configuration procedure
To configure a Martini MPLS L2VPN connection on a Layer 3 Ethernet interface/sub-interface of the PE:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view for the
interface connecting the CE. interface interface-type interface-number
The interface must be a
Layer 3 Ethernet
interface/sub-interface.
3.
Create a Martini MPLS
L2VPN connection.
mpls l2vc destination vcid [ { control-word |
ethernet | no-control-word | vlan } |
tunnel-policy tunnel-policy-name ] *
N/A
4.
Return to system view.
quit
N/A
5.
Configure an MPLS LDP
remote peer entity and enter
its view.
mpls ldp remote-peer remote-peer-name
N/A
6.
Specify an IP address for the
remote peer.
remote-ip ip-address
N/A
NOTE:
For remote peer configuration information, see the chapter “Configuring basic MPLS configuration.”
CAUTION:
•
A Martini connection has two main parameters: IP address of the peer PE, and VC ID.
•
Do not configure both MPLS and Martini MPLS L2VPN on a Layer 3 Ethernet interface/sub-interface.
Otherwise, neither MPLS nor MPLS L2VPN service can work normally, and you must remove both
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.
•
You must configure the PVC and MAP for an ATM interface before using the mpls l2vc
destination vcid
[ tunnel-policy
tunnel-policy-name ] [ control-word | no-control-word ] [ ethernet | vlan ] command
on the ATM interface. For more information about PVC and MAP configuration, see
Layer 2—WAN
Configuration Guide.
•
When configuring a Martini MPLS L2VPN connection on a Layer 3 Ethernet sub-interface on an SPC
card, you must configure the PW encapsulation mode as VLAN. Otherwise, packets may not be
forwarded correctly.
Creating a Martini MPLS L2VPN for a service instance