Specifying the source address for ICMPv6 packets
About specifying the source address for ICMPv6 packets
Perform this task to specify the source IPv6 address for outgoing ping echo requests and ICMPv6 error messages. It is a good practice to specify the IPv6 address of the loopback interface as the source IPv6 address. This feature helps users to easily locate the sending device.
Restrictions and guidelines
If you specify an IPv6 address in the ping command, ping echo requests use the specified address as the source IPv6 address. If you do not specify an IPv6 address in the ping command, ping echo requests use the IPv6 address specified by the ipv6 icmpv6 source command.
Procedure
Enter system view.
system-view
Specify an IPv6 address as the source address for outgoing ICMPv6 packets.
ipv6 icmpv6 source [ vpn-instance vpn-instance-name ] ipv6-address
By default, the device uses the IPv6 address of the sending interface as the source IPv6 address for outgoing ICMPv6 packets.