How to Attach an IPv6 Prefix Guard Policy to an Interface
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface Interface_type stack/module/port
4.
ipv6 source-guard attach-policy policy_name
5.
show ipv6 source-guard policy policy_name
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Specifies an interface type and identifier; enters the
interface configuration mode.
interface Interface_type stack/module/port
Example:
Switch(config)# interface gigabitethernet 1/1/4
Step 3
Attaches the IPv6 Source Guard policy to the interface.
The default policy is attached if the attach-policy option
is not used.
ipv6 source-guard attach-policy policy_name
Example:
Switch(config-if)# ipv6 source-guard attach-policy
example_policy
Step 4
Shows the policy configuration and all the interfaces
where the policy is applied.
show ipv6 source-guard policy policy_name
Example:
Switch(config-if)# show ipv6 source-guard policy
example_policy
Step 5
Related Topics
Information about First Hop Security in IPv6, on page 678
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
710
How to Configure IPv6 Prefix Guard