beautypg.com

Specifying the source address for icmpv6 packets, Displaying and maintaining ipv6 basics – H3C Technologies H3C S5560 Series Switches User Manual

Page 175

background image

160

Specifying the source address for ICMPv6 packets

Perform this task to specify the source IPv6 address for outgoing ping echo request 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.
If you specify an IPv6 address in the ping command, ping echo requests use the specified address as the

source IPv6 address rather than the IPv6 address specified by the ipv6 icmpv6 source command.
To specify the source IPv6 address for ICMPv6 packets:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

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.

Enabling a device to discard IPv6 packets that

contain extension headers

This feature enables a device to discard a received IPv6 packet in either of the following situations:

The packet contains a Hop-by-Hop Options header.

The packet contains two or more extension headers.

To enable a device to discard IPv6 packets that contain extension headers:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable the device to discard

IPv6 packets that contain

extension headers.

ipv6 option drop enable

By default, the device does not
discard IPv6 packets that contain

extension headers.

Displaying and maintaining IPv6 basics

Execute display commands in any view and reset commands in user view.

Task Command

Display IPv6 FIB entries.

display ipv6 fib [ vpn-instance vpn-instance-name ] [ ipv6-address
[ prefix-length ] ]

Display IPv6 information about the
interface.

display ipv6 interface [ interface-type [ interface-number ] ] [ brief ]

Display IPv6 prefix information about the
interface.

display ipv6 interface interface-type interface-number prefix

This manual is related to the following products: