set dhcp relay broadcast-flag-replies

Syntax

[ no ] set dhcp relay broadcast-flag-replies

Release Information

Command introduced in JunosE Release 8.1.0.

Description

Configures DHCP relay and DHCP relay proxy to use the setting of the broadcast flag in the DHCP request packet to control how DHCP Offer reply packets and ACK and NAK reply packets are transmitted to DHCP clients during the discovery process. If the broadcast flag is set in the request packet, DHCP relay and DHCP relay proxy broadcast DHCP reply packets to clients. If the broadcast flag is not set in the request packet, DHCP relay and DHCP relay proxy use the layer 2 unicast transmission method to send DHCP reply packets using the client’s layer 2 (MAC) address and layer 3 (IP) unicast address. The no version causes the router not to use the broadcast flag setting and restores the default behavior, which broadcasts DHCP Offer reply packets and ACK and NAK reply packets to all clients during the discovery process.

Note: The set dhcp relay broadcast-flag-replies command and the set dhcp relay layer2-unicast-replies command are mutually exclusive. If you attempt to issue the set dhcp relay broadcast-flag-replies command when the set dhcp relay layer2-unicast-replies command is already in effect, the operation fails and the router displays an error.

Mode

Global Configuration

Related Documentation