400
Step Command
Remarks
4.
(Optional.) Enable the
cross-connect group.
undo shutdown
By default, the cross-connect
group is enabled.
5.
Create a cross-connect and
enter cross-connect view.
connection
connection-name
By default, no cross-connects
exist.
6.
Set an MTU for the PW.
mtu
size
The default MTU is 1500 bytes.
The two PEs on an LDP PW must
have the same MTU configured
for the PW. Otherwise, the PW
cannot come up.
Configuring a PW
Configuring a PW class
You can configure PW attributes such as the PW data encapsulation type and enable control word in
a PW class. PWs with the same attributes can use the same PW class.
To configure a PW class:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a PW class and enter
PW class view.
pw-class
class-name
By default, no PW classes exist.
3.
(Optional.) Enable control
word.
control-word enable
By default, control word is
disabled.
4.
(Optional.) Specify the PW
data encapsulation type.
pw-type
{
ethernet
|
vlan
}
By default, the PW data
encapsulation type is VLAN.
5.
(Optional.) Enable sequencing
for both incoming and outgoing
packets on the PW.
sequencing both
By default, sequencing is
disabled.
Configuring a static PW
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter cross-connect group
view.
xconnect-group
group-name
N/A
3.
Enter cross-connect view.
connection
connection-name
N/A
4.
Configure a static PW, and
enter cross-connect PW
view.
peer
ip-address
pw-id
pw-id
in-label
label-value
out-label
label-value
[
pw-class
class-name
|
tunnel-policy
tunnel-policy-name
] *
By default, no static PWs exist.
5.
Set the expected bandwidth
for the PW.
bandwidth
bandwidth-value
By default, the expected value is
10000000 kbps.