Reference Guide

GRUB | 531
save_env
Saves the environment variables set using the set command.
Syntax
save_env environment variable
Parameters
Command Modes
grub
Command
History
Example grub>save_env primary_boot
grub>
Usage
The environment variables are listed under the list_env command. You must save the environment
variables before rebooting. The save_env command must be used for each variable set using the set
command.
set
Sets the environment variables.
Syntax
set [serverip=address | ipaddr=address | netmask=subnet-mask | gatewayip = address |
primary_boot=’f10boot location’ | secondary_boot=’f10boot location’ | default_boot=’f10boot
location’ | macaddr=mac-address | baudrate=rate | enablepwdignore | stdconfigignore}
Parameters
environment variable
Enter the environment variable to be saved.
Version 8.3.11.1 Introduced on the Z9000.
serverip
Set the IP address of the server.
ipaddr
Set the Management IP address of the unit.
netmask
Set the subnet mask of the Management IP address.
gatewayip
Set the IP address of the gateway.
primary_boot
Set the primary boot parameter. The location must be flash0, flash1 or any
valid tftp location. The primary boot parameter must be in the following
syntax:
set primary_boot=’f10boot flash0 | flash1 | tftp://ip-addr/file’
secondary_boot
Set the secondary boot parameter. The location must be flash0, flash1 or
any valid tftp location. The secondary boot parameter must be in the
following syntax:
set secondary_boot=’f10boot flash0 | flash1 | tftp://ip-addr/file’
default_boot
Set the default boot parameter. The location must be flash0, flash1 or any
valid tftp location. The default boot parameter must be in the following
syntax:
set default_boot=’f10boot flash0 | flash1 | tftp://ip-addr/file’
macaddr
Set the MAC address of the unit.
baudrate
Set the baud rate of the console connection.