Configuring DHCP and BOOTP
You can configure a QFX Series switch to act as a Dynamic Host Configuration Protocol (DHCP) and Bootstrap Protocol (BOOTP) server or DHCP relay agent. When a switch is a relay agent, if a locally attached host issues a DHCP or BOOTP request as a broadcast message, the switch relays the message to a specified DHCP or BOOTP server. You should configure a switch to be a DHCP and BOOTP relay agent if you have locally attached hosts and a remote DHCP or BOOTP server.
![]() | Note: This task uses the Enhanced Layer 2 Software (ELS) configuration style. If your switch runs software that does not support ELS, see Configuring DHCP and BOOTP Relay. For ELS details, see Getting Started with Enhanced Layer 2 Software. |
To configure a switch to be a server, use the dhcp-local-server statement. To configure a switch to be a relay agent, use the dhcp-relay statement.
If you want to enable BOOTP support when the switch is configured to be a DHCP server, enter the following statement:
[edit system services dhcp-local-server]
user@switch# set overrides bootp-supportIf you want to enable BOOTP support when the switch is configured to be a DHCP relay agent, enter the following statement:
[edit forwarding-options dhcp-relay]
user@switch# set overrides bootp-support