H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – DHCP
H3C S7500 Series Ethernet Switches Chapter 3
DHCP Snooping Configuration Commands
3-2
View
Ethernet port view
Parameters
None
Description
Use the dhcp-snooping trust command to specify an Ethernet port as a trusted port.
Use the undo dhcp-snooping trust command to restore an Ethernet port to an
untrusted port.
DHCP snooping security allow you to specify a port as a trusted port or an untrusted
port, so that DHCP clients can obtain IP addresses from valid DHCP servers.
z Trusted ports can be used to connect DHCP servers or ports of other switches.
Untrusted ports can be used to connect DHCP clients or networks.
z Trusted ports forward any received DHCP packets to ensure that DHCP clients
can obtain IP addresses from valid DHCP servers. Untrusted ports discard the
DHCP-ACK and DHCP-OFFER responses received from DHCP servers.
By default, all the ports of a switch are untrusted ports.
Related commands: display dhcp-snooping trust.
Examples
# Specify the Ethernet 2/0/1 port as a trusted port.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet2/0/1
[H3C-Ethernet2/0/1] dhcp-snooping trust
3.1.3 dhcp-snooping information enable
Syntax
dhcp-snooping information enable
undo dhcp-snooping information enable
View
System view
Parameters
None