Command Manual (For Soliton) – DHCP
H3C S3100 Series Ethernet Switches
Chapter 1 DHCP Snooping Configuration Commands
1-5
Parameters
drop
: If a packet contains Option 82, DHCP snooping drops this packet.
keep
: If a packet contains Option 82, DHCP snooping keeps and forwards this packet.
replace
: If a packet contains Option 82, DHCP snooping replaces the original Option
82 field with the Option 82 field having the specified padding content and forwards the
packet.
Description
Use the
dhcp-snooping information strategy
command in system view to configure
a handling policy for DHCP requests that contain Option 82 sent by the DHCP client.
Use the
undo dhcp-snooping information strategy
command to restore the default
handling policy.
Use the
dhcp-snooping information strategy
command in Ethernet port view to
configure a handling policy for requests that contain Option 82 received on the current
port.
Use the
undo dhcp-snooping information strategy
command to restore the default
handling policy.
By default, after DHCP-snooping Option 82 support is enabled, DHCP snooping
replaces the Option 82 field in the requests sent by the DHCP clients.
Caution:
z
Enable DHCP-snooping and DHCP-snooping Option 82 before performing this
configuration.
z
If a handling policy is configured on a port, this configuration overrides the globally
configured handling policy for requests received on this port, while the globally
configured handling policy applies on those ports where a handling policy is not
natively configured.
Examples
# Configure the
keep
handling policy for DHCP requests that contain Option 82 on the
DHCP snooping device.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] dhcp-snooping information strategy keep