Command Manual (For Soliton) – DHCP
H3C S3100 Series Ethernet Switches
Chapter 1 DHCP Snooping Configuration Commands
1-1
Chapter 1 DHCP Snooping Configuration
Commands
1.1 DHCP Snooping Configuration Commands
1.1.1 dhcp-snooping
Syntax
dhcp-snooping
undo dhcp-snooping
View
System view
Parameters
None
Description
Use the
dhcp-snooping
command to enable the DHCP snooping function.
Use the
undo dhcp-snooping
command to disable the DHCP snooping function. After
DHCP snooping is disabled, all the ports can forward DHCP replies from the DHCP
server without recording the IP-to-MAC bindings of the DHCP clients.
By default, the DHCP snooping function is disabled.
Note that:
z
You need to disable DHCP relay agent before enabling DHCP snooping on the
switch.
z
The clients connected to a DHCP snooping device cannot obtain an IP address
through BOOTP.
Related commands:
display dhcp-snooping
.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Enable the DHCP snooping function.
[Sysname] dhcp-snooping