Enabling Dhcpv6 Client Function - Cisco Catalyst 3750-E Software Configuration Manual

Hide thumbs Also See for Catalyst 3750-E:
Table of Contents

Advertisement

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.
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
ipv6 address dhcp [rapid-commit]
Step 4
ipv6 dhcp client request [vendor-specific]
Step 5
end
Step 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.
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.
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
41-18
Chapter 41
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.
Configuring IPv6 Unicast Routing
OL-9775-08

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst3560-e

Table of Contents