User Manual

Table Of Contents
[Input mode]
global configuration mode
[Description]
Enables or disables settings of the system-wide DHCP snooping function.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
To enable the DHCP snooping function, you must enable the DHCP snooping function for the VLAN interface in addition to
using this command.
Also, you must use the ip dhcp snooping trust command to set the port that is connected to the DHCP server
.
[Example]
This enables the DHCP snooping function for the entire system.
SWP2(config)#ip dhcp snooping enable
This disables the DHCP snooping function for the entire system.
SWP2(config)#ip dhcp snooping disable
6.5.2 Enable/disable DHCP snooping (VLAN) setting
[Syntax]
ip dhcp snooping switch
no ip dhcp snooping
[Parameter]
switch : Setting for the DHCP snooping function of the applicable interface
Setting value Description
enable
Enables the DHCP snooping detection function
setting for the applicable interface
disable
Disables the DHCP snooping detection function
setting for the applicable interface
[Initial value]
ip dhcp snooping disable
[Input mode]
interface mode
[Description]
Enables or disables the DHCP snooping function settings for the applicable interface.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
This command can be specified only for VLAN interfaces.
To enable the DHCP snooping function, you must enable the DHCP snooping function for the entire system in addition to using
this command.
Also, you must use the ip dhcp snooping trust command to set the port that is connected to the DHCP server
.
[Example]
This enables the DHCP snooping function for VLAN1.
SWP2(config)#interface vlan1
SWP2(config-if)#ip dhcp snooping enable
This disables the DHCP snooping function for VLAN1.
SWP2(config)#interface vlan1
SWP2(config-if)#ip dhcp snooping disable
218 | Command Reference | Layer 2 functions