dhcp-client broadcast-flag
To allow the ASA to set the broadcast flag in the DHCP client packet, use the dhcp-client broadcast-flag command in global configuration mode. To disallow the broadcast flag, use the no form of this command.
dhcp-client broadcast-flag
no dhcp-client broadcast-flag
Syntax Description
This command has no arguments or keywords.
Command Default
By default, the broadcast flag is disabled.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode |
Firewall Mode |
Security Context |
|||
---|---|---|---|---|---|
Routed |
Transparent |
Single |
Multiple |
||
Context |
System |
||||
Global configuration |
|
|
|
|
— |
Command History
Release |
Modification |
---|---|
8.0(2) |
This command was added. |
Usage Guidelines
If you enable the DHCP client for an interface using the ip address dhcp command, then you can use this command to set the broadcast flag to 1 in the DHCP packet header when the DHCP client sends a discover requesting an IP address. The DHCP server listens to this broadcast flag and broadcasts the reply packet if the flag is set to 1.
If you enter the no dhcp-client broadcast-flag command, the broadcast flag is set to 0, and the DHCP server unicasts the reply packets to the client with the offered IP address.
The DHCP client can receive both broadcast and unicast offers from the DHCP server.
Examples
The following example enables the broadcast flag:
ciscoasa(config)# dhcp-client broadcast-flag