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

NE20E-S V800R010C10SPC500 Configuration Guide - MPLS 01

This is NE20E-S V800R010C10SPC500 Configuration Guide - MPLS
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 Automatic Tunnel Bandwidth Adjustment

Configuring Automatic Tunnel Bandwidth Adjustment

This section describes how to configure the automatic adjustment of the tunnel bandwidth.

Usage Scenario

Automatic bandwidth adjustment is enabled to adjust the bandwidth of the tunnel automatically.

The system periodically collects traffic rates of outbound interfaces on the tunnel and calculates the average bandwidth of the tunnel within a specified period of time. The establishment of an LSP is requested based on the bandwidth constraint of the sampled maximum value of average bandwidth. After the LSP is established, the old LSP is torn down using the make-before-break feature, and the traffic is switched to the new LSP.

The sampling interval is configured in the MPLS view and takes effect on all MPLS TE tunnels. The rate of the outbound interface on an MPLS TE tunnel is recorded at each sampling interval. The actual average bandwidth assigned to the MPLS TE tunnel in a sampling interval can be obtained.

After automatic bandwidth adjustment is enabled, the mpls te timer auto-bandwidth command configures periodic sampling obtains the average bandwidth of the MPLS TE tunnel during a sampling interval. The system recalculates an average bandwidth based on sampling during a sampling interval and uses the bandwidth to establish an MPLS TE tunnel. Traffic switches to the new MPLS TE tunnel, and the original MPLS TE tunnel is torn down. If the MPLS TE tunnel fails to be established, traffic transmission continues along the original MPLS TE tunnel, and the bandwidth is adjusted after the next sampling interval expires.

Pre-configuration Tasks

Before configuring the bandwidth automatic adjustment, configure an RSVP-TE tunnel.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls

    The MPLS view is displayed.

  3. Run mpls te timer auto-bandwidth [ interval ]

    The sampling interval is specified.

  4. Run quit

    Return to the system view.

  5. Run interface tunnel interface-number

    The tunnel interface view of the MPLS TE tunnel is displayed.

  6. Run statistic enable

    MPLS TE tunnel statistics can be collected.

  7. To configure automatic bandwidth adjustment, run one of the following commands.

    • Run mpls te auto-bandwidth adjustment { [ threshold percent [ absolute-bw absolute-bw ] ] | frequency interval | [ max-bw max-bandwidth | min-bw min-bandwidth ] * | [ overflow-limit overflow-limit-value ] | [ underflow-limit underflow-limit-value ] * } *

      The automatic bandwidth adjustment is enabled. The frequency and allowable bandwidth range for adjustment are configured.

      The following policies can be configured to control automatic bandwidth adjustment:

      • After the mpls te auto-bandwidth command is run, a device must accumulatively sample bandwidth values for at least three times within a configured interval time. If the device samples bandwidth values for less than three times within the specified interval, automatic bandwidth adjustment is not performed. The existing sampling times are counted in the next bandwidth adjustment interval.

      • You can use the threshold percent [ absolute-bw absolute-bw ] parameter to determine whether or not to adjust bandwidth.

        The system compares the average bandwidth within a sampling period with the actual bandwidth, and the bandwidth will be automatically adjusted if the ratio of bandwidth change to the actual bandwidth is greater than the threshold value.If the absolute threshold is set, bandwidth can be automatically adjusted only after the bandwidth change also exceeds the absolute threshold.

        Therefore, if the network traffic changes frequently but frequent bandwidth adjustment is not needed, you can set a greater threshold value.

      • Automatic bandwidth adjustment is performed if conditions are met in either of the following situations depending on whether overflow-limit overflow-limit-value and underflow-limit underflow-limit-value parameters are configured:
        • The two arameters are not configured, and the configured interval time expires. The average bandwidth exceeds the upper bandwidth adjustment threshold or falls below the lower bandwidth adjustment threshold.
        • The two parameters are configured. The average bandwidth exceeds the upper bandwidth adjustment threshold or falls below the lower bandwidth adjustment threshold for a number of timers more than overflow-limit overflow-limit-value or less than underflow-limit underflow-limit-value.
        The default overflow-limit overflow-limit-value and underflow-limit underflow-limit-value parameters do not take effect. By default, after the configured interval time expired, a device automatically adjusts bandwidth values if the average bandwidth exceeds the upper bandwidth adjustment threshold or falls below the lower bandwidth adjustment threshold.
    • Run mpls te auto-bandwidth collect-bw { [ frequency interval ] | [ max-bw max-bandwidth | min-bw min-bandwidth ] * } *

      The frequency and allowable bandwidth range for collection are configured.

  8. Run commit

    The current tunnel configuration is committed.

Checking the Configurations

After completing the configuration, run the display mpls te tunnel-interface command on the ingress of the tunnel to view the following tunnel configuration information.

  • Automatically adjusted bandwidth (Auto BW)
  • Automatically adjusted frequency (Auto BW Freq)
  • Minimum bandwidth that can be adjusted (Min BW)
  • Maximum bandwidth that can be adjusted (Max BW)
  • Current bandwidth that is collected (Current Collected BW)
<HUAWEI> display mpls te tunnel-interface
    Tunnel Name       : Tunnel1
    Signalled Tunnel Name: -
    Tunnel State Desc : CR-LSP is Up
    Tunnel Attributes   :     
    Active LSP          : Primary LSP                                       
    Traffic Switch      : - 
    Session ID          : 1
    Ingress LSR ID      : 1.1.1.9               Egress LSR ID: 4.4.4.9
    Admin State         : UP                    Oper State   : UP
    Signaling Protocol  : RSVP
    FTid                : 1
    Tie-Breaking Policy : None                  Metric Type  : None
    Bfd Cap             : None                  
    Reopt               : Disabled              Reopt Freq   : -              
    Inter-area Reopt    : Disabled 
    Auto BW             : Disabled              Threshold    : 0 percent
    Current Collected BW: 0 kbps                Auto BW Freq : 0
    Min BW              : 0 kbps                Max BW       : 0 kbps
    Offload             : Disabled              Offload Freq : - 
    Low Value           : -                     High Value   : - 
    Readjust Value      : - 
    Offload Explicit Path Name: 
    Tunnel Group        : -                                              
    Interfaces Protected: -
    Excluded IP Address : -
    Referred LSP Count  : 0  
    Primary Tunnel      : -                     Pri Tunn Sum : -              
    Backup Tunnel       : -                                                    
    Group Status        : -                     Oam Status   : -             
    IPTN InLabel        : -                     Tunnel BFD Status : -                               
    BackUp LSP Type     : None                  BestEffort   : Disabled
    Secondary HopLimit  : -
    BestEffort HopLimit  : -
    Secondary Explicit Path Name: -
    Secondary Affinity Prop/Mask: 0x0/0x0
    BestEffort Affinity Prop/Mask: 0x0/0x0  
    IsConfigLspConstraint: -
    Hot-Standby Revertive Mode:  Revertive
    Hot-Standby Overlap-path:  Disabled
    Hot-Standby Switch State:  CLEAR
    Bit Error Detection:  Disabled
    Bit Error Detection Switch Threshold:  -
    Bit Error Detection Resume Threshold:  -
    Ip-Prefix Name    : -
    P2p-Template Name : -
    PCE Delegate      : Only status report      LSP Control Status : Local control
    Entropy Label       :None 
    Associated Tunnel Group ID: -                 Associated Tunnel Group Type: -
    Auto BW Remain Time : 200 s   Reopt Remain Time  : 100 s

    Primary LSP ID      : 1.1.1.9:19
    LSP State           : UP                    LSP Type     : Primary
    Setup Priority      : 7                     Hold Priority: 7
    IncludeAll          : 0x0
    IncludeAny          : 0x0
    ExcludeAny          : 0x0
    Affinity Prop/Mask  : 0x0/0x0               Resv Style   :  SE
    Configured Bandwidth Information:
    CT0 Bandwidth(Kbit/sec): 20000           CT1 Bandwidth(Kbit/sec): 0
    CT2 Bandwidth(Kbit/sec): 0               CT3 Bandwidth(Kbit/sec): 0
    CT4 Bandwidth(Kbit/sec): 0               CT5 Bandwidth(Kbit/sec): 0
    CT6 Bandwidth(Kbit/sec): 0               CT7 Bandwidth(Kbit/sec): 0
    Actual Bandwidth Information:
    CT0 Bandwidth(Kbit/sec): 20000           CT1 Bandwidth(Kbit/sec): 0
    CT2 Bandwidth(Kbit/sec): 0               CT3 Bandwidth(Kbit/sec): 0
    CT4 Bandwidth(Kbit/sec): 0               CT5 Bandwidth(Kbit/sec): 0
    CT6 Bandwidth(Kbit/sec): 0               CT7 Bandwidth(Kbit/sec): 0
    Explicit Path Name  : -                                Hop Limit: -
    Record Route        : Disabled              Record Label : Disabled
    Route Pinning       : Disabled
    FRR Flag            : Disabled
    IdleTime Remain     : -
    BFD Status          : -
    Soft Preemption     : Enabled 
    Reroute Flag        : Disabled
    Pce Flag            : Normal
    Path Setup Type     : EXPLICIT
Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055103

Views: 20049

Downloads: 35

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