Chapter 3 Assigning the Switch IP Address and Default Gateway

Modifying the Startup Configuration

Note For complete syntax and usage information for the boot loader commands and environment variables, see the command reference for this release.

Table 3-4describes 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 ...

boot system {filesystem:/file-url ...switch

 

 

A semicolon-separated list of executable files

{number all}}

 

 

 

 

 

to try to load and execute when automatically

Note The switch {number all} keywords are

 

 

booting. If the BOOT environment variable is

supported only on Catalyst 3750-E

 

 

not set, the system attempts to load and execute

switches.

 

 

the first executable image it can find by using a

Specifies the Cisco IOS image to load during the

 

 

recursive, depth-first search through the flash

 

 

file system. If the BOOT variable is set but the

next boot cycle and the stack members on which

 

 

specified images cannot be loaded, the system

the image is loaded. This command changes the

 

 

attempts to boot up the first bootable file that it

setting of the BOOT environment variable.

 

 

can find in the flash file system.

 

 

 

 

MANUAL_BOOT

set MANUAL_BOOT yes

boot manual

 

 

Decides whether the switch automatically or

Enables manually booting the switch during the

 

 

manually boots.

next boot cycle and changes the setting of the

 

 

Valid values are 1, yes, 0, and no. If it is set to

MANUAL_BOOT environment variable.

 

 

no or 0, the boot loader attempts to

The next time you reboot the system, the switch is

 

 

automatically boot up the system. If it is set to

in boot loader mode. To boot up the system, use

 

 

anything else, you must manually boot up the

the boot flash:filesystem:/file-url boot loader

 

 

switch from the boot loader mode.

command, and specify the name of the bootable

 

 

 

image.

 

 

 

CONFIG_FILE

set CONFIG_FILE flash:/file-url

boot config-file flash:/file-url

 

 

Changes the filename that Cisco IOS uses to

Specifies the filename that Cisco IOS uses to read

 

 

read and write a nonvolatile copy of the system

and write a nonvolatile copy of the system

 

 

configuration.

configuration. This command changes the

 

 

 

CONFIG_FILE environment variable.

 

 

 

SWITCH_NUMBER

set SWITCH_NUMBER

switch current-stack-member-number renumber

 

 

stack-member-number

new-stack-member-number

 

 

Changes the member number of a stack

Changes the member number of a stack member.

 

 

member.

Note This command is supported only on

 

 

 

 

 

 

Catalyst 3750-E switches.

 

 

 

SWITCH_PRIORITY

set SWITCH_PRIORITY

switch stack-member-number priority

 

 

stack-member-number

priority-number

 

 

Changes the priority value of a stack member.

Changes the priority value of a stack member.

 

 

 

Note This command is supported only on

 

 

 

Catalyst 3750-E switches.

 

 

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

3-16

OL-9775-02

 

 

Page 106
Image 106
Cisco Systems 3750E Set Manualboot yes Boot manual, Set Switchnumber, Switch current-stack-member-number renumber