Operation Manual – DHCP
H3C S3100 Series Ethernet Switches
Chapter 2 DHCP Snooping Configuration
2-15
Table 2-14
Display DHCP snooping
Operation
Command
Description
Display the user IP-MAC
address mapping entries
recorded by the DHCP
snooping function
display dhcp-snooping
[
unit
unit-id
]
Display the
(enabled/disabled) state
of the DHCP snooping
function and the trusted
ports
display dhcp-snooping trust
Display the IP static
binding table
display ip source static
binding
[
vlan vlan-id
|
interface
interface-type interface-number
]
You can execute
the
display
command in any
view
Note:
Among S3100 series ethernet switches, only S3100-EI series switches support the
display dhcp-snooping trust
and
display ip source static binding
commands.
2.5 DHCP Snooping Configuration Example
2.5.1 DHCP-Snooping Option 82 Support Configuration Example
I. Network requirements
As shown in
Figure 2-6
, Ethernet1/0/5 of the switch (S3100-EI) is connected to the
DHCP server, and Ethernet1/0/1, Ethernet1/0/2, and Ethernet1/0/3 are respectively
connected to Client A, Client B, and Client C.
z
Enable DHCP snooping on the switch.
z
Specify Ethernet1/0/5 on the switch as a trusted port for DHCP snooping.
z
Enable DHCP-snooping Option 82 support on the switch and set the remote ID
field in Option 82 to the system name of the switch. Set the circuit ID sub-option to
“abcd” in DHCP packets from VLAN 1 on Ethernet 1/0/3.