[Switch-vlan10] quit
# Specify host as the role of the device attached to GigabitEthernet 1/0/1.
[Switch] interface gigabitethernet 1/0/1
[Switch-GigabitEthernet1/0/1] ipv6 nd raguard role host
[Switch-GigabitEthernet1/0/1] quit
# Specify router as the role of the device attached to GigabitEthernet 1/0/3.
[Switch] interface gigabitethernet 1/0/3
[Switch-GigabitEthernet1/0/3] ipv6 nd raguard role router
[Switch-GigabitEthernet1/0/3] quit
Verifying the configuration
# Verify that the device drops RA messages received on GigabitEthernet 1/0/1. (Details not shown.)
# Verify that the device forwards RA messages received on GigabitEthernet 1/0/3 to other ports in
VLAN 10. (Details not shown.)
# Verify that the device drops RA messages sent by the unknown host. (Details not shown.)
520