Dhcp Snooping Enable; Dhcp Snooping Enable Vlan - H3C IE4300 Command Reference Manual

Industrial switch series
Hide thumbs Also See for IE4300:
Table of Contents

Advertisement

If you do not enable DHCP snooping globally or for a VLAN, DHCP snooping is disabled on all
interfaces on the device or on all interfaces in the VLAN.
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
This command allows you to narrow down the interface range where DHCP snooping takes effect.
For example, to enable DHCP snooping globally except for a specific interface, you can enable
DHCP snooping globally and execute this command on the target interface.
Examples
# Disable DHCP snooping on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] dhcp snooping disable

dhcp snooping enable

Use
dhcp snooping enable
Use
undo dhcp snooping enable
Syntax
dhcp snooping enable
undo dhcp snooping enable
Default
DHCP snooping is disabled globally.
Views
System view
Predefined user roles
network-admin
Usage guidelines
After you enable DHCP snooping globally on the device, trusted ports forward responses from
DHCP servers and untrusted ports discard responses. This mechanism ensures that DHCP clients
obtain IP addresses from authorized DHCP servers.
When DHCP snooping is disabled globally, all ports on the device can forward responses from
DHCP servers.
Examples
# Enable DHCP snooping globally.
<Sysname> system-view
[Sysname] dhcp snooping enable

dhcp snooping enable vlan

Use
dhcp snooping enable vlan
to enable DHCP snooping globally.
to disable DHCP snooping globally.
to enable DHCP snooping for VLANs.
87

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie4300-mIe4320

Table of Contents