167
Procedure
1. Enter system view.
system-view
2. Enter VLAN view.
vlan vlan-id
3. Enable ND snooping for IPv6 addresses. Choose the options to configure as needed:
{ Enable ND snooping for global unicast addresses.
ipv6 nd snooping enable global
{ Enable ND snooping for link-local addresses.
ipv6 nd snooping enable link-local
By default, ND snooping is disabled for IPv6 global unicast addresses and link-local addresses.
4. (Optional.) Enable ND snooping for data packets from unknown sources.
ipv6 nd snooping glean source
By default, ND snooping is disabled for data packets from unknown sources.
5. Return to system view.
quit
6. Enter Layer 2 Ethernet or Layer 2 aggregate interface view.
interface interface-type interface-number
7. (Optional.) Set the maximum number of ND snooping entries that an interface can learn.
ipv6 nd snooping max-learning-num max-number
By default, an interface can learn a maximum of 1024 ND snooping entries.
8. (Optional.) Configure the port as an ND snooping uplink port. The ND snooping uplink port
cannot learn ND snooping entries.
ipv6 nd snooping uplink
By default, the port is not an ND snooping uplink port. After ND snooping is enabled, the port
can learn ND snooping entries.
9. Return to system view.
quit
10. (Optional.) Set timeout timers for ND snooping entries.
ipv6 nd snooping lifetime { invalid invalid-lifetime | valid
valid-lifetime }
The default settings are as follows:
{ The timeout timer for ND snooping entries in INVALID status (TENTATIVE, TESTING_TPLT,
or TESTING_VP) is 500 milliseconds.
{ The timeout timer for ND snooping entries in VALID status is 300 seconds.
11. (Optional.) Set the interval for retransmitting an NS message for DAD.
ipv6 nd snooping dad retrans-timer interval
The default value is 250 milliseconds.