Set console environment variables.
Syntax
|
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
.
setenv
VariablesVariable | Default Value | Description |
---|---|---|
auto-boot? | false | If true , boots automatically after power on or reset. |
boot-file | empty string | A string of arguments to be passed to the boot loader (e.g. -a or -v). |
boot-device | disk net | Space delimited list of devices to attempt booting from. |
ttya-mode | 9600,8,n,1,- | |
ttyb-mode | 9600,8,n,1,- |
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.
Example {{setenv} Command Output
|