247 
•  ICMPv6 Port Unreachable message—No port process on the destination device exists for a 
received UDP packet. 
If a device is generating ICMPv6 destination unreachable messages incorrectly, disable the sending 
of ICMPv6 destination unreachable messages to prevent attack risks. 
To enable sending ICMPv6 destination unreachable messages: 
 
Step Command Remarks 
1.  Enter system view. 
system-view 
N/A 
2.  Enable sending ICMPv6 destination 
unreachable messages. 
ipv6 unreachables enable 
By default, this feature is 
disabled. 
 
Enabling sending ICMPv6 time exceeded messages 
The device sends the source ICMPv6 time exceeded messages as follows: 
•  If a received packet is not destined for the device and its hop limit is 1, the device sends an 
ICMPv6 hop limit exceeded in transit message to the source. 
•  Upon receiving the first fragment of an IPv6 datagram destined for the device, the device starts 
a timer. If the timer expires before all the fragments arrive, the device sends an ICMPv6 
fragment reassembly time exceeded message to the source. 
If the device receives large numbers of malicious packets, its performance degrades greatly 
because it must send back ICMP time exceeded messages. To prevent such attacks, disable 
sending ICMPv6 time exceeded messages. 
To enable sending ICMPv6 time exceeded messages: 
 
Step Command Remarks 
1.  Enter system view. 
system-view 
N/A 
2.  Enable sending ICMPv6 time 
exceeded messages. 
ipv6 hoplimit-expires 
enable 
The default setting is disabled.  
 
Enabling sending ICMPv6 redirect messages 
Upon receiving a packet from a host, the device sends an ICMPv6 redirect message to inform the 
host of a better next hop when the following conditions are met: 
•  The interface receiving the packet is the interface forwarding the packet. 
•  The selected route is not created or modified by any ICMPv6 redirect messages. 
•  The selected route is not a default route. 
•  The forwarded packet does not contain the routing extension header. 
The ICMPv6 redirect feature simplifies host management by enabling hosts that hold few routes to 
optimize their routing table gradually. However, to avoid adding too many routes on hosts, this 
feature is disabled by default. 
To enable sending ICMPv6 redirect messages: 
 
Step Command Remarks 
1.  Enter system view. 
system-view 
N/A 
2.  Enable sending ICMPv6 redirect 
messages. 
ipv6 redirects enable
 
By default, sending ICMPv6 
redirect messages is disabled.