R2511-HP MSR Router Series MPLS Command Reference(V5)

100
Usage guidelines
For information about BGP L2VPN address family view, see Layer 3—IP Routing Configuration Guide.
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 | ip-interworking | 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 encapsulation type as Ethernet.
ip-interworking: Enables the VC to support IP interworking. If you specify this keyword, when the PE
receives a packet from an AC bound to the VC, it extracts the IP packet from the packet, sends the IP
packet to the peer PE over the VC. When the PE receives a packet from the VC, it encapsulates the IP
packet according to the link type of the AC bound to the VC, and sends the encapsulated packet to the
AC link. In this way, the PEs at the two ends of a VC shield the differences between two AC links,
implementing communication between the ACs with different link types.
no-control-word: Disables the control word function.
vlan: Specifies the VC encapsulation 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.