DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
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 2
Attaches the DHCP Guard policy to the interface
or the specified VLANs on that interface. The
ipv6 dhcp guard
[
attach-policy policy_name
[
vlan
{
vlan_ids
|
add vlan_ids
|
except vlan_ids
|
none
|
remove vlan_ids
|
all
} ] |
Step 3
default policy is attached if the
attach-policy
option is not used.
vlan
[ {
vlan_id
s |
add vlan_ids
|
exceptvlan_ids
|
none
|
remove
vlan_ids
|
all
} ]
Example:
Switch(config-if)#
ipv6 dhcp guard attach-policy
example_policy
or
Switch(config-if)#
ipv6 dhcp guard attach-policy
example_policy vlan 222,223,224
or
Switch(config-if)#
ipv6 dhcp guard vlan 222, 223,224
Confirms that the policy is attached to the specified
interface without exiting the configuration mode.
do show running-config interface
Interface_type
stack/module/port
Example:
Switch#(config-if)#
do show running-config gig 1/1/4
Step 4
Related Topics
Information about First Hop Security in IPv6, on page 678
How to Attach an IPv6 DHCP Guard Policy to a Layer 2 EtherChannel Interface
Beginning in privileged EXEC mode, follow these steps to attach an IPv6 DHCP Guard policy on an
EtherChannel interface or VLAN:
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
703
How to Configure an IPv6 DHCP Guard Policy
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......