Configuration Guide DHCP Snooping Commands
14.12 ip dhcp snooping trust
Use this command to set the trusted ports for DHCP Snooping.
Use the no form of this command to restore the default setting.
no ip dhcp snooping trust
All ports are untrusted by default.
Interface configuration mode
Use this command to set a port as a trusted port. The DHCP response messages received under the
trust port are forwarded normally, but the response messages received under the untrusted port will
be discarded. This command is only supported on Layer 2 switch interfaces and aggregate ports
(APs).
The following example sets fastEthernet 0/1 as a trusted port:
Ruijie# configure terminal
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if)# ip dhcp snooping trust
Ruijie(config-if)# end
Displays the DHCP Snooping configuration.
14.13 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.
Use the no form of this command to restore the default setting.
ip dhcp snooping verify mac-address
no ip dhcp snooping verify mac-address