R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

211
ethernet: Uses Ethernet encapsulation.
fr: Uses FR encapsulation.
hdlc: Uses HDLC encapsulation.
ppp: Uses PPP encapsulation.
vlan: Uses VLAN encapsulation.
control-word: Enables the control word function.
no-control-word: Disables the control word function.
Usage guidelines
The VC type specified by this command must match that of the AC link.
Only L2VPNs that use VC types of PPP, HDLC, FR DLCI, FR port mode, and ATM AAL5 transparent
transport support the control word function.
Examples
# Create a Kompella MPLS L2VPN with the VPN name of vpn1 and the VC type of PPP, and enter MPLS
L2VPN view.
<Sysname> system-view
[Sysname] mpls l2vpn vpn1 encapsulation ppp
[Sysname-mpls-l2vpn-vpn1]
# Create a Kompella MPLS L2VPN with the VPN name of vpn2 and VC type of Ethernet, and enter MPLS
L2VPN view.
<Sysname> system-view
[Sysname] mpls l2vpn vpn1 encapsulation ppp
[Sysname-mpls-l2vpn-vpn1] mpls l2vpn vpn2 encapsulation ethernet
[Sysname-mpls-l2vpn-vpn2]
mpls static-l2vc (for primary-backup SVCs)
Use mpls static-l2vc to create a primary static VC and a backup static VC on a Layer 3 interface, and
enter static-L2VC view.
Use undo mpls static-l2vc to delete the static VCs on the interface.
Syntax
mpls static-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 static-l2vc
Views
Interface view
Default command level
2: System level
Parameters
destination: Specifies the IP address of the peer PE.