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 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - VPN
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).
Configuring VPWS Load Balancing

Configuring VPWS Load Balancing

Per-flow or per-packet load balancing can be implemented in Martini or SVCVPWS scenarios.

Usage Scenario

In Martini or SVC VPWS scenarios in which PW services are carried over multiple tunnels, VPWS load balancing can be implemented to fully utilize network bandwidths and improve transmission efficiency. Two VPWS load balancing modes are available:
  • Per-flow load balancing: Packets from the same source and with the same destination are forwarded over the same tunnel.
  • Per-packet load balancing: Packets are forwarded in sequence over alternate tunnels used for load balancing.

Pre-configuration Tasks

Before configuring VPWS load balancing, complete the following tasks:

Perform the following steps on a PE:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The AC interface view is displayed.

  3. Run mpls l2vpn load-balance packet

    Per-packet load balancing is configured.

    By default, per-flow load balancing is implemented for VPWS.

  4. Run commit

    The configuration is committed.

Checking the Configurations

After configuring VPWS load balancing, check the configurations.

  • Run the display mpls l2vc [ vc-id | interface interface-type interface-number ] command on a PE to check the Martini VPWS load balancing mode and tunnels used for load balancing.

    The command output shows that per-packet load balancing is implemented for Martini VPWS.
    <HUAWEI> display mpls l2vc 100
     total LDP VC : 1     1 up       0 down
    
     *client interface     : GigabitEthernet0/1/0.1
      session state        : up
      AC status            : up
      VC state             : up
      VC ID                : 100
      VC type              : VLAN
      destination          : 1.1.1.9
      local VC label       : 146432       remote VC label      : 146432
      control word         : disable
      forwarding entry     : exist
      local group ID       : 0
      manual fault         : not set
      active state         : active
      link state           : up
      local VC MTU         : 1500         remote VC MTU        : 1500
      tunnel policy name   : --
      traffic behavior name: --
      PW template name     : --
      primary or secondary : primary
      load balance type    : packet
      Access-port          : false
      create time          : 0 days, 0 hours, 0 minutes, 38 seconds
      up time              : 0 days, 0 hours, 0 minutes, 38 seconds
      last change time     : 0 days, 0 hours, 0 minutes, 38 seconds
      VC last up time      : 2010/01/09 23:42:04
      VC total up time     : 0 days, 0 hours, 0 minutes, 38 seconds
      CKey                 : 8
      NKey                 : 7
  • Run the display mpls static-l2vc [ interface interface-type interface-number ] command on a PE to check the SVC VPWS load balancing mode and tunnels used for load balancing.

    The command output shows that per-packet load balancing is implemented for SVC VPWS.

    <HUAWEI> display mpls static-l2vc 101
     Total svc connections:  1,  1 up,  0 down
    
     *Client Interface     : GigabitEthernet0/1/0.2 is up
      AC Status            : up
      VC State             : up
      VC ID                : 101
      VC Type              : VLAN
      Destination          : 1.1.1.9
      Transmit VC Label    : 1000
      Receive VC Label     : 1001
      Label Status         : 0
      Token Status         : 0
      Control Word         : Disable
      VCCV Capability      : alert lsp-ping bfd
      active state         : inactive
      OAM Protocol         : --
      OAM Status           : --
      OAM Fault Type       : --
      PW APS ID            : --
      PW APS Status        : --
      TTL Value            : 1
      Link State           : up
      Tunnel Policy Name   : --
      Traffic Behavior     : --
      PW Template Name     : --
      Main or Secondary    : Main
      load balance type    : packet
      Access-port          : false
      Create time          : 0 days, 0 hours, 1 minutes, 35 seconds
      UP time              : 0 days, 0 hours, 1 minutes, 35 seconds
      Last change time     : 0 days, 0 hours, 1 minutes, 35 seconds
      VC last up time      : 2010/01/09 23:44:11
      VC total up time     : 0 days, 0 hours, 1 minutes, 35 seconds
      CKey                 : 9
      NKey                 : 7    
    
Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 27899

Downloads: 53

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