Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).

Example for Configuring a Mixed Multi-hop PW

Example for Configuring a Mixed Multi-hop PW

Networking Requirements

As shown in Figure 6-23, the carrier MPLS network provides L2VPN services for users. The
SPE has powerful functions, and UPE1 and UPE2 (UPE2 supports only
static PWs) function as access devices and cannot directly establish
a remote LDP session. UPE1 and UPE2 connect to many users with variable
quantities. A VPN solution is required to provide secure VPN services
and facilitate configuration and maintenance for new access users.

NOTE:

By default, link type negotiation is enabled globally on the device.
If a VLANIF interface is used as an AC-side interface for L2VPN, the
configuration conflicts with link type negotiation. In this case,
run the lnp disable command in the system view to disable link
type negotiation.

The lnp disable command has no impact
on services before the device restarts. After the device restarts,
the device can only forward packets from the VLANs specified by the port default vlan command at Layer 2. The port default vlan
1 command is configured by default, so only packets of VLAN 1
can be forwarded at Layer 2.

Figure 6-23 Networking diagram of configuring a mixed multi-hop PW

Configuration Roadmap

Because the SPE has
powerful functions, and UPE1 and UPE2 cannot directly establish a
remote LDP session, configure a multi-hop PW and PW switching on SPE.
UPE2 supports only static PWs, so a mixed multi-hop PW is used.

The configuration roadmap is as follows:

Configure an IGP protocol on the backbone network so that backbone
network devices can communicate.

Configure
a dynamic VC on UPE1 and a static VC on UPE2, and configure mixed
PW switching on SPE.

# Configure UPE1. In this example, a VLANIF interface is
used as the AC-side interface, so you need to run the lnp disable command in the system view before performing the following steps.
If you cannot disable link type negotiation on the live network, do
not use a VLANIF interface as the AC-side interface.

# Configure UPE2. In this example, a VLANIF interface is
used as the AC-side interface, so you need to run the lnp disable command in the system view before performing the following steps.
If you cannot disable link type negotiation on the live network, do
not use a VLANIF interface as the AC-side interface.

The lnp disable command has no impact on services before the device
restarts. After the device restarts, the device can only forward packets
from the VLANs specified by the port default vlan command at
Layer 2. The port default vlan 1 command is configured by default,
so only packets of VLAN 1 can be forwarded at Layer 2.

The lnp disable command has no impact on services before the device
restarts. After the device restarts, the device can only forward packets
from the VLANs specified by the port default vlan command at
Layer 2. The port default vlan 1 command is configured by default,
so only packets of VLAN 1 can be forwarded at Layer 2.