R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
271
Syntax
ipv6 hop-limit value
undo ipv6 hop-limit
Default
The hop limit is 64.
Views
System view
Predefined user roles
network-admin
Parameters
value: Specifies the number of hops, in the range of 1 to 255.
Usage guidelines
The hop limit determines the number of hops that an IPv6 packet generated by the device can travel.
If the device advertises the hop limit in RA messages (set by using the undo ipv6 nd ra hop-limit
unspecified command), all RA message receivers uses the value set by using the ipv6 hop-limit command
to fill in the Hop Limit field.
Examples
# Set the maximum number of hops to 100.
<Sysname> system-view
[Sysname] ipv6 hop-limit 100
Related commands
ipv6 nd ra hop-limit unspecified
ipv6 hoplimit-expires enable
Use ipv6 hoplimit-expires enable to enable sending ICMPv6 time exceeded messages.
Use undo ipv6 hoplimit-expires to disable sending ICMPv6 time exceeded messages.
Syntax
ipv6 hoplimit-expires enable
undo ipv6 hoplimit-expires enable
Default
Sending ICMPv6 time exceeded messages is enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
ICMPv6 time exceeded messages are sent to the source of IPv6 packets after the device discards IPv6
packets because hop or reassembly times out.