How to attach an IPv6 Prefix Guard Policy to a Layer 2 EtherChannel Interface
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface port-channel port-channel-number
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 port number and places the
switch in the port channel configuration mode.
interface port-channel port-channel-number
Example:
Switch (config)# interface Po4
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
Examples: How to attach an IPv6 Prefix Guard Policy to a Layer 2 EtherChannel Interface, on page 712
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
711
How to Configure IPv6 Prefix Guard