IPv6 First Hop Security
OL-32830-01 Command Line Interface Reference Guide 508
25
 
switchxxxxxx(config-if)# 
exit
Example 2—The following example enables IPv6 First Hop Security on VLANs 
100-107:
switchxxxxxx(config)# 
interface range vlan
 100-107
switchxxxxxx(config-if-range)# 
ipv6 first hop security
switchxxxxxx(config-if-range)# 
exit
25.19 ipv6 first hop security attach-policy 
(port mode)
To attach an IPv6 First Hop Security policy to a specific port, use the ipv6 first hop 
security attach-policy command in Interface Configuration mode. To return to the 
default, use the no form of this command.
Syntax
ipv6 first hop security attach-policy 
policy-name 
[vlan 
vlan-list
]
no ipv6 first hop security attach-policy [
policy-name
]
Parameters
•
policy-name
—The IPv6 First Hop Security policy name (up to 32 
characters).
• vlan 
vlan-list
—Specifies that the IPv6 First Hop Security policy is to be 
attached to the VLAN(s) in 
vlan-list
. If the vlan keyword is not configured, the 
policy is applied to all VLANs on the device on which IPv6 First Hop 
Security is enabled.
Default Configuration
The IPv6 First Hop Security default policy is applied.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode