Configuration Guide DHCP Snooping Commands
This function is disabled by default.
Global configuration mode
Use this command to check the source MAC address of the DHCP request message. If the MAC
address in the link-layer header is different from the CHADDR (Client MAC Address), the check
fails ,and the packets will be discarded.
The following example enables the check of the source MAC address of the DHCP request message.
Ruijie# configure terminal
Ruijie(config)# ip dhcp snooping verify mac-address
Ruijie(config)# end
Displays the DHCP Snooping configuration.
14.14 ip dhcp snooping vlan
Use this command to enable DHCP Snooping for the specific VLAN.
Use the no form of this command to restore the default setting.
ip dhcp snooping vlan {vlan-rng | { vlan-min [ vlan-max ] } }
no ip dhcp snooping vlan {vlan-rng | { vlan-min [ vlan-max ] } }
VLAN range of effective DHCP Snooping
Minimum VLAN of effective DHCP Snooping
Maximum VLAN of effective DHCP Snooping
By default, once the DHCP Snooping is enabled globally, it takes effect for all VLANs.
Global configuration mode
Use this command to enable DHCP Snooping for specified VLANs globally.