R3102-R3103-HP 6600/HSR6600 Routers MPLS Configuration Guide
168
• Create a Martini VC for the service instance.
After you perform these configurations, packets arriving at the Layer 2 Ethernet interface and matching
the packet matching rule are forwarded over the created VC.
To create a Martini VC for a service instance:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a PW class and enter
PW class view.
pw-class pw-class-name
Optional.
By default, no PW class is created.
3. Specify the VC type.
trans-mode { ethernet | vlan }
Optional.
By default, the VC type is VLAN.
4. Specify the tunneling policy.
pw-tunnel-policy policy-name
Optional.
If you do not specify a tunneling
policy, the default tunneling policy
is used. The default tunneling policy
selects only one tunnel in this order:
LSP tunnel, CR-LSP tunnel.
For information about how to
configure a tunneling policy, see
"Configuring MPLS L3VPN."
5. Return to system view.
quit N/A
6. Enter the view of the interface
connecting the CE.
interface interface-type
interface-number
N/A
7. Create a service instance and
enter service instance view.
service-instance instance-id
By default, no service instance is
created.
8. Configure a packet matching
rule for the service instance.
encapsulation { port-based | s-vid
vlan-id } [ only-tagged ] | tagged
| untagged }
By default, no packet matching rule
is configured for the service
instance.
9. Create a Martini VC for the
service instance.
xconnect peer peer-ip-address
pw-id pw-id [ access-mode
{ ethernet | vlan } | mtu mtu-value
| [ pw-class class-name ]
[ backup-peer ip-address
backup-pw-id pw-id
[ backup-pw-class class-name |
revertive [ wtr-time wtr-time ] ] ] ]
This command is available for
service instances with an ID in the
range of 1 to 4094.
To implement VC redundancy,
specify the backup-peer keyword
to create a backup VC.
After this command is executed, the
VLAN ID, access mode, and MTU
configured for the service instance
cannot be changed. To modify
these parameters, use the undo
xconnect peer command to delete
the VC first.
10. Switch traffic from the active
VC to the standby VC.
xconnect peer switchover Optional.










