Displaying Dhcp Snooping; Configuration Example - H3C S3100-52P Operation Manual

Dldp
Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Operation Manual – DLDP
H3C S3100-52P Ethernet Switch
Operation
Set
connected
DHCP server to a
trusted port
Note:
When you need to enable DHCP snooping on the switches in a fabric state, configure
the fabric ports on all devices to be trusted ports to ensure that the users connected to
each device can obtain IP addresses.

2.3 Displaying DHCP Snooping

After the above configurations, you can verify the configurations by executing the
display command in any view.
Table 2-2 Display DHCP snooping
Display the user IP-MAC address
mapping entries recorded by the
DHCP snooping function
Display
state of the DHCP snooping
function and the trusted ports

2.4 Configuration Example

I. Network requirements
As shown in Figure 2-1, the Ethernet1/0/1 port of Switch A ( S3100-52P ) is connected
to Switch B (acting as a DHCP relay). A network segment containing some DHCP
clients is connected to the Ethernet1/0/2 port of Switch A.
Enable the DHCP snooping function on Switch A.
Set the Ethernet1/0/1 port of Switch A to a trusted port.
II. Configuration procedure
# Enter system view.
<H3C> system-view
# Enable the DHCP snooping function.
the
port
to
a
dhcp-snooping trust
Operation
the
(enabled/disabled)
Chapter 2 DHCP Snooping Configuration
Command
Command
display
dhcp-snooping [ unit
unit-id ]
display
dhcp-snooping trust
2-3
Description
Optional
By default, all ports of a
switch are untrusted ports.
Description
You can execute the
display command in
any view

Advertisement

Table of Contents
loading

Table of Contents