The tunnel ipv4-ipv6 flow-label command sets the flow label value.
The undo tunnel ipv4-ipv6 flow-label command restores the default flow label value.
The default flow label value is 0.
Parameter | Description | Value |
---|---|---|
label-value | Specifies the flow label value. | The value is an integer that ranges from 0 to 1048575. |
The flow label value of the tunnel refers to the value specified in the flow label field in the IPv6 packet header on the inbound interface of the tunnel.
If this command is configured in the tunnel interface view, it takes effect only on the current tunnel interface.
If this command is configured in the system view, it takes effect only on the mobile IPv6 network.
Before running the tunnel ipv4-ipv6 flow-label command in the tunnel interface view, run the tunnel-protocol ipv4-ipv6 command in the same view to set the tunnel mode to the IPv4 over IPv6 manual tunnel.
The configuration in the system view and the configuration in the tunnel interface view are independent of each other.
# Set the flow label value of a specified IPv4 over IPv6 tunnel to 10.
<HUAWEI> system-view [HUAWEI] interface tunnel 1 [HUAWEI-Tunnel1] tunnel-protocol ipv4-ipv6 [HUAWEI-Tunnel1] tunnel ipv4-ipv6 flow-label 10
# Set the flow label value of all the IPv4 over IPv6 tunnels on the local device to 10.
<HUAWEI> system-view [HUAWEI] tunnel ipv4-ipv6 flow-label 10