R3303-HP HSR6800 Routers MPLS Configuration Guide
170
After you configure a Martini VC for a service instance applied on a Layer 2 Ethernet interface,
the interface uses the service instance to match incoming packets. Packets matching the service
instance are forwarded over the VC. A service instance can match all packets received on the
interface, packets carrying the specified VLAN tags, all tagged packets, or packets with no
VLAN tags.
Service instances can be created only on Layer 2 Ethernet interfaces. For more information
about service instances, see "Configuring VPLS."
Configuring the remote peer for a PE
Ste
p
Command
1. Enter system view.
system-view
2. Create remote peer entity and enter MPLS LDP
remote peer view.
mpls ldp remote-peer remote-peer-name
3. Specify the IP address of the remote peer as that
of the peer PE.
remote-ip ip-address
For remote peer configuration information, see "Configuring basic MPLS."
Creating a Martini VC on a Layer 3 interface
A Martini VC has two main parameters: IP address of the peer PE, and VC ID. The combination of the VC
ID and the VC type must be unique on a PE. Changing the VC type might result in VC ID conflicts.
To create a Martini VC on a Layer 3 interface of a PE:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter the view of the interface
connecting the CE.
interface interface-type
interface-number
N/A
3. Create a Martini VC.
mpls l2vc destination vcid
[ { control-word | ethernet |
no-control-word | vlan } |
[ tunnel-policy tunnel-policy-name ]
[ backup-peer ip-address vcid
[ backup-tunnel-policy
tunnel-policy-name | revertive
[ wtr-time wtr-time ] ] * ] ] *
To implement VC redundancy,
specify the backup-peer keyword
to create a backup VC.
4. Switch traffic from the active
VC to the standby VC.
mpls l2vc switchover
Optional.
Creating a Martini VC for a service instance
To complete this task, perform the following configurations on a PE:
• Create a service instance on a Layer 2 Ethernet interface.
• Configure a packet matching rule for the service instance.