Administrator Guide

1484 IPv6 Routing
access mode, meaning untagged incoming and outgoing packets are
processed on VLAN 10. RA-Guard is enabled on interface Gi1/0/1 and then
the configuration is verified with the show command.
console(config)#vlan 10
console(config-vlan10)#exit
console(config)#interface vlan 10
console(config-if-vlan10)#ipv6 enable
console(config-if-vlan10)#exit
console(config)#ipv6 unicast-routing
console(config)#interface gi1/0/1
console(config-if-Gi1/0/1)#switchport mode access
console(config-if-Gi1/0/1)#switchport access vlan 10
console(config-if-Gi1/0/1)#exit
console(config)#interface gi1/0/1
console(config-if-Gi1/0/1)#ipv6 nd raguard attach-policy
console(config-if-Gi1/0/1)#show ipv6 nd raguard policy
Ipv6 RA-Guard Configured Interfaces
Interface Role
--------------- -------
Gi1/0/1 Host
The following example configures the unnamed RA-Guard policy to drop all
RA advertisements and router redirect messages on host connected interface
Gi1/0/1. In the example, switched VLAN 10 spans physical interface Gi1/0/1
connected to a host as well as interface Te1/0/1 connected to a router.
Interface gi1/0/1 is placed into access mode, meaning untagged incoming and
outgoing packets are processed on VLAN 10. RA-Guard is enabled on
interface Gi1/0/1 and then the configuration is verified with the show
command.
console(config)#vlan 10
console(config-vlan10)#exit
console(config)#interface gi1/0/1
console(config-if-Gi1/0/1)#switchport mode access
console(config-if-Gi1/0/1)#switchport access vlan 10
console(config-if-Gi1/0/1)#exit
console(config)#interface te1/0/1
console(config-if-Te1/0/1)#switchport mode trunk
console(config-if-Te1/0/1)#exit
console(config)#interface gi1/0/1