1-24
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Configuring IPv6 Unicast Routing
Configuring IPv6
This example shows you how to configure a DHCP guard policy
Test
and attach it to an interface:
Switch(config)#
ipv6 dhcp-guard policy Test
Switch(config-dhcp-guard)#
no trusted-port
Switch(config-dhcp-guard)#
exit
Switch(config)#
interface gigabitethernet2/0/3
Switch(config-if)#
ipv6 dhcp guard attach-policy Test
Switch(config-if)#
exit
OR
Switch(config)#
vlan configuration 1-10
Switch(config-vlan-config)#
ipv6 dhcp guard attach-policy Test
Switch(config-vlan-config)#
exit
Switch#
show ipv6 dhcp-guard policy Test
Dhcp guard policy: Test
Device Role: dhcp server
Target: Gi2/0/3 vlan 1 vlan 2 vlan 3 vlan 4 vlan 5 vlan 6 vlan 7 vlan 8 vlan 9 vlan 10
Max Preference: 255
Min Preference: 0
This example shows how you can enable the FHS feature on an interface or VLAN, without creating a
snooping policy.
Note
Creating a policy gives you the flexibility to configure as per your needs. If you enable the feature
without creating a policy then the default policy configuration is applied:
Switch(config)#
interface GigabitEthernet1/0/9
Switch(config-if)#
ipv6 nd inspection
Switch(config-if)#
ipv6 nd raguard
Switch(config-if)#
ipv6 snooping
Switch(config-if)#
ipv6 dhcp guard
Switch(config-if)#
ipv6 source-guard
Switch(config-if)#
end
OR
Switch(config)#
vlan configuration 1
Switch(config-vlan-config)#
ipv6 nd inspection
Switch(config-vlan-config)#
ipv6 nd raguard
Switch(config-vlan-config)#
ipv6 dhcp guard
Switch(config-vlan-config)#
ipv6 snooping
Note
You cannot apply a source-guard policy to the VLAN.
For more examples, see the
Configuration Examples for Implementing First Hop Security in IPv6
section
of the
Cisco IOS IPv6 Configuration Library
on Cisco.com.
Configuring Default Router Preference
Router advertisement messages are sent with the default router preference (DRP) configured by the
ipv6 nd router-preference
interface configuration command. If no DRP is configured, RAs are sent
with a medium preference.
A DRP is useful when two routers on a link might provide equivalent, but not equal-cost routing, and
policy might dictate that hosts should prefer one of the routers.
Summary of Contents for Catalyst 3560-X Series
Page 12: ...Contents 10 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 13: ...Contents 11 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 14: ...Contents 12 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 15: ...Contents 13 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 16: ...Contents 14 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 17: ...Contents 15 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 18: ...Contents 16 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 19: ...Contents 17 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 20: ...Contents 18 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 21: ...Contents 19 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 22: ...Contents 20 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 23: ...Contents 21 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 24: ...Contents 22 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 25: ...Contents 23 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 26: ...Contents 24 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 27: ...Contents 25 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 28: ...Contents 26 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 29: ...Contents 27 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 30: ...Contents 28 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 31: ...Contents 29 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 32: ...Contents 30 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 33: ...Contents 31 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 34: ...Contents 32 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 35: ...Contents 33 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 36: ...Contents 34 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 37: ...Contents 35 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 38: ...Contents 36 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 42: ...56 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 Preface ...
Page 1538: ...Index IN 58 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...