Command Reference DHCP Snooping Commands
Configuration
Examples
The following is an example of setting fastEthernet 0/1 as a trust port:
Ruijie# configure terminal
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if)# ip dhcp snooping trust
Ruijie(config-if)# end
Ruijie# show ip dhcp snooping
Switch DHCP snooping status: ENABLE
DHCP snooping Verification of hwaddr field status: DISABLE
DHCP snooping database write-delay time: 0 seconds
DHCP snooping option 82 status: ENABLE
DHCP Snooping Support Bootp bind status:ENABLE
Interface Trusted Rate limit (pps)
----------------- ------- ----------------
FastEthernet0/1 yes unlimited
Related
Commands
Command Description
show ip dhcp snooping
View the configuration information of the DHCP
snooping.
Platform
Description
N/A.
ip dhcp snooping verify mac-address
Use this command to check whether the source MAC address of the DHCP request message
matches against the client addr field of the DHCP message. The no form of this command disables
this function.
ip dhcp snooping verify mac-address
no ip dhcp snooping verify mac-address
Parameter
Description
Parameter Description
N/A. N/A.
Defaults
Disabled.
Command
Mode
Global configuration mode.
Usage Guide
Use this command to enable checking the validity of the source MAC address of the DHCP request
message. Once the function is enabled, the system will discard the DHCP request message that fails
to pass the source MAC address check.