R0106-HP MSR Router Series MPLS Command Reference(V7)
284
Examples
# Switch traffic from PW 100 destined for 3.3.3.3 to its backup PW.
<Sysname> l2vpn switchover peer 3.3.3.3 pw-id 100
mtu
Use mtu to configure an MTU for PWs established on a cross-connect or auto-discovery cross-connect.
Use undo mtu to restore the default.
Syntax
mtu mtu
undo mtu
Default
A PW has an MTU of 1500 bytes.
Views
Cross-connect view, auto-discovery cross-connect group view
Predefined user roles
network-admin
Parameters
mtu: Specifies an MTU value in the range of 300 to 65535.
Usage guidelines
The PEs at the two ends of an LDP PW must have the same MTU. Otherwise, the PW cannot come up.
The MTU specifies the maximum packet length, including the control word, PW label, and network layer
packet.
Examples
# Configure an MTU of 1400 bytes for the cross-connect ac2pw in the cross-connect group vpn1.
<Sysname> system-view
[Sysname] xconnect-group vpn1
[Sysname-xcg-vpn1] connection ac2pw
[Sysname-xcg-vpn1-ac2pw] mtu 1400
# Configure an MTU of 1400 bytes for the auto-discovery cross-connect in the cross-connect group bbb.
<Sysname> system-view
[Sysname] xconnect-group bbb
[Sysname-xcg-bbb] auto-discovery bgp
[Sysname-xcg-bbb-auto] mtu 1400
Related commands
display l2vpn xconnect-group
peer
Use peer to configure a PW for a cross-connect and enter cross-connect PW view. If the specified PW has
been created, the command opens cross-connect PW view.










