Configuring ND Snooping
Step 1 Enable ND snooping protocol in corresponding VLAN.
set protocols neighbour snooping vlan <vlan-id> enable true
Step 2 ND snooping classifies ports connected to IPv6 nodes into trusted and untrusted ports. By default, all ports of the device are untrusted.
set protocols neighbour snooping trust-port <port>
Step 3 Enable IP routing function when configuring ND Snooping.
set ip routing enable true
NOTEs:
Enable IP routing function before using this feature, for details please refer to https://pica8-fs.atlassian.net/wiki/spaces/PicOS45/pages/258618699
<port>can be a valid physical port or a LAG (Link Aggregation Group) port. The members of the LAG port don’t support configuration as a trust port.
Step 4 (Optional) Configure the maximum number of ND snooping dynamic binding table entries a device is allowed to learn.
set protocols neighbour snooping max-user-number <max-user-num>
Step 5 (Optional) If the device does not send RA messages, the prefix management table entries cannot automatically generate, in this scenario, user can configure static prefix.
set protocols neighbour snooping static-prefix <IPv6Net> vlan <vlan-id>
NOTES:
<IPv6Net>cannot be ::/0, multicast address.<vlan-id>must be configured when add or delete.
Step 6 Commit the configuration.
commit
Step 7 View the configuration information and table entries about ND snooping.
run show neighbor snooping
run show neighbor snooping prefix [static | dynamic]
run show neighbor snooping binding
Step 8 (Optional) If needed, users can clear the entries of ND snooping.
run clear neighbor snooping prefix
run clear neighbor snooping binding