File management commands

bof

Syntax

bof

Context

<ROOT>

Platforms

Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode

Description

This command configures the boot options file (BOF) for the specified local storage device.

A BOF file specifies where the system searches for runtime images, configuration files, and other operational parameters during system initialization.

BOF parameters can be modified, and changes can be saved to a specified compact flash. The BOF must be located in the root directory of either an internal or external compact flash local to the system and have the mandatory filename of bof.cfg.

When modifications are made to in-memory parameters that are currently in use or operating, the changes are effective immediately. For example, if the console speed is changed, the change takes place immediately.

Only one entry of the BOF configuration command statement can be saved after the statement has been found to be syntactically correct.

No default BOF exists.

encrypt

Syntax

encrypt {on | off}

Context

bof

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables and disables encryption of the BOF using AES256 and SHA256.

When the BOF is encrypted on the compact flash, it is still reachable using the BOF interactive menu during node startup, and fields can be modified using this menu.

Default

encrypt off

Parameters

on

Keyword to enable BOF encryption.

off

Keyword to disable BOF encryption.

encryption-key

Syntax

encryption-key key

no encryption-key

Context

bof

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command creates a key used by AES256 and SHA256 algorithms for configuration file encryption and hashing. This key is used for all configuration files (primary, secondary, and tertiary).

After creating or deleting a key, use the admin save command to save the configuration file with the current encryption key state.

The no form of this command deletes the encryption key.

Default

no encryption-key

Parameters

key

Specifies the encryption key in plaintext format between 8 and 32 characters.

save

Syntax

save [cflash-id]

Context

bof

Platforms

Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode

Description

This command uses the boot option parameters currently in memory and writes them from the BOF to the compact flash.

The BOF is located in the root directory of the internal compact flash drive local to the system and has the mandatory filename bof.cfg.

Command usage:

  • bof save

    This configuration saves the BOF to the flash drive.

  • bof save cf1:

    This configuration saves the BOF to cf1:\.

Default

Saves must be explicitly executed. BOF is saved at the same location as the location of boot.tim used for booting the system.

Parameters

cflash-id

The compact flash ID where the bof.cfg is to be saved.

Values

cf1: | cf2: | uf1: (7210 SAS-T, 7210 SAS-Sx 1/10GE, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp)

cf2: | cf2-A: | cf2-B: | uf1: | uf1-A: | uf1-B: (7210 SAS-R6 and 7210 SAS-R12) cf1: | cf2: (7210 SAS-S 1/10GE)

Default

cf1:

secure-bof-password

Syntax

secure-bof-password {enable | disable}

Context

bof

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command securely stores BOF passwords in the bof.cfg file in an encrypted format.

Note:

When this command is enabled or disabled, the system resets the BOF password to the default password. Nokia recommends that after enabling or disabling this command, the user should change the password using the bof>bof-password command.

Parameters

enable

Keyword to enable securing the BOF password.

disable

Keyword to disable securing the BOF password.