R0106-HP MSR Router Series MPLS Command Reference(V7)
285
Use undo peer to delete a PW.
Syntax
peer ip-address pw-id pw-id [ in-label label-value out-label label-value ] [ pw-class class-name |
tunnel-policy tunnel-policy-name ] *
undo peer ip-address pw-id pw-id
Default
No PW is configured for a cross-connect.
Views
Cross-connect view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the LSR ID of the peer PE.
pw-id pw-id: Specifies a PW ID for the PW, in the range of 1 to 4294967295.
in-label label-value: Specifies the incoming label of the PW, in the range of 16 to 1023.
out-label label-value: Specifies the outgoing label of the PW, in the range of 16 to 1023.
pw-class class-name: Specifies a PW class by its name, a case-sensitive string of 1 to 19 characters. You
can configure the PW type and control word by specifying a PW class. If you do not specify any PW
class, the PW type is determined by the interface type. The control word function is not supported for PW
types that do not require using control word.
tunnel-policy tunnel-policy-name: Specifies a tunnel policy by its name, a case-sensitive string of 1 to 19
characters. If you do not specify any tunnel policy, 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.
If you do not specify the incoming and outgoing labels when you create a new PW, LDP is used to create
the PW.
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 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 cross-connect PW view, and vice versa.
The static PW must not have the same incoming label as an existing static LSP or static CRLSP. If it is the
same, the static PW will not be available, even if you modify the incoming label of the static LSP or the
static CRLSP. To make the static PW available, delete the static PW, and reconfigure it with an unused
incoming label.
Examples
# Configure an LDP PW destined to 4.4.4.4 for the cross-connect pw2pw in the cross-connect group
vpn1 and enter cross-connect PW view. The PW ID is 200.
<Sysname> system-view










