Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Include Page
KBCOMMON:KB-CSSstyle
KBCOMMON:KB-CSSstyle

Div
stylefont-weight: bold;

Excerpt

Set console environment variables.

Syntax

setenv variable value

setenv variable --

Description

This command sets the console configuration variable to value.  For a complete list of possible variable names and details, see the table below.

To restore variable to its default value, specify -- in place of value.

Panel
bgColor#ffffff
titleBGColor#f0f0f0
title{{setenv}} Variables
VariableDefault ValueDescription
auto-boot?falseIf true, boots automatically after power on or reset.
boot-fileempty stringA string of arguments to be passed to the boot loader (e.g. -a or -v).
boot-devicedisk netSpace delimited list of devices to attempt booting from.
ttya-mode9600,8,n,1,-Serial line configuration for ttya
ttyb-mode9600,8,n,1,-Serial line configuration for ttyb
Note
Changes to environment variables are stored in NVRAM and permanent. However, they only take effect after executing the reset command.
Example

The following example demonstrates the output of the setenv command. 

Panel
bgColor#ffffff
titleBGColor#f0f0f0
titleExample {{setenv} Command Output

ok setenv auto-boot? true
setenv auto-boot? true
auto-boot? =          true