ipv6 dhcp snooping deny

Use ipv6 dhcp snooping deny to configure a port as DHCPv6 packet blocking port.

Use undo ipv6 dhcp snooping deny to restore the default.

Syntax

ipv6 dhcp snooping deny

undo ipv6 dhcp snooping deny

Default

A port does not block DHCPv6 packets.

Views

Layer 2 Ethernet interface view, Layer 2 aggregate interface view

Predefined user roles

network-admin

Usage guidelines

DHCPv6 clients connected to DHCPv6 packet blocking ports cannot obtain IPv6 addresses, IPv6 prefixes, and other configuration parameters from the DHCPv6 server.

Do not configure a port as both a trusted port and a DHCPv6 packet blocking port.

Examples

# Configure Layer 2 Ethernet interface Ten-GigabitEthernet 1/0/1 as a DHCPv6 packet blocking port.

<Sysname> system-view
[Sysname] interface Ten-Gigabitethernet 1/0/1
[Sysname-Ten-Gigabitethernet1/0/1] ipv6 dhcp snooping deny