76
DHCP snooping configuration commands
NOTE:
The DHCP snooping enabled device does not work if it is between the DHCP relay agent and DHCP
server. It can work when it is between the DHCP client and relay agent or between the DHCP client and
server.
dhcp-snooping
Syntax
dhcp-snooping
undo dhcp-snooping
View
System view
Default level
2: System level
Parameters
None
Description
Use the
dhcp-snooping
command to enable DHCP snooping.
Use the
undo dhcp-snooping
command to disable DHCP snooping.
With DHCP snooping disabled, all ports can forward responses from any DHCP servers and does not
record binding information about MAC addresses of DHCP clients and the obtained IP addresses.
By default, DHCP snooping is disabled.
Related commands:
display dhcp-snooping
.
Examples
# Enable DHCP snooping.
<Sysname> system-view
[Sysname] dhcp-snooping
dhcp-snooping binding database filename
Syntax
dhcp-snooping binding database filename
filename
undo dhcp-snooping binding database filename
View
System view
Содержание A5120 EI Series
Страница 26: ...18 Sysname Vlan interface1 ip address 202 38 160 1 255 255 255 0 sub ...
Страница 83: ...75 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 189: ...181 Sysname tcp ipv6 window 4 ...