47-45
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 47 Configuring Network Security with ACLs Configuring RA Guard
Figure 47-10 Typical RA Guard Deployment
Configuring RA Guard
To configure RA Guard, perform this step:
Examples
This examples shows how to enable RA Guard on the switch:
Switch(config)# int gi1/1
Switch(config-if)# ipv6 nd raguard
Switch(config-if)# end
Switch# show running-configuration interface gi1/1
Building configuration...
Current configuration : 53 bytes
Host A Router
Catalyst 4500
Series Switch
253725
Host B
Block incoming
RA
Block
incoming
RA
Allow incoming
RA
Command Purpose
Step 1 Switch# configure terminal Enters global configuration mode.
Step 1 Switch(config)# interface interface Enters interface mode.
Step 2 Switch(config-if)# [no] ipv6 nd
raguard Enables RA Guard on the switch.
Step 3 Switch(config-if)# end Returns to privileged EXEC mode.
Step 4 Switch# show ipv6 first-hop
policies interface Shows the list of interfaces on which RA Guard has been enabled. The
interface option allows you to determine whether RA Guard is configured
on an interface.
Step 5 Switch# show ipv6 first-hop
counters interface Shows the number of packets dropped per port due to RA Guard. The
counters can be displayed for a particular interface by using the interface
option.
Note If counters are not enabled for the port, the counter value is zero.
Step 6 Switch# clear ipv6 first-hop
counters interface Clears RA Guard counters on a particular interface.
The counters on all interfaces are cleared if the interface option is absent.