CLI Reference Guide-R07

Table Of Contents
Chapter 26
| DHCP Commands (IPv4 and IPv6)
DHCP Relay (IPv4 and IPv6)
– 642 –
Usage Guidelines
Option 82 information must be enabled for this command to have any effect.
Example
This example configures the switch to include the extra subtype with the Option 82
information .
Console(config)#no ip dhcp relay information option encode no-subtype
Console(config)#
ip dhcp relay
information policy
This command specifies how to handle client requests which already contain DHCP
Option 82 information.
Syntax
ip dhcp relay information policy {drop | keep | replace}
drop - Floods the original request packet onto the VLAN that received it
instead of relaying it.
keep - Retains the Option 82 information in the client request, inserts the
relay agent’s address, and unicasts the packet to the DHCP server.
replace - Replaces the Option 82 information circuit-id and remote-id fields
in the client’s request packet with information provided by the relay agent
itself, inserts the relay agents address, and unicasts the packet to the DHCP
server.
Default Setting
drop
Command Mode
Global Configuration
Usage Guidelines
Refer to the Usage Guidelines under the ip dhcp relay information option
command for information on when Option 82 information is processed by the
switch.
When the Option 82 policy is set to “keep” the original information in the
request packet, the frame type specified by the ip dhcp relay information
option command is ignored.