278
Default
The number of DHCPv6 snooping entries for an interface to learn is not limited.
Views
Layer 2 Ethernet interface/Layer 2 aggregate interface view
S-channel interface/S-channel aggregate interface view
VSI interface/VSI aggregate interface view
Predefined user roles
network-admin
Parameters
number: Maximum number of DHCPv6 snooping entries for an interface to learn. The value range is
1 to 4294967295.
Examples
# Specify the Layer 2 Ethernet interface Ten-GigabitEthernet1/0/1 to learn a maximum of 1000
DHCPv6 snooping entries.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] ipv6 dhcp snooping max-learning-num 1000
ipv6 dhcp snooping option interface-id enable
Use ipv6 dhcp snooping option interface-id enable to enable support for the interface-ID option
(also called Option 18).
Use undo ipv6 dhcp snooping option interface-id enable to restore the default.
Syntax
ipv6 dhcp snooping option interface-id enable
undo ipv6 dhcp snooping option interface-id enable
Default
The Option 18 is not supported.
Views
Layer 2 Ethernet interface/Layer 2 aggregate interface view
S-channel interface/S-channel aggregate interface view
VSI interface/VSI aggregate interface view
Predefined user roles
network-admin
Usage guidelines
This command takes effect only when DHCPv6 snooping is globally enabled.
Examples
# Enable support for Option 18.
<Sysname> system-view
[Sysname] ipv6 dhcp snooping enable
[Sysname] interface Ten-GigabitEthernet1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] ipv6 dhcp snooping option interface-id enable