Administrator Guide

Table Of Contents
Example
grub>save_env primary_boot
grub>
set
Sets the environment variables.
Z9000
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
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.
enablepwdignore To reload the system software with or without the Enable Password set. Use the
following syntax:
set enablepwdignore=true|false
stconfigignore To enable/disable applying the startup-confg during bootup. Use the following
syntax:
set stconfigignmore=true|false
Command Modes grub
Command
History
Version 8.3.11.1 Introduced on the Z9000.
Usage
Information
After setting the values, save the variables that you set using the save_env command before rebooting
to ensure the variables are saved.
The IP address and the MAC addresses must be a standard IPv4 and MAC address, respectively.
470 GRUB