The tunnel select-seq ipv6 command configures the sequence in which different types of IPv6 tunnels are selected and the number of tunnels participating in load balancing.
The undo tunnel select-seq command restores the default setting.
By default, no IPv6 tunnel type is configured.
tunnel select-seq ipv6 { srv6-te-policy | srv6-te-flow-group } load-balance-number loadBalanceNumber
tunnel select-seq ipv6 srv6-te-policy srv6-te-flow-group load-balance-number loadBalanceNumber unmix
tunnel select-seq ipv6 srv6-te-flow-group srv6-te-policy load-balance-number loadBalanceNumber unmix
undo tunnel select-seq ipv6
Parameter | Description | Value |
---|---|---|
srv6-te-policy |
Indicates the preference sequence of SRv6 TE Policy. The earlier this type of tunnel is listed, the higher the priority is. |
- |
srv6-te-flow-group |
Indicates the preference sequence of SRv6 TE Flow Group. The earlier this type of tunnel is listed, the higher the priority is. |
- |
load-balance-number loadBalanceNumber |
Specifies the number of tunnels participating in load balancing. |
The value is an integer ranging from 1 to 128. |
unmix |
Indicates that only one type of tunnel can be selected. |
- |
Usage Scenario
A tunnel policy determines the selection of tunnels for VPN services. The tunnel policy has a select-seq method. This policy specifies the sequence in which different types of tunnels are selected. The tunnel select-seq ipv6 command is used to configure a tunnel type prioritizing policy.
After the tunnel select-seq command is run, the VPN instance preferentially selects the tunnel type with the highest priority according to the specified sequence. For example, after the tunnel select-seq ipv6 srv6-te-policy load-balance-number 2 command is run in the tunnel policy view, the VPN instance will preferentially select SRv6 TE Policy to transmit services on the backbone network.Follow-up Procedure
After the tunnel type prioritizing policy is configured, you need to associate it with a VPN instance so that tunnels can be selected in sequence to carry VPN services and carry out load balancing.
Precautions
If the tunnel select-seq ipv6 command is run more than once, the latest configuration overrides the previous one.
The srv6-te-flow-group in the tunnel select-seq ipv6 and route recursive-lookup tunnel commands are mutually exclusive.<HUAWEI> system-view [~HUAWEI] tunnel-policy policy1 [*HUAWEI-tunnel-policy-policy1] tunnel select-seq ipv6 srv6-te-policy load-balance-number 1
<HUAWEI> system-view [~HUAWEI] tunnel-policy policy1 [*HUAWEI-tunnel-policy-policy1] tunnel select-seq ipv6 srv6-te-flow-group load-balance-number 2