ipv6 dhcp snooping max-learning-num

Syntax

ipv6 dhcp snooping max-learning-num number

undo ipv6 dhcp snooping max-learning-num

View

Layer 2 Ethernet port view, Layer 2 aggregate interface view

Default level

2: System level

Parameters

number: Maximum number of DHCPv6 snooping entries an interface can learn.

Description

Use ipv6 dhcp snooping max-learning-num to configure the maximum number of DHCPv6 snooping entries an interface can learn.

Use undo ipv6 dhcp snooping max-learning-num to restore the default.

By default, the number of DHCPv6 snooping entries learned by an interface is not limited.

Examples

# Set the maximum number of DHCPv6 snooping entries Layer 2 Ethernet port Ethernet 1/0/1 can learn to 1000.

<Sysname> system-view
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] ipv6 dhcp snooping max-learning-num 1000