R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide
214
Syntax
l2vpn-family
undo l2vpn-family
Views
BGP view
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.










