ipv6 option drop enable
Use ipv6 option drop enable to enable a device to discard IPv6 packets that contain extension headers.
Use undo ipv6 option drop enable to disable a device from discarding IPv6 packets that contain extension headers.
Syntax
ipv6 option drop enable
undo ipv6 option drop enable
Default
A device does not discard IPv6 packets that contain extension headers.
Views
System view
Predefined user roles
network-admin
Usage guidelines
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.
Examples
# Enable the device to discard IPv6 packets that contain extension headers.
<Sysname> system-view [Sysname] ipv6 option drop enable