ipv6 raguard vlan

Associates a Router Advertisement (RA) guard policy with a VLAN.
Syntax
ipv6 raguard vlan vlan-number policy name
no ipv6 raguard vlan vlan-number policy name
Parameters
vlan-number
Configures the ID number of the VLAN to which the specified RA guard policy should be associated. Valid range is from 1 to 4095.
policy
Associates a RA guard policy to the VLAN.
name
Specifies the name of the RA guard policy to be associated with the VLAN.
Modes

Global configuration mode

Usage Guidelines

A VLAN can have only one association with a RA guard policy. If you try to associate a new RA guard policy with a VLAN that is already associated with a policy, the new RA guard policy replaces the old one.

The no form of the command deletes the association of a RA guard policy from the VLAN.

Examples

The following example associates RA guard policy named p1 with VLAN 1:

device(config)# ipv6 raguard vlan 1 policy p1