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 field in the IPv6 field of the IPv6 tunnel header uses the value in Traffic Class field of the original packet. | - |
class-value | Specifies the traffic level of the IPv4 over IPv6 tunnel. | The value is an integer that ranges from 0 to 255. |
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.
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 traffic-class 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.