R0106-HP MSR Router Series MPLS Command Reference(V7)
263
Ethernet or VLAN, the control word field is optional. You can configure whether to carry the control word
field in packets sent on the PW.
If you enable the control word function on both PEs, packets transmitted on the PW carry the control word
field. Otherwise, the packets do not carry the control word field.
Examples
# Enable the control word function for the PW class pw100.
<Sysname> system-view
[Sysname] pw-class pw100
[Sysname-pw-pw100] control-word enable
Related commands
display l2vpn pw-class
default-nexthop
Use default-nexthop to specify the default next hop.
Use undo default-nexthop to restore the default.
Syntax
default-nexthop { ip ip-address | mac { mac-address | broadcast } }
undo default-nexthop
Default
No default next hop is specified.
Views
Interface view
Predefined user roles
network-admin
Parameters
ip ip-address: Specifies the IP address of the default next hop.
mac: Specifies the MAC address of the default next hop.
mac-address: Specifies the MAC address of the default next hop.
broadcast: Uses the broadcast MAC address as the MAC address of the default next hop.
Usage guidelines
If a CE is connected to a PE through an Ethernet link in an MPLS L2VPN interworking scenario, configure
the default next hop on the PE. This allows the PE to encapsulate a link layer header for the packets to be
sent to the CE.
If you specify the CE's MAC address or a broadcast MAC address as the default next hop, the PE uses
this MAC address as the destination address of the outgoing packets. If you specify the CE's IP address
as the default next hop, the PE performs the following operations:
1. Resolves the IP address to a MAC address through ARP.
2. Uses the resolved MAC address as the destination MAC address of the outgoing packets.