Performing Other IPv4 over IPv6 Tunnel Configurations
Context
You can perform one or more of the following configurations to optimize IPv4 over IPv6 tunnel performance.
Procedure
- Run system-view
The system view is displayed.
- Run interface tunnel interface-number
The tunnel interface view is displayed.
- Run tunnel ipv4-ipv6 encapsulation-limit encapsulation-limit The maximum encapsulation count of an IPv6 packet is specified.
By default, an IPv4-over-IPv6 packet can be encapsulated four times.
When the device communicates with a third-party device, you need to run the undo tunnel ipv4-ipv6 encapsulation-limit command to restore the default tunnel encapsulation limit. This prevents packet loss caused by the performance of the third-party device in processing packets with options.
- Run tunnel ipv4-ipv6 flow-label label-value
The flow label value is set.
By default, the flow label value is 0.
- Run tunnel ipv4-ipv6 hop-limit hop-limit
The maximum number of hops is set.
By default, the maximum number of hops is 64.
- Run tunnel ipv4-ipv6 traffic-class { original | class-value }
The traffic class is set.
By default, the traffic class is 0.