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, BGP LSP or static LSPs are selected and no load balancing is performed.
tunnel select-seq { gre | lsp | cr-lsp } * load-balance-number load-balance-number
undo tunnel select-seq
Parameter | Description | Value |
---|---|---|
gre |
Specifies a GRE tunnel. NOTE:
This parameter is not supported in this version. |
- |
lsp |
Specifies the LDP LSPs, BGP LSP or static LSPs. NOTE:
S5731-S, S5731S-S, S6730-S, and S6730S-S do not support this parameter. |
- |
cr-lsp |
Specifies the CR-LSP tunnel. NOTE:
S5731-S, S5731S-S, S6730-S, and S6730S-S do not support this parameter. |
- |
load-balance-number |
Specifies the number of tunnels taking part in load balancing. |
The value is an integer that ranges from 1 to 6. |
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.
Precautions
If three or more LDP LSPs are available on the network, the VPN instance randomly selects three of them for service transmission.
If less than three LDP LSPs are available on the network, the VPN instance selects BGP LSPs as substitutes to ensure that three LSPs work in load balancing mode to transmit services.
If the total number of LDP and BGP LSPs available on the network is less than 3, the VPN instance selects static LSPs as substitutes to ensure that three LSPs work in load balancing mode to transmit services.
After the tunnel select-seq command is executed, 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.
The load balancing mode configured using the tunnel select-seq command in a tunnel policy takes effect only for L3VPN.