Device-Role (Ra Guard Policy) - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

25
495

25.10 device-role (RA Guard Policy)

To specify the role of the device attached to the port within an IPv6 RA Guard
policy, use the device-role command in RA Guard Policy Configuration mode. To
returned to the default, use the no form of this command.
Syntax
device-role {host | router}
no device-role
Parameters
host—Sets the role of the device to host.
router—Sets the role of the device to router.
Default Configuration
Policy attached to port or port channel: the value configured in the policy attached
to the VLAN.
Policy attached to VLAN: host.
Command Mode
RA Guard Policy Configuration mode
User Guidelines
If this command is part of a policy attached to a VLAN, it is applied to all the ports
in the VLAN. If it is defined in a policy attached to a port in the VLAN, this value
overrides the value in the policy attached to the VLAN.
RA Guard discards input RA, CPA, and ICMPv6 Redirect messages received on
ports configured as host.
Example
The following example defines an RA Guard policy named policy 1 and configures
the port role as router:
switchxxxxxx(config)#
switchxxxxxx(config-ra-guard)#
ipv6 nd raguard policy policy1
device-role router
OL-32830-01 Command Line Interface Reference Guide
IPv6 First Hop Security

Advertisement

Table of Contents
loading

Table of Contents