CLI Reference Guide-R04

Table Of Contents
Chapter 30
| DHCP Commands
DHCP Relay Option 82
– 874 –
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.
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 (871)
ip dhcp relay server (870)
ip dhcp snooping (325)
show ip dhcp relay This command displays the configuration settings for DHCP relay service.
Command Mode
Privileged Exec