< Home

tunnel ipv4-ipv6 traffic-class

Function

The tunnel ipv4-ipv6 traffic-class command sets the traffic level of the IPv4 over IPv6 tunnel.

The undo tunnel ipv4-ipv6 traffic-class command restores the traffic level to the default value.

By default, the traffic level of the IPv4 over IPv6 tunnel is 0.

Format

tunnel ipv4-ipv6 traffic-class { original | class-value }

undo tunnel ipv4-ipv6 traffic-class

Parameters

Parameter Description Value
original Indicates that the value of the traffic class of the IPv6 field in the IPv6 tunnel header adopts that in the original packet. -
class-value Specifies the traffic level of the IPv4 over IPv6 tunnel. The value is an integer ranging from 0 to 255.

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

The traffic level of the IPv6 tunnel packets refers to the value of the traffic class field in the tunnel packet header of the ingress on the tunnel.

Before running the tunnel ipv4-ipv6 traffic-class command in the tunnel interface view, you need to run the tunnel-protocol ipv4-ipv6 command in the tunnel interface view to configure the tunnel mode as the IPv4 over IPv6 manual tunnel mode.

Example

# Set the traffic level of the specified IPv4 over IPv6 tunnel to 10.

<sysname> system-view
[sysname] interface tunnel 1
[sysname-Tunnel1] tunnel-protocol ipv4-ipv6
[sysname-Tunnel1] tunnel ipv4-ipv6 traffic-class 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic