3-22
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 3 Assigning the Switch IP Address and Default Gateway
Modifying the Startup Configuration
describes the function of the most common environment variables.
Table 3-4
Environment Variables
Variable
Boot Loader Command
Cisco IOS Global Configuration Command
BOOT
set BOOT
filesystem
:/
file-url ...
A semicolon-separated list of executable files to
try to load and execute when automatically
booting. If the BOOT environment variable is not
set, the system attempts to load and execute the
first executable image it can find by using a
recursive, depth-first search through the flash file
system. If the BOOT variable is set but the
specified images cannot be loaded, the system
attempts to boot the first bootable file that it can
find in the flash file system.
boot system
{f
ilesystem:/file-url ...
|
switch
{
number
|
all
}}
Specifies the Cisco IOS image to load during the
next boot cycle and the stack members on which
the image is loaded. This command changes the
setting of the BOOT environment variable.
MANUAL_BOOT
set MANUAL_BOOT yes
Decides whether the switch automatically or
manually boots up.
Valid values are 1, yes, 0, and no. If it is set to no
or 0, the boot loader attempts to automatically
boot up the system. If it is set to anything else,
you must manually boot up the switch from the
boot loader mode.
boot manual
Enables manually booting up the switch during
the next boot cycle and changes the setting of the
MANUAL_BOOT environment variable.
The next time you reboot the system, the switch is
in boot loader mode. To boot up the system, use
the
boot
flash:
filesystem
:/
file-url
boot loader
command, and specify the name of the bootable
image.
CONFIG_FILE
set CONFIG_FILE
flash:/
file-url
Changes the filename that Cisco IOS uses to read
and write a nonvolatile copy of the system
configuration.
boot config-file flash:/
file-url
Specifies the filename that Cisco IOS uses to read
and write a nonvolatile copy of the system
configuration. This command changes the
CONFIG_FILE environment variable.
SWITCH_NUMBER
set SWITCH_NUMBER
stack-member-number
Changes the member number of a stack member.
switch
current-stack-member-number
renumber
new-stack-member-number
Changes the member number of a stack member.
SWITCH_PRIORITY
set SWITCH_PRIORITY
stack-member-number
Changes the priority value of a stack member.
switch
stack-member-number
priority
priority-number
Changes the priority value of a stack member.
Содержание 2975 - Catalyst LAN Base Switch
Страница 36: ...Contents xxxvi Catalyst 2975 Switch Software Configuration Guide OL 19720 02 ...
Страница 40: ...xxxviii Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Preface ...
Страница 62: ...1 22 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 1 Overview Where to Go Next ...
Страница 398: ...13 30 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 13 Configuring VLANs Configuring VMPS ...
Страница 424: ...15 18 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 15 Configuring VTP Monitoring VTP ...
Страница 628: ...26 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 26 Configuring UDLD Displaying UDLD Status ...
Страница 660: ...28 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 28 Configuring RMON Displaying RMON Status ...
Страница 888: ...38 32 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 38 Troubleshooting Troubleshooting Tables ...