Planet Technology SGSW-2840P Switch User Manual


 
User’s Manual of SGSD-1022 / SGSD-1022P
SGSW-2840 / SGSW-2840P
491
Use the ip dhcp snooping information option command (page 4-150) to specify how to handle DHCP client request
packets which already contain Option 82 information.
Example
This
Example enables the DHCP Snooping Information Option.
Console(config)#ip dhcp snooping information option
Console(config)#
ip dhcp snooping information policy
This command sets the DHCP snooping information option policy for DHCP client packets that include Option 82 information.
Syntax
ip dhcp snooping information policy {drop | keep | replace}
drop - Drop the request packet instead of relaying it.
keep - Retain the Option 82 information in the client request, and unicast the packet to the DHCP server.
replace -Replace the Option 82 information in the client’s request with information about the relay agent itself, insert the
relay agent’s address (when DHCP snooping is enabled), and unicast the packet to the DHCP server.
Default Setting
replace
Command Mode
Global Configuration
Command Usage
When the switch receives DHCP packets from clients that already include DHCP Option 82 information, the switch can be
configured to set the action policy for these packets. Either the switch can drop the DHCP packets, keep the existing
information, or replace it with the switch’s relay information.
Example
Console(config)#ip dhcp snooping information policy drop
Console(config)#
Related Commands
ip dhcp snooping information option
ip dhcp snooping
show ip dhcp snooping
This command shows the DHCP snooping configuration settings.