CLI Reference Guide-R07

Table Of Contents
Chapter 26
| DHCP Commands (IPv4 and IPv6)
DHCP Relay (IPv4 and IPv6)
– 643 –
Example
This example sets the Option 82 policy to keep the client information in the request
packet received by the relay agent, and forward this packet on to the DHCP server.
Console(config)#ip dhcp relay information policy keep
Console(config)#
Related Commands
ip dhcp relay information option (639)
ip dhcp relay server (635)
ip dhcp snooping (291)
ipv6 dhcp relay
destination
Use this command to enable IPv6 DHCP relay agent service and specify a DHCPv6
destination unicast addresses. Use the no form of the command to delete all
DHCPv6 relay agent destinations or specify a single destination address to be
removed.
Syntax
ipv6 dhcp relay destination address1 [address2 [address3...]]
no ip dhcp relay server destination [address]
address - IPv6 address of DHCPv6 server or relay agent (Range: 1-5
addresses)
Default Setting
Disabled
Command Mode
Interface Configuration (VLAN)
Usage Guidelines
A maximum of five DHCPv6 server or relay agent unicast addresses can be
configured.
DHCP relay service is enabled on the VLAN when at least one Unicast or Multicast
entry is configured.
Once an entry is entered using the command, the switch will listen on UDP port 547
for DHCPv6 messages from DHCPv6 clients and forward the messages to the
configured destination address(es).
The layer 3 interface of the configured or destination VLAN must have its layer 3
interface enabled. (Adding an IPv6 or IP address to the VLAN interface will enable
it.)