IPv6 First Hop Security
OL-32830-01 Command Line Interface Reference Guide
502
25
Example 4—In the following example DHCPv6 Guard detaches
policy1 from the
gi11 port:
switchxxxxxx(config)#
interface
gi11
switchxxxxxx(config-if)#
no ipv6 dhcp guard attach-policy policy1
switchxxxxxx(config-if)#
exit
25.15 ipv6 dhcp guard attach-policy (VLAN
mode)
To attach a DHCPv6 Guard policy to a specified VLAN, use the ipv6 dhcp guard
attach-policy command in VLAN Configuration mode. To return to the default, use
the no form of this command.
Syntax
ipv6 dhcp guard attach-policy
policy-name
no ipv6 dhcp guard attach-policy
Parameters
•
policy-name
—The DHCPv6 Guard policy name (up to 32 characters).
Default Configuration
The DHCPv6 Guard default policy is applied.
Command Mode
Interface (VLAN) Configuration mode
User Guidelines
Use this command to attach a DHCPv6 Guard policy to a VLAN.
If a policy specified by the policy-name
argument is not defined, the command is
rejected.
Use the no form of the command to detach the current policy and to re-attach the
default policy. The the no form of the command has no effect if the default policy
was attached.
Summary of Contents for 300 Series
Page 2: ......