R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
155
Usage guidelines
You must enable L2VPN before configuring other L2VPN settings.
Examples
# Enable L2VPN.
<Sysname> system-view
[Sysname] l2vpn enable
l2vpn switchover
Use l2vpn switchover to switch traffic from the specified PW to its backup or primary PW.
Syntax
l2vpn switchover peer ip-address pw-id pw-id
Views
User view
Predefined user roles
network-admin
Parameters
peer ip-address: Specifies the LSR ID of the peer PE on the PW that must be in up state.
pw-id pw-id: Specifies a PW by its ID in the range of 1 to 4294967295.
Usage guidelines
The specified LSR ID and PW ID uniquely identify the PW.
If the specified PW has a backup PW or primary PW, this command switches traffic from the PW to the
backup or primary PW. If the PW does not have a backup or primary PW, this command does not
perform the switchover.
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 a cross-connect.
Use undo mtu to restore the default.
Syntax
mtu mtu
undo mtu
Default
A cross-connect has an MTU of 1500 bytes.
Views
Cross-connect view