IPv6 First Hop Security
OL-32830-01 Command Line Interface Reference Guide 552
25
Examples
Example 1—The following example enables IPv6 Source Guard on VLAN 100:
switchxxxxxx(config)#
interface vlan 100
switchxxxxxx(config-if)#
ipv6 source guard
switchxxxxxx(config-if)#
exit
Example 2—The following example enables IPv6 Source Guard on VLANs
100-107:
switchxxxxxx(config)#
interface range vlan 100-107
switchxxxxxx(config-if-range)#
ipv6 source guard
switchxxxxxx(config-if-range)#
exit
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
policy-name
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