### boot

Use the boot command to do any of the following:

- Reboot the device/terminal server

- Restore the device/terminal server configuration to factory defaults

- Load a new OS into flash ROM from a TFTP host (Digi One RealPort, PortServer TS 2 only)

Administrator (root) privileges are require to use the boot command.

See cpconf for information on saving your current configuration to a host prior to restoring the configuration to defaults.

Caution! Be very careful with the boot load command option. If this operation fails and then you reboot your device/terminal server, the unit may become inoperative. After issuing the boot load command, ensure that you receive the message "The image in flash now appears valid." If you do not receive this message, do not reboot the device/terminal server. Call Technical Support for instructions on what to do next.

#### Command Syntax

##### Reboot Syntax

Enter the boot command as shown below to reboot the device/terminal server:

`boot action=reset`

##### Restore Configuration Defaults

Enter the boot command as shown below to restore the device/terminal server default configuration:

`boot action=factory`

##### Load New OS Syntax

Enter the boot command as shown below to load a new OS into flash ROM from a TFTP host:

`boot load=host_ipaddr:[file]`

#### Command Fields

Command Field | Description
action=factory | Resets the configuration to factory defaults stored in flash ROM. If you use this option, you will be prompted for confirmation; if you confirm, any configuration information previously entered will be lost.
action=reset | Reboots the device/terminal server.
load=host_ipaddr:[file] | An IP address and file name that identifies a source host and file for the new OS, which is then burned into flash ROM. To use this option, the host specified must be running TFTP. If no file is specified, the default filename is assumed: PortServer TS 8/16 default filename: digi.ps3 Digi One RealPort and PortServer TS 2/4 default filename: 82000677.bin

#### Command Examples

##### Using Factory Defaults

In this example, the boot command reloads the OS stored in flash ROM and resets the PortServer configuration to factory defaults.

`boot action=factory`

##### Using the Current OS and Configuration

In this example, the boot command reboots the device/terminal server and uses the current OS and configuration stored in flash ROM.

`boot action=reset`

##### Using a Boot Host

In this example, the boot command loads the OS stored on the host and file specified into flash ROM. To use this new OS, you must reboot the device/terminal server.

`boot load=198.150.150.10:os-1`