DHCP Snooping Configuration
Configuring DHCP Snooping
Follow these steps to configure DHCP snooping:
Operation
Enter system view
Enable DHCP snooping
After DHCP snooping is enabled on an S3100 Ethernet switch, clients connected with this switch
cannot obtain IP addresses dynamically through BOOTP.
You are not recommended to configure both the DHCP snooping and selective Q-in-Q function on
an S3100-EI switch, which may result in the DHCP snooping to function abnormally.
Configuring DHCP Snooping Trusted/Untrusted Ports
Follow these steps to configure DHCP Snooping Trusted/Untrusted Ports:
Operation
Enter system view
Enter Ethernet port view
Specify the current port
as a trusted port
Only the S3100-EI series among S3100 series switches support the configuration of DHCP
snooping trusted ports.S3100-SI series Ethernet switches do not support the configuration of
DHCP snooping trusted ports. That is, after DHCP snooping is enabled, all ports of the S3100-SI
series Ethernet switches are trusted ports.
After DHCP snooping is enabled, all ports of an S3100-EI switch are untrusted ports. You need to
specify the port of the S3100-EI switch connected to the valid DHCP server as trusted to ensure
that DHCP clients can obtain valid IP addresses. The trusted port and the port connected to the
DHCP clients must be in the same VLAN.
Command
system-view
dhcp-snooping
Command
system-view
interface interface-type
interface-number
dhcp-snooping trust
3-6
Description
—
Required
By default, the DHCP snooping function
is disabled.
Description
—
—
Required
By default, after DHCP snooping is
enabled, all ports of the S3100-EI switch
are untrusted ports.