R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
208
Default command level
2: System level
Examples
# Enter BGP L2VPN address family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] l2vpn-family
[Sysname-bgp-af-l2vpn]
mpls l2vc
Use mpls l2vc to create a Martini VC on a PE-CE interface of a PE.
Use undo mpls l2vc to delete the Martini VC on the interface.
Syntax
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 ] ] * ] ] *
undo mpls l2vc
Views
Interface view
Default command level
2: System level
Parameters
destination: Specifies the IP address of the peer PE.
vc-id: Specifies the VC ID in the range of 1 to 4294967295.
control-word: Enables the control word function.
ethernet: Specifies the VC type as Ethernet.
no-control-word: Disables the control word function.
vlan: Specifies the VC type as VLAN.
tunnel-policy tunnel-policy-name: Specifies the tunneling policy for the VC. The tunneling policy name is
a case-insensitive string of 1 to 19 characters.
backup-peer ip-address vcid: Specifies the IP address of the backup VC’s peer PE and the VC ID of the
backup VC. The value range for the VC ID is 1 to 4294967295.
backup-tunnel-policy tunnel-policy-name: Specifies the tunneling policy for the backup VC. The tunneling
policy name is a case-insensitive string of 1 to 19 characters.
revertive: Enables support for switchback. With this keyword specified, when the primary VC recovers,
traffic is switched from the backup VC back to the primary VC automatically. If you do not specify this
keyword, traffic will not be switched back automatically.
wtr-time wtr-time: Specifies the switchback delay time. When the primary VC recovers, the device waits
for the switchback delay time before switching the traffic from the backup VC back to the primary VC. The
value range for the wtr-time argument is 1 to 720 minutes,and the default is 30 minutes.










