Users Guide

Parameters
ethernet node/slot/port[:subport]Enter the Ethernet interface information.
port-channel channel-idEnter the port-channel ID, from 1 to 128.
Default None
Command Mode EXEC
Usage
Information
This command clears the RA packet statistics from all the interfaces that have RA guard policy
configured.
Example
OS10# clear ipv6 nd ra-guard statistics interface port-channel 10
Supported
Releases
10.5.2.0 or later
device-role
Configures the attached device as a host or a router.
Syntax
device-role {host | router}
Parameters
hostEnter host to specify the connected device as a host.
routerEnter router to specify the connected device as a router.
Default None
Command Mode RA GUARD POLICY LIST CONFIGURATION
Usage
Information
This command specifies whether the device attached to the interface is a host or a router. When an RA
packet arrives at the interface where this policy is configured:
If you configure the device role as a host, OS10 drops all the RA packets.
If you configure the device role as a router, OS10 examines all the RA packets against the other policy
parameters.
The no form of this command removes the configuration.
Examples
OS10(conf-ra_guard_policy_list)# device-role router
OS10(conf-ra_guard_policy_list)# device-role host
Supported
Releases
10.5.2.0 or later
ipv6 nd ra-guard attach-policy
Applies the RA guard policy to a specific interface.
Syntax
ipv6 nd ra-guard attach-policy policy-name vlan {all | vlan-id-1, vlan-
id-2...vlan-id-n | vlan-id1-vlan-idn}
Parameters policy-nameEnter the RA guard policy name. A maximum of 140 characters.
Default None
Command Mode INTERFACE CONFIGURATION
Usage
Information
NOTE: If you configure the BGP unnumbered feature on a VLAN, do not apply the RA guard policy
for that VLAN.
This command is applicable for physical and port-channel interfaces.
You must associate the interface as a member port with the VLAN or VLANs that you specify in this
command.
If you specify a VLAN ID that is not yet created in the system, the policy is applied when the VLAN is
configured, becomes active, and is associated with this interface.
Layer 3 907