Configuring IPv6
Command
Step 5
vendor-specific vendor-id
Step 6
suboption number {address IPv6-address | ascii
ASCII-string | hex hex-string}
Step 7
exit
Step 8
exit
Step 9
interface interface-id
Step 10
ipv6 dhcp server [poolname | automatic]
[rapid-commit] [preference value] [allow-hint]
Step 11
end
Step 12
show ipv6 dhcp pool
or
show ipv6 dhcp interface
Step 13
copy running-config startup-config
To delete a DHCPv6 pool, use the no ipv6 dhcp pool poolname global configuration command. Use the
no form of the DHCP pool configuration mode commands to change the DHCPv6 pool characteristics.
To disable the DHCPv6 server function on an interface, use the no ipv6 dhcp server interface
configuration command.
This example shows how to configure a pool called engineering with an IPv6 address prefix:
Switch# configure terminal
Switch(config)# ipv6 dhcp pool engineering
Switch(config-dhcpv6)#address prefix 2001:1000::0/64
Switch(config-dhcpv6)# end
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
1-28
Chapter 1
Purpose
(Optional) Enter vendor-specific configuration mode and
enter a vendor-specific identification number. This number is
the vendor IANA Private Enterprise Number. The range is 1
to 4294967295.
(Optional) Enter a vendor-specific suboption number. The
range is 1 to 65535. Enter an IPv6 address, ASCII text, or a
hex string as defined by the suboption parameters.
Return to DHCP pool configuration mode.
Return to global configuration mode.
Enter interface configuration mode, and specify the interface
to configure.
Enable DHCPv6 server function on an interface.
poolname—(Optional) User-defined name for the IPv6
•
DHCP pool. The pool name can be a symbolic string
(such as Engineering) or an integer (such as 0).
automatic—(Optional) Enables the system to
•
automatically determine which pool to use when
allocating addresses for a client.
rapid-commit—(Optional) Allow two-message
•
exchange method.
preference value—(Optional) The preference value
•
carried in the preference option in the advertise message
sent by the server. The range is from 0 to 255. The
preference value default is 0.
•
allow-hint—(Optional) Specifies whether the server
should consider client suggestions in the SOLICIT
message. By default, the server ignores client hints.
Return to privileged EXEC mode.
Verify DHCPv6 pool configuration.
Verify that the DHCPv6 server function is enabled on an
interface.
(Optional) Save your entries in the configuration file.
Configuring IPv6 Unicast Routing
OL-25303-03