43-18
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 43 Configuring IPv6 Unicast Routing
Configuring IPv6
This example shows how to configure a pool called 350 with vendor-specific options:
Switch# configure terminal
Switch(config)# ipv6 dhcp pool 350
Switch(config-dhcpv6)# address prefix 2001:1005::0/48
Switch(config-dhcpv6)# vendor-specific 9
Switch(config-dhcpv6-vs)# suboption 1 address 1000:235D::1
Switch(config-dhcpv6-vs)# suboption 2 ascii "IP-Phone"
Switch(config-dhcpv6-vs)# end
Enabling DHCPv6 Client Function
Beginning in privileged EXEC mode, follow these steps to enable DHCPv6 client function on an
interface.
To disable the DHCPv6 client function, use the no ipv6 address dhcp interface configuration command.
To remove the DHCPv6 client request, use the no ipv6 address dhcp client request interface
configuration command.
This example shows how to acquire an IPv6 address and to enable the rapid-commit option:
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# ipv6 address dhcp rapid-commit
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 Cisco IOS IPv6 Configuration Library on Cisco.com.
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 interface interface-id Enter interface configuration mode, and specify the interface
to configure.
Step 3 ipv6 address dhcp [rapid-commit]Enable the interface to acquire an IPv6 address from the
DHCPv6 server.
rapid-commit—(Optional) Allow two-message exchange
method for address assignment.
Step 4 ipv6 dhcp client request [vendor-specific](Optional) Enable the interface to request the vendor-specific
option.
Step 5 end Return to privileged EXEC mode.
Step 6 show ipv6 dhcp interface Verify that the DHCPv6 client is enabled on an interface.