No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - VPN

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of VPN, including GRE, BGP/MPLS IP VPN, BGP/MPLS IPv6 VPN, VLL, PWE3, and VPLS.
Rate and give feedback :
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).
Understanding PWE3

Understanding PWE3

PWE3 Architecture

PWE3 uses the Label Distribution Protocol (LDP) as the signaling protocol, and transmits Layer 2 packets of Customer Edges (CEs) through tunnels such as MPLS LSPs or multiprotocol label switching traffic engineering (MPLS TE) tunnels. As shown in Figure 5-2, PWE3 uses the following entities:

  • Attachment circuit (AC)

  • Pseudo wire (PW)

  • Forwarder

  • Tunnels

  • PW signaling protocol

Figure 5-2 PWE3 architecture

The following uses the flow direction of VPN1 packets from CE1 to CE3 as an example to show the basic direction of data flows.

  • CE1 sends Layer 2 packets to PE1 through an AC.

  • After PE1 receives the packets, the forwarder selects a PW to forward the packets.

  • PE1 generates double MPLS labels (private and public network labels) based on the forwarding entry of the PW. The private network label is used to identify the PW, and the public network label identifies the tunnel to PE2 on the public network.

  • After Layer 2 packets arrive at PE2 through the tunnel on the public network, the Penultimate Hop Popping (PHP) device (a P device) pops out the public network label, and PE2 pops out the private network label.

  • The forwarder of PE2 selects an AC to forward the Layer 2 packets to CE3.

Setup, Maintenance, and Teardown of a Dynamic PW

A dynamic PW uses LDP and encapsulates VC information in the type-length-value (TLV) of LDP packets. PEs need to establish an LDP session, and PW labels are allocated in Downstream Unsolicited (DU) mode and retained in liberal label retention mode.

NOTE:

If a P exists between PEs, a remote LDP session is established between the PEs. If PEs are directly connected, a common LDP session is established.

After PWE3 configuration is complete on two PEs of the PW and an LDP session is established between PE1 and PE2, PE1 and PE2 start to establish a dynamic PW, as shown in Figure 5-3.

  1. PE1 sends a Request message and a Mapping message that contain the local private network label and relevant attributes to PE2.

  2. After receiving the Request message from PE1, PE2 sends a Mapping message to PE1.

  3. After receiving the Mapping message, PE2 checks whether the same PW parameters as those in the Mapping message are configured locally. If the configured PW parameters such as the VC ID, VC type, MTU, and control word status are the same, PE2 sets the local PW in Up state.

  4. After receiving the Mapping message from PE2, PE1 checks whether the locally configured PW parameters are the same as those in the Mapping message. If they are the same, PE1 sets the local PW in Up state. A dynamic PW is set up between PE1 and PE2.

  5. After the PW is set up, PE1 and PE2 send Notification messages to report their status.

Figure 5-3 Setup and maintenance of a single-segment PW

When the AC or the tunnel is Down, Martini and PWE3 take different measures:

  • Martini sends a Withdraw message to the peer, requesting to tear down the PW. After the AC or tunnel becomes Up, two PEs need to perform negotiation again to establish a PW.
  • PWE3 sends a Notification message to notify the peer that packets cannot be forwarded. The PW is not torn down. When the AC or tunnel becomes Up, PWE3 sends a Notification message to notify the peer that packets can be forwarded.

Both PEs tear down the PW only when the PW configuration is deleted or the signaling protocol is interrupted, for example, the public network or PW is Down. On an unstable network, Notification messages can be sent to prevent repeated PW setup and deletion due to link flapping.

Figure 5-4 Process of tearing down a single-segment PW

Figure 5-4 shows the PW teardown process.

  1. After the PW configuration on PE1 is deleted, PE1 deletes the local VC label and sends Withdraw and Release messages to PE2.
    NOTE:

    A Withdraw message is used to inform the peer to withdraw labels. A Release message is used to respond to a Withdraw message and request the peer to send a Withdraw message to withdraw labels. To tear down a PW more quickly, PE1 sends a Withdraw message and a Release message consecutively.

  2. After receiving Withdraw and Release messages from PE1, PE2 deletes the remote VC label and sends a Release message to PE1.
  3. After PE1 receives a Release message from PE2, the PW between PE1 and PE2 is torn down.
Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075353

Views: 14150

Downloads: 25

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next