Chapter 29
| DHCP Commands
DHCP Relay
– 872 –
Example
In the following example, the device is reassigned the same address.
Console#ip dhcp restart relay
Console#show ip interface
VLAN 1 is Administrative Up - Link Up
Address is 00-00-E8-93-82-A0
Index: 1001, MTU: 1500
Address Mode is DHCP
IP Address: 10.1.0.254 Mask: 255.255.255.0
Proxy ARP is disabled
DHCP relay server: 0.0.0.0
Console#
Related Commands
ip dhcp relay server (870)
DHCP Relay for IPv6
ipv6 dhcp relay
destination
This command specifies the destination address or VLAN to which client messages
are forwarded for DHCP service. Use the no form to remove an entry.
Syntax
[no] ipv6 dhcp relay destination {ipv6-address | multicast {all | vlan vlan-id}}
ipv6-address - A full IPv6 address including the network prefix and host
address bits. This address may designate another relay server or a DHCPv6
server.
multicast - All DHCP server multicast address (FF:05::1:3).
all - All configured VLANs.
vlan-id - ID of configured VLAN. (Range: 1-4094)
Default Setting
None
Command Mode
Interface Configuration (VLAN)
Usage Guidelines
â—† This command is used to configure DHCPv6 relay functions for host devices
attached to the switch. If DHCPv6 relay service is enabled, and this switch sees a
DHCPv6 request broadcast, it inserts its own IP address into the request so the
DHCPv6 server will know the subnet where the client is located. Then, the
switch forwards the packet to the next relay agent or DHCPv6 server on
another network. When the server receives the DHCPv6 request, it allocates a
free IP address for the DHCPv6 client from its defined scope for the DHCPv6
client’s subnet, and sends a DHCPv6 response back to the DHCPv6 relay agent