tunnel select-seq ipv6

Function

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.

Format

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

Parameters

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.

-

Views

Tunnel policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
tunnel-policy write

Usage Guidelines

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.

Example

# Create a tunnel policy named policy1 and specify SRv6 TE Policy as the preferentially selected tunnels.
<HUAWEI> system-view
[~HUAWEI] tunnel-policy policy1
[*HUAWEI-tunnel-policy-policy1] tunnel select-seq ipv6 srv6-te-policy load-balance-number 1
# Create a tunnel policy named policy1 and specify SRv6 TE Flow Group as the preferentially selected tunnels.
<HUAWEI> system-view
[~HUAWEI] tunnel-policy policy1
[*HUAWEI-tunnel-policy-policy1] tunnel select-seq ipv6 srv6-te-flow-group load-balance-number 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >