Netboot Configuration
© Copyright Lenovo 2016
Netboot allows the switch to automatically download its configuration file over the
network during switch reboot and apply the new configuration. Upon reboot, the
switch includes the following options in its DHCP requests:
Option 66 (TFTP server address)
Option 67 (file path)
If the DHCP server returns the information, the switch initiates a TFTP file transfer
and loads the configuration file into the active configuration block. As the switch
boots up, it applies the new configuration file. Note that the option 66 TFTP server
address must be specified in IP‐address format (host name is not supported).
If DHCP is not enabled, or the DHCP server does not return the required
information, the switch uses the manually‐configured TFTP server address and file
path.
Table 393.
Netboot Options
Command Syntax and Usage
boot netboot cfgfile <1‐31 characters>
Defines the file path for the configuration file on the TFTP server. For example:
/directory/sub/config.cfg
Command mode: Global configuration
no boot netboot cfgfile
Removes the file path for the configuration file on the TFTP server.
Command mode: Global configuration
[no] boot netboot enable
Enables or disables Netboot. When enabled, the switch boots into
factory‐default configuration and attempts to download a new configuration
file.
Command mode: Global configuration
[no] boot netboot tftp <IP address>
Configures the IP address of the TFTP server used for manual configuration.
This server is used if DHCP is not enabled or if the DHCP server does not
return the required information.
Command mode: Global configuration
show boot
Displays the current Netboot parameters.
Command mode: All
687
Chapter 6: Boot Options