447
Step Command
Remarks
4.
(Optional.) Specify the PW
data encapsulation type.
pw-type
{
ethernet
|
vlan
}
By default, the PW data
encapsulation type is VLAN.
Configuring a static PW
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VSI view.
vsi
vsi-name
[
hub-spoke
]
N/A
3.
Specify static signaling
for PWs, and enter VSI
static view.
pwsignaling
static
By default, no PW signaling protocol is
specified.
4.
Configure a static PW,
and enter VSI static PW
view.
peer
ip-address
[
pw-id
pw-id
]
in-label
label-value
out-label
label-value
[
hub
|
no-split-horizon
|
pw-class
class-name
|
tunnel-policy
tunnel-policy-name
] *
By default, no static PWs exist.
If both the default PW ID in the
default-pw-id
command and a PW ID
in the
peer
command are configured,
the PW ID in the
peer
command is
used. If only the default PW ID is
configured, the default PW ID is used.
If no default PW ID is configured, you
must provide a PW ID in the
peer
command.
If a VSI is enabled with the hub-spoke
capability (the
hub-spoke
keyword in
the
vsi
command), PWs in the VSI are
spoke links by default. You can use
the
hub
keyword in this command to
specify the static PW as the hub link in
the VSI.
You must specify the
no-split-horizon
keyword to disable
split horizon when you configure an
NPE to establish a U-PW with a UPE.
5.
Set the expected
bandwidth for the PW.
bandwidth
bandwidth-value
By default, the expected bandwidth is
10000000 kbps.
Configuring an LDP PW
Before you configure an LDP PW, enable global and interface MPLS LDP on the PE. For information
about MPLS LDP configuration, see "Configuring LDP."
To configure an LDP PW:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VSI view.
vsi
vsi-name
[
hub-spoke
]
N/A
3.
Specify LDP signaling
for PWs, and enter
VSI LDP signaling
view.
pwsignaling
ldp
By default, no PW signaling protocol is
specified.