R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
157
tunnel-policy tunnel-policy-name: Specifies a tunnel policy by its name, a case-sensitive string of 1 to 19
characters. If no tunnel policy is specified, the default tunnel policy is used.
Usage guidelines
To create a static PW, you must specify the incoming and outgoing labels. To enter the view of an existing
static PW, you do not need to specify the incoming and outgoing labels.
The PW ID for a PW must be the same on the PEs at the ends of the PW.
The LSR ID of the peer PE and the PW ID uniquely identify a PW, and must not both be the same as those
of any VPLS PW or PW bound to a cross-connect.
PW redundancy is mutually exclusive with multi-segment PW function. If you have configured two PWs by
using the peer command in cross-connect view, you cannot configure a backup PW by using the
backup-peer command in PW view, and vice versa.
Examples
# Configure an LDP PW destined to 4.4.4.4 for the cross-connect pw2pw in the cross-connect group
vpn1 and enter PW view. The PW ID is 200.
<Sysname> system-view
[Sysname] xconnect-group vpn1
[Sysname-xcg-vpn1] connection pw2pw
[Sysname-xcg-vpn1-pw2pw] peer 4.4.4.4 pw-id 200
[Sysname-xcg-vpn1-pw2pw-4.4.4.4-200]
# Configure a static PW destined to 5.5.5.5 for the cross-connect pw2pw in the cross-connect group
vpn1 and enter PW view. The static PW has an ID of 200, an incoming label of 100, and an outgoing
label of 200.
<Sysname> system-view
[Sysname] xconnect-group vpn1
[Sysname-xcg-vpn1] connection pw2pw
[Sysname-xcg-vpn1-pw2pw] peer 5.5.5.5 pw-id 200 in-label 100 out-label 200
[Sysname-xcg-vpn1-pw2pw-5.5.5.5-200]
Related commands
display l2vpn ldp
display l2vpn pw
pw-class
tunnel-policy (Tunnel policy commands)
pw-class
Use pw-class to create a PW class and enter PW class view.
Use undo pw-class to delete a PW class.
Syntax
pw-class class-name
undo pw-class class-name
Default
No PW class is created.