25
543
•
The rules, configured in the policy attached to the VLAN are added to the
set if they have not been added.
•
The global rules are added to the set if they have not been added.
Use the no ipv6 neighbor binding attach-policy command to detach all
user-defined policies attached to the port.
Use the no ipv6 neighbor binding attach-policy
the specific policy from the port.
Examples
Example 1—In the following example, the Neighbor Binding policy policy1 is
attached to the gi 1 1 port:
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
Example 2—In the following example, the Neighbor Binding policy policy1 is
attached to the gi 1 1 port and applied to VLANs 1-10 and 12-20:
switchxxxxxx(config)#
switchxxxxxx(config-if)#
1-10,12-20
switchxxxxxx(config-if)#
Example 3—In the following example, the Neighbor Binding policy policy1 is
attached to the gi 1 1 port and applied to VLANs 1-10, and the Neighbor Binding
policy policy2 is attached to the gi 1 1 port and applied to VLANs 12-20:
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
12-20
switchxxxxxx(config-if)#
interface gi11
ipv6 neighbor binding attach-policy policy1
exit
interface gi11
ipv6 neighbor binding attach-policy policy1 vlan
exit
interface gi11
ipv6 neighbor binding attach-policy policy1 vlan 1-10
ipv6 neighbor binding attach-policy policy2 vlan
exit
OL-32830-01 Command Line Interface Reference Guide
IPv6 First Hop Security
policy-name
command to detach