R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
141
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
This command configures a backup PW for a PW to implement PW redundancy. The backup PW is used
when the primary PW fails.
To configure a static backup PW, you must specify the in-label and out-label. To configure a backup LDP
PW, there is no need to specify the in-label and out-label.
The peer LSR ID and PW ID specified for the backup PW must not both be the same as those for any VPLS
PW or any PW bound to a cross-connect.
PW redundancy is mutually exclusive from the 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 a primary PW and a backup PW for the cross-connect pw2pw in the cross-connect group
vpn2. The primary PW is destined to 6.6.6.6 and has a PW ID of 100. The backup PW is destined to
7.7.7.7 and has a PW ID of 200.
<Sysname> system-view
[Sysname] xconnect-group vpn2
[Sysname-xcg-vpn2] connection pw2pw
[Sysname-xcg-vpn2-pw2pw] peer 6.6.6.6 pw-id 100 in-label 16 out-label 17
[Sysname-xcg-vpn2-pw2pw-6.6.6.6-100] backup-peer 7.7.7.7 pw-id 200 in-label 18 out-label
19
[Sysname-xcg-vpn2-pw2pw-6.6.6.6-100-backup]
Related commands
display l2vpn ldp
display l2vpn pw
peer
connection
Use connection to create a cross-connect for a cross-connect group and enter cross-connect view. If the
specified cross-connect has been created, the command places you into cross-connect view.
Use undo connection to remove a cross-connect.
Syntax
connection connection-name
undo connection connection-name
Default
No cross-connect is created.
Views
Cross-connect group view
Predefined user roles
network-admin