Command Reference DHCP Commands
server sends an NAK packet to let the client resend a DHCPDISCOVER packet to apply for a new IP
address. If no corresponding lease record can be found on the server, the client keeps sending
DHCPDISCOVER packets. The forcible NAK packet sending function is added to shorten the interval
at which the client sends DHCPDISCOVER packets.
The following example enables the forcible NAK packet sending function in global configuration
mode.
Ruijie(config)# ip dhcp force-send-nak
4.21 ip dhcp monitor-vrrp-state
Use this command in layer-3 configuration mode to enable the DHCP Server to monitor the status of
VRRP interfaces so that the DHCP Server processes only those packets sent from a VRRP interface
in the Master state. Use the no form of this command to restore the default setting. If it is canceled,
the DHCP Server processes packets from VRRP interfaces in the Master or Backup state.
ip dhcp monitor-vrrp-state
no ip dhcp monitor-vrrp-state
The ip dhcp monitor-vrrp-state command is disabled by default. .
Layer-3 interface configuration mode.
If a VRRP address is configured for an interface, the DHCP Server processes packets sent from the
master interface and discards packets sent from the backup interface. If no VRRP address is
configured, the DHCP Server does not monitor the status of VRRP interfaces. All DHCP packets will
be processed.
The following example enables the DHCP Server to monitor the status of VRRP interfaces.
Ruijie(config-if)# ip dhcp monitor-vrrp-state