IPv6 First Hop Security
OL-32830-01 Command Line Interface Reference Guide
Examples
Example 1—The following example enables IPv6 Source Guard on VLAN 100:
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
Example 2—The following example enables IPv6 Source Guard on VLANs
100-107:
switchxxxxxx(config)#
switchxxxxxx(config-if-range)#
switchxxxxxx(config-if-range)#
25.50 ipv6 source guard attach-policy (port
mode)
To attach an IPv6 Source Guard policy to a specific port, use the ipv6 source
guard attach-policy command in Interface Configuration mode. To return to the
default, use the no form of this command.
Syntax
ipv6 source guard attach-policy
no ipv6 source guard attach-policy
Parameters
•
policy-name
—The IPv6 Source Guard policy name (up to 32 characters).
Default Configuration
The IPv6 Source Guard default policy is applied.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
interface vlan 100
ipv6 source guard
exit
interface range vlan 100-107
ipv6 source guard
exit
policy-name
25
552