Enabling a device to discard IPv6 packets that contain extension headers

This feature enables a device to discard a received IPv6 packet in which the extension headers cannot be processed by the device.

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 extension-header drop enable

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