C
HAPTER
44
| DHCP Commands
DHCP Relay Option 82
– 1393 –
EXAMPLE
This example enables Option 82, and sets the frame format of the remote
ID for the option to use the MAC address of the switch’s CPU.
Console(config)#ip dhcp relay information option remote-id mac-address
Console(config)#
RELATED COMMANDS
ip dhcp relay information policy (1393)
ip dhcp relay server (1389)
ip dhcp snooping (900)
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 agent’s 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.