29
633
switchxxxxxx(config-if)#
1-10,12-20
switchxxxxxx(config-if)#
Example 3—In the following example, the IPv6 First Hop Security policy policy1 is
attached to the gi11 port and applied to VLANs 1-10 and the IPv6 First Hop
Security policy policy2 is attached to the gi11 port and applied to VLANs 12-20:
switchxxxxxx(config)#
switchxxxxxx(config-if)#
1-10
switchxxxxxx(config-if)#
12-20
switchxxxxxx(config-if)#
Example 4—In the following example IPv6 First Hop Security detaches policy
policy1 detached to the gi11 port:
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)# exit
29.20 ipv6 first hop security attach-policy
(VLAN mode)
To attach an IPv6 First Hop Security policy to a specified VLAN, use the ipv6 first
hop security attach-policy command in VLAN Configuration mode. To return to the
default, use the no form of this command.
Syntax
ipv6 first hop security attach-policy
no ipv6 first hop security attach-policy
ipv6 first hop security attach-policy policy1 vlan
exit
interface gi11
ipv6 first hop security attach-policy policy1 vlan
ipv6 first hop security attach-policy policy2 vlan
exit
interface gi11
no ipv6 first hop security attach-policy policy1
policy-name
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
IPv6 First Hop Security