940
Configuring IPv6 Unicast Routing
Configuring IPv6
To remove all manually configured IPv6 addresses from an interface, use the
no ipv6 address
interface configuration
command without arguments. To disable IPv6 processing on an interface that has not been explicitly configured with an
IPv6 address, use the
no ipv6 enable
interface configuration command.
EXAMPLE
This example shows how to enable IPv4 and IPv6 routing on an interface:
Switch(config)#
sdm prefer dual-ipv4-and-ipv6 default
Switch(config)#
ip routing
Switch(config)#
ipv6 unicast-routing
Switch(config)#
interface gigabitethernet0/2
Switch(config-if)#
no switchport
Switch(config-if)#
ip address 192.168.99.1 244.244.244.0
Switch(config-if)#
ipv6 address 2001:0DB8:c18:1::/64 eui 64
Switch(config-if)#
end
Configuring DHCP for IPv6 Address Assignment
This document describes only the DHCPv6 address assignment. For more information about configuring the DHCPv6
client, server, or relay agent functions, see the “Implementing DHCP for IPv6” chapter in the
Default DHCPv6 Address Assignment Configuration, page 940
DHCPv6 Address Assignment Configuration Guidelines, page 940
Enabling the DHCPv6 Server Function, page 940
Enabling the DHCPv6 Client Function, page 943
Default DHCPv6 Address Assignment Configuration
By default, no Dynamic Host Configuration Protocol for IPv6 (DHCPv6) features are configured on the switch.
DHCPv6 Address Assignment Configuration Guidelines
When configuring a DHCPv6 address assignment, consider these guidelines:
In the procedures, the specified interface must be one of these Layer 3 interfaces:
—
DHCPv6 IPv6 routing must be enabled on a Layer 3 interface.
—
SVI: a VLAN interface created by using the
interface vlan
vlan_id
command.
—
EtherChannel port channel in Layer 3 mode: a port-channel logical interface created by using the
interface
port-channel port-channel-number
command.
Before configuring DHCPv6, you must select a Switch Database Management (SDM) template that supports IPv4
and IPv6.
The switch can act as a DHCPv6 client, server, or relay agent. The DHCPv6 client, server, and relay function are
mutually exclusive on an interface.
Enabling the DHCPv6 Server Function
BEFORE YOU BEGIN
See
DHCPv6 Address Assignment Configuration Guidelines, page 940
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...