ipv6 extension-header drop enable

Use ipv6 extension-header drop enable to enable a device to discard IPv6 packets that contain extension headers.

Use undo ipv6 extension-header drop enable to disable a device from discarding IPv6 packets that contain extension headers.

Syntax

ipv6 extension-header drop enable

undo ipv6 extension-header drop enable

Default

A device does not discard IPv6 packets that contain extension headers.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

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

Examples

# Enable the device to discard IPv6 packets that contain extension headers.

<Sysname> system-view
[Sysname] ipv6 extension-header drop enable