25
525
Examples
Example 1—The following example enables RA Guard on VLAN 100:
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
Example 2—The following example enables RA Guard on VLANs 100-107:
switchxxxxxx(config)#
switchxxxxxx(config-if-range)#
switchxxxxxx(config-if-range)#
25.31 ipv6 nd raguard attach-policy (port
mode)
To attach an RA Guard policy to a specific port, use the ipv6 nd raguard
attach-policy command in Interface Configuration mode. To return to the default,
use the no form of this command.
Syntax
ipv6 nd raguard attach-policy
no ipv6 nd raguard attach-policy [
Parameters
•
policy-name
—The RA Guard policy name (up to 32 characters).
•
vlan-list
vlan
—Specifies that the RA Guard policy is to be attached to the
vlan-list
VLAN(s) in
applied to all VLANs on the device on which RA Guard policy is enabled.
Default Configuration
The RA Guard default policy is applied.
interface vlan 100
ipv6 nd raguard
exit
interface range vlan 100-107
ipv6 nd raguard
exit
policy-name
[vlan
policy-name
. If the vlan keyword is not configured, the policy is
OL-32830-01 Command Line Interface Reference Guide
IPv6 First Hop Security
vlan-list
]
]