R211x-HP Flexfabric 11900 MPLS Command Reference
199
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 cross-connect 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 and enter cross-connect view. If the specified cross-connect has
been created, the command opens 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
mdc-admin
Parameters
connection-name: Specifies the name of the cross-connect, a case-sensitive string of 1 to 20 characters,
excluding hyphens.
Usage guidelines
A cross-connect is a point-to-point connection. You can perform the following operations in cross-connect
view:
• Execute ac interface and peer to connect an AC to a PW, so the PE can forward packets between
the AC and the PW.










