R3303-HP HSR6800 Routers MPLS Command Reference
214
[Sysname] l2vpn
[Sysname-l2vpn]
l2vpn-family
Use l2vpn-family to enter BGP L2VPN address family view.
Use undo l2vpn-family to delete all configurations for the BGP L2VPN address family.
For information about BGP L2VPN address family view, see Layer 3—IP Routing Configuration Guide.
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.










