208
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 interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
number
: Maximum number of DHCPv6 snooping entries an interface can learn. The value ranges from 0
to 4096.
Description
Use the
ipv6 dhcp snooping max-learning-num
command to configure the maximum number of DHCPv6
snooping entries an interface can learn.
Use the
undo ipv6 dhcp snooping max-learning-num
command 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 interface GigabitEthernet
1/0/1 can learn to 1000.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] ipv6 dhcp snooping max-learning-num 1000
ipv6 dhcp snooping trust
Syntax
ipv6 dhcp snooping trust
undo ipv6 dhcp snooping trust
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
None
Description
Use the
ipv6 dhcp snooping trust
command to configure a DHCPv6 trusted port.
Use the
undo ipv6 dhcp snooping trust
command to restore the default.
By default, all interfaces of a switch with DHCPv6 snooping enabled globally are untrusted ports.