Controlling Environment Variables - Cisco Catalyst 3120 Software Manual

Catalyst blade switch for hp
Hide thumbs Also See for Catalyst 3120:
Table of Contents

Advertisement

Chapter 3
Assigning the Switch IP Address and Default Gateway
Command
Step 5
show boot
Step 6
copy running-config startup-config
To return to the default setting, use the no boot system global configuration command.

Controlling Environment Variables

With a normally operating switch, you enter the boot loader mode only through a switch console
connection configured for 9600 b/s by performing these tasks:
1.
2.
3.
The switch boot loader software provides support for nonvolatile environment variables, which can be
used to control how the boot loader, or any other software running on the system, behaves. Boot loader
environment variables are similar to environment variables that can be set on UNIX or DOS systems.
Environment variables that have values are stored in flash memory outside of the flash file system.
Each line in these files contains an environment variable name and an equal sign followed by the value
of the variable. A variable has no value if it is not listed in this file; it has a value if it is listed in the file
even if the value is a null string. A variable that is set to a null string (for example, " ") is a variable with
a value. Many environment variables are predefined and have default values.
Environment variables store two kinds of data:
You can change the settings of the environment variables by accessing the boot loader or by using Cisco
IOS commands. Under normal circumstances, it is not necessary to alter the setting of the environment
variables.
Note
For complete syntax and usage information for the boot loader commands and environment variables,
see the command reference for this release.
OL-12247-01
Purpose
Verify your entries.
The boot system global command changes the setting of the BOOT
environment variable.
During the next boot cycle, the switch attempts to automatically boot up the
system using information in the BOOT environment variable.
(Optional) Save your entries in the configuration file.
Power off the switch by using the Onboard Administrator GUI or by removing the switch from the
enclosure.
Power on the switch by using the GUI or re-inserting the switch in the enclosure.
Press the switch Mode button while powering on the switch.
You can release the Mode button after the system LED stops blinking and is solid green. Then the
boot loader switch: prompt appears.
Data that controls code, which does not read the Cisco IOS configuration file. For example, the name
of a boot loader helper file, which extends or patches the functionality of the boot loader can be
stored as an environment variable.
Data that controls code, which is responsible for reading the Cisco IOS configuration file. For
example, the name of the Cisco IOS configuration file can be stored as an environment variable.
Cisco Catalyst Blade Switch 3120 for HP Software Configuration Guide
Modifying the Startup Configuration
3-15

Advertisement

Table of Contents
loading

Table of Contents