Configuring IPv6 Unicast Routing
Configuring IPv6
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 the DHCPv6 Client Function
BEFORE YOU BEGIN
See
DHCPv6 Address Assignment Configuration Guidelines, page
DETAILED STEPS
Command
1.
configure terminal
2.
interface interface-id
3.
ipv6 address dhcp [rapid-commit]
4.
ipv6 dhcp client request [vendor-specific]
5.
end
6.
show ipv6 dhcp 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.
EXAMPLE
This example shows how to acquire an IPv6 address and to enable the rapid-commit option:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# ipv6 address dhcp rapid-commit
Configuring IPv6 ICMP Rate Limiting
ICMP rate limiting is enabled by default with a default interval between error messages of 100 milliseconds and a bucket
size (maximum number of tokens to be stored in a bucket) of 10.
BEFORE YOU BEGIN
Complete the
Configuring IPv6 Addressing and Enabling IPv6 Routing, page
940.
Purpose
Enter global configuration mode.
Enter interface configuration mode, and specify the
interface to configure.
Enable the interface to acquire an IPv6 address from
the DHCPv6 server.
rapid-commit—(Optional) Allow two-message
exchange method for address assignment.
(Optional) Enable the interface to request the
vendor-specific option.
Return to privileged EXEC mode.
Verify that the DHCPv6 client is enabled on an
interface.
934.
943