242
Enable ND detection on Switch B to filter out forged ND packets.
Network diagram
Figure 79
Network diagram for ND detection configuration
10::5
0001-0203-0405
Switch A
Switch B
Host A
Host B
GE1/0/3
Vlan-int10
10::1
Gateway
GE1/0/1
GE1/0/3
GE1/0/2
VLAN 10
ND snooping
10::6
0001-0203-0607
Internet
Configuration procedure
1.
Configuring Switch A.
# Enable IPv6 forwarding.
<SwitchA> system-view
[SwitchA] ipv6
# Create VLAN 10.
[SwitchA] vlan 10
[SwitchA-vlan10] quit
# Assign port GigabitEthernet 1/0/3 to VLAN 10.
[SwitchA] interface gigabitethernet 1/0/3
[SwitchA- GigabitEthernet1/0/3] port link-type trunk
[SwitchA- GigabitEthernet1/0/3] port trunk permit vlan 10
[SwitchA- GigabitEthernet1/0/3] quit
# Assign an IPv6 address to VLAN-interface 10.
[SwitchA] interface vlan-interface 10
[SwitchA-Vlan-interface10] ipv6 address 10::1/64
[SwitchA-Vlan-interface10] quit
2.
Configuring Switch B.
# Enable IPv6 forwarding.
<SwitchB> system-view
[SwitchB] ipv6