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

104
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 encapsulation type specified by this command must match that of the AC link.
Only L2VPNs that use encapsulation types of PPP, HDLC, FR DLCI, FR port mode, ATM AAL5 transparent
transport, and ATM cell transparent transport support the control word function.
The following matrix shows the command and router compatibility:
Parameter MSR900 MSR93
X
MSR20-1
X
MSR20
MSR30
MSR50 MSR1000
Encapsulatio
n types
Supports
ethernet
and vlan.
Supports
all.
Supports all.
Supports
all.
Supports
all.
Supports
all.
Supports all.
Examples
# Create a Kompella MPLS L2VPN with the VPN name of vpn1 and the VC encapsulation 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 encapsulation 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 | 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 static-l2vc
Views
Interface view
Default command level
2: System level