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).
VLL in Martini Mode

VLL in Martini Mode

Introduction

VLL in Martini mode uses the Label Distribution Protocol (LDP) as the signaling protocol to transmit VC information. It complies with RFC4906 and extends LDP by adding a forwarding equivalence class (FEC), VC FEC, for VC label switching. A PE device assigns a VC label to each connection between CE devices. VC labels are carried in L2VPN information and forwarded to a remote PE device through an LDP LSP over the public network. As VLL connections are identified using VC labels, and multiple VC LSPs can be created on an LSP on the public network. The mappings between VC labels and LSPs are saved only on PE devices, while the P devices do not need to maintain any L2VPN information. Therefore, Martini mode is highly scalable.

In Martini mode, a VC is identified by its VC type and VC ID.

  • VC type: indicates the encapsulation type of a VC, VLAN encapsulation or Ethernet encapsulation.

  • VC ID: identifies a VC. VCs of the same type must have different VC IDs on a PE device.

Topology

VLL in Martini mode supports only remote connections. Figure 4-3 shows the topology in Martini mode.

Figure 4-3 Topology in Martini mode

Implementation

Martini implementation involves VLL establishment and VLL packet forwarding. PW establishment is key to VLL establishment. As long as a PW is established, packets can be forwarded.

  1. PW Establishment and Teardown
  2. Packet Forwarding

The Martini mode uses extended LDP to exchange VC labels. For details about LDP, see VC Information Exchange.

PW Establishment and Teardown

  • Establishing a PW

    The downstream unsolicited (DU) label distribution mode and liberal label retention mode are used to establish a PW. For details, see LDP LSP Establishment in the MPLS Configuration.

    Figure 4-4 Establishing a PW using LDP

    After an LDP session is established between the PE devices, a PW is established in the process shown in Figure 4-4.

    1. PE1 sends a Request packet to PE2 and sends a Label Mapping message to PE2 in DU mode. The Label Mapping message carries information including the VC label, VC type, VC ID, and interface parameters.

    2. After PE2 receives the Request packet, it sends a Label Mapping message to PE1. After PE2 receives the Label Mapping message, it compares VC information carried in the message with its own VC information. If they are the same, PE1 and PE2 are in the same VLL. PE2 then accepts the Label Mapping message, and a unidirectional VC1 is established. PE2 knows the inner VC label that it needs to add to packets to sent the packets to PE1.

    3. After PE1 receives the Label Mapping message from PE2, it processes the message in the same way to establish VC2 in the reverse direction. The two unidirectional VCs constitute a PW.

  • Tearing down a PW

    Figure 4-5 Tearing down a PW using LDP

    When the AC or tunnel goes Down or a VC is deleted, the PW is torn down. Figure 4-5 shows the process of tearing down a PW.

    1. When PE1 detects that the AC or tunnel has gone Down or a VC has been deleted, it sends a Withdraw message to PE2 to instruct PE2 to delete the VC label. To tear down the PW more quickly, PE1 sends a Withdraw message and a Release message consecutively. The Release message notifies PE2 that PE1 has deleted the VC label.

    2. After receiving the Withdraw and Release messages, PE2 deletes the VC1 label and tears down VC1. PE2 then sends a Release message to PE1 to instruct PE1 to delete the VC2 label.

    3. After receiving the Release message, PE1 deletes the VC2 label and tears down VC2. Then the PW is torn down.

Packet Forwarding

A VLL is established after VC information exchange and PW establishment. The following describes the packet forwarding process in Martini mode. (This figure shows two VLL networks: VPN1 and VPN2.)

Figure 4-6 Packet forwarding process in Martini mode

Figure 4-6 shows packet forwarding in two directions: from Site1 to Site2 and from Site2 to Site1.

  • From Site1 to Site2

    When a packet of VLAN 10 is sent from Site1 of VPN1 to PE1, PE1 adds a VC label 3000 and an outbound label 1000 of LSP1 to the packet. Then the packet enters LSP1 (the black dashed line). When a packet of VLAN 100 is sent from Site1 of VPN2 to PE1, PE1 adds a VC label 4000 and an outbound label 1000 of LSP1 to the packet. Then the packet enters LSP1 (the black dashed line).

    When packets sent from Site1 reach PE2, PE2 removes the inbound label 1002 of LSP1 and selects the outbound interface according to the inner VC label. If the inner VC label is 3000, PE2 forwards the packets to the outbound interface connected to Site2 of VPN1. If the inner VC label is 4000, PE2 forwards the packets to the outbound interface connected to Site2 of VPN2. PE2 transmits VC labels 3000 and 4000 to PE1 using LDP when they set up the VCs.

  • From Site2 to Site1

    When a packet of VLAN 10 is sent from Site2 of VPN1 to PE2, PE2 adds a VC label 3500 and an outbound label 2000 of LSP2 to the packet. Then the packet enters LSP2 (the blue dashed line). When a packet of VLAN 100 is sent from Site2 of VPN2 to PE2, PE2 adds a VC label 4500 and an outbound label 2000 of LSP2 to the packet. Then the packet enters LSP2 (the blue dashed line).

    When packets sent from Site2 reach PE1, PE1 removes the inbound label 2002 of LSP2 and selects the outbound interface according to the inner VC label. If the inner VC label is 3500, PE1 forwards the packets to the outbound interface connected to Site1 of VPN1. If the inner VC label is 4500, PE1 forwards the packets to the outbound interface connected to Site1 of VPN2. PE1 transmits VC labels 3500 and 4500 to PE2 using LDP when they set up the VCs.

In the transmission process, the outer labels specify the LSP for data transmission on the ISP network, and the inner VC labels identify data from different users. Data from multiple VCs can be transmitted over the same LSP.

To deploy VLL in Martini mode, the ISP network must be able to automatically set up LSPs. Therefore, the ISP network must support MPLS forwarding and MPLS LDP.

VC Information Exchange

The Martini VLL extends the standard LDP by adding a VC FEC (type 128) to a Label Mapping message to carry VC information during PW establishment.

Figure 4-7 shows the format of a Label Mapping message. You can see the VC FEC in the Label Mapping message.

Figure 4-7 LDP Label Mapping message

VC FEC contains the inner VC label and interface parameters.

Table 4-4 Description of fields in the VC FEC (Type 128)

Field

Description

Bits

Remarks

VC TLV

Type, Length, and Value (TLV) of a VC

8

The value is 0x80, or 128 in decimal notation.

C

Control word

1

If the value is 1, control word is supported. If the value is 0, control word is not supported.

VC Type

Type of a VC

15

The value can be Ethernet or VLAN.

VC Info Length

Length of VC information

8

The value is the total length of the VC ID and the Interface Parameters field.

Group ID

ID of a VC group

32

Multiple VCs can constitute a VC group and information about all VCs in the group can be deleted together.

VC ID

ID of a VC

32

-

Interface Parameters

Interface parameters

Variable, smaller than the value of VC Info Length

The frequently used interface parameters include MTU and interface description.

Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075353

Views: 14140

Downloads: 25

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