bootp

Syntax

bootp <REMOTE-URL>

no bootp <REMOTE-URL>

Description

Sets the BOOTP options that are returned by the DHCPv4 server for the current pool. BOOTP provides a way to distribute an IP address and boot image file to client stations. The DHCPv4 server returns the IP address and the location of the boot image file, which must be stored on an external TFTP server.

The no form of this command disables support for BOOTP.

Command context

config-dhcp-server-pool

Parameters

<REMOTE-URL>

Specifies the name and location of a BOOTP file on a TFTP server in the format:

tftp://{<IP> | <HOST>}/<FILE>

  • <IP>: Specifies the IP address of the TFTP server hosting the file in IPv4 format (x.x.x.x), where x is a decimal number from 0 to 255. You can remove leading zeros. For example, the address 192.169.005.100 becomes 192.168.5.100.

  • <HOST>: Specifies the fully-qualified domain name of the TFTP server hosting the file. Range: 1 to 64 printable ASCII characters.

  • <FILE>: Specifies the name of the BOOTP file. Range: 1 to 64 printable ASCII characters.

Authority

Administrators or local user group members with execution rights for this command.

Example

Defines BOOTP support on the DHCPv4 server pool primary-pool on VRF primary.

switch(config)# dhcp-server vrf primary
switch(config-dhcp-server)# pool primary-pool
switch(config-dhcp-server-pool)# bootp tftp://10.0.0.1/mybootfile

Deletes BOOTP support on the DHCPv4 server pool primary-pool on VRF primary.

switch(config)# dhcp-server vrf primary
switch(config-dhcp-server)# pool primary-pool
switch(config-dhcp-server-pool)# no bootp tftp://10.0.0.1/mybootfile