Configuration Guide                    DHCP Snooping Configuration 
Other Precautions on DHCP Snooping Configuration 
1.  The DHCP Snooping function and the DHCP Relay Option82 function are mutually exclusive. 
That  is,  you  can  not  enable  the  DHCP  Snooping  function  and  the  DHCP  Relay  Option82 
function at the same time.   
2.  Security control is disabled for the users on the TRUST port.   
DHCP Snooping Configuration 
Enabling and Disabling DHCP Snooping 
The DHCP Snooping function of the device is disabled by default. To enable DHCP Snooping 
and then monitor DHCP packets, execute the following command.   
Ruijie# configure terminal 
Enter the global configuration mode. 
Ruijie(config)# [no] ip dhcp snooping 
Enable or disable DHCP snooping. 
The following example demonstrates how to enable the DHCP snooping function of the device: 
Ruijie# configure terminal 
Ruijie(config)# ip dhcp snooping 
Ruijie(config)# end 
DHCP Snooping and Private VLAN function can not be co-used.   
Configuring DHCP Snooping VLAN 
This  command  enables  DHCP  Snooping  in  corresponding  VLAN,  adding  this  VLAN  to 
enabled DHCP Snooping VLAN range. 
Ruijie# configure terminal 
Enter the global configuration mode. 
Ruijie(config)# [no] ip dhcp snooping vlan 
{vlan-rng | {vlan-min [vlan-max]}} 
Configures enabled Snooping VLAN. 
Here is an example of configuring DHCP snooping enabled in VLAN1000: 
Ruijie# configure terminal 
Ruijie(config)# ip dhcp snooping vlan 1000 
Ruijie(config)# end