tunnel select-seq

Function

The tunnel select-seq command specifies the priority sequence of the tunnels taking part in load balancing.

The undo tunnel select-seq load-balance-number command restores the default setting.

By default, only LDP LSPs or static LSPs are selected and no load balancing is performed.

Format

tunnel select-seq { lsp | gre } * load-balance-number load-balance-number

undo tunnel select-seq

Parameters

Parameter Description Value
lsp Specifies the LDP LSP, BGP LSP or static LSP. -
gre

Specifies the GRE tunnel.

Only the AntiDDoS1600 support this parameter.Only the AntiDDoS1600 (not including and ) support this parameter.
-
load-balance-number load-balance-number Specifies the number of tunnels taking part in load balancing. The value is an integer ranging from 1 to 32 for the AntiDDoS8000 series and from 1 to 6 for the series.

Views

Tunnel policy view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, a VPN instance uses LSPs for service transmission on the backbone network. To use other types of tunnels or configure load balancing for service transmission of the VPN instance, you need to apply a tunnel policy to the VPN instance.

Pre-configuration Tasks

The tunnel-policy command is run to create a tunnel policy.

Follow-up Procedure

After the tunnel select-seq command is run, apply the configured tunnel policy to the VPN instance so that the VPN instance can select tunnels based on the tunnel policy and have its services load-balanced across tunnels.

Example

# Configure a tunnel policy that only LDP LSPs or static LSPs can be used. Set the number of tunnels taking part in load balancing to 2.

<sysname> system-view
[sysname] tunnel-policy l2
[sysname-tunnel-policy-l2] tunnel select-seq lsp load-balance-number 2
Related Topics
tunnel-policy (system view)

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.