bootfile-name

Use bootfile-name to specify a configuration file name or URL.

Use undo bootfile-name to restore the default.

Syntax

bootfile-name { bootfile-name | url }

undo bootfile-name

Default

No configuration file name or URL is specified.

Views

DHCP address pool view

Predefined user roles

network-admin

mdc-admin

Parameters

bootfile-name: Specifies the configuration file name, a case-sensitive string of 1 to 63 characters.

url: Specifies the HTTP URL of the configuration file. It is a case-sensitive string of 1 to 63 characters.

Usage guidelines

If you execute this command multiple times, the most recent configuration takes effect.

To specify a configuration file on a TFTP server, use the bootfile-name argument.

To specify a configuration file on an HTTP server, use the url argument.

Examples

# Specify configuration file name boot.cfg in DHCP address pool 0.

<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] bootfile-name boot.cfg

# Specify configuration file URL http://10.1.1.1/boot.cfg in DHCP address pool 0.

<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] bootfile-name http://10.1.1.1/boot.cfg

Related commands

display dhcp server pool

next-server

tftp-server domain-name

tftp-server ip-address