3 configure mode, 4 bootprom mode, 3 understanding cli commands – Riverstone Networks WICT1-12 User Manual

Page 45: Configure mode -3, Bootprom mode -3, Understanding cli commands -3

Advertising
background image

Riverstone Networks RS Switch Router User Guide Release 8.0 3-3

CLI and RS Basics

Understanding CLI Commands

3.2.3

Configure Mode

The configure mode provides the capability of configuring and displaying all features and functions on the RS. The
commands in this mode are persistent for the current session and future sessions. That is, they can be saved not only
in onboard memory but also the startup configuration file. The startup configuration file is the file that the RS boots
from. For detailed information about the startup configuration file, see

Chapter 2, "Maintaining Configuration Files."

To enter the configure mode, type

config

at the enable mode command prompt.

The configure mode command prompt consists of the RS name followed by

(config)

and a pound sign (

#

):

To exit the configure mode and return to enable mode, either type

exit

and press the Return key, or press Ctrl+Z.

3.2.4

BootPROM Mode

The BootPROM mode is used to view and edit the current BootPROM configuration file. While the RS is booting up,
press the Esc key. Then at the command prompt type

set

. The BootPROM configuration file displays. Changes can

be made from this prompt.

The BootPROM mode command prompt consists of the word

rs-boot

followed by a

>

character.

To exit the BootPROM mode and return to the CLI, reboot the RS.

3.3

UNDERSTANDING CLI COMMANDS

CLI commands are grouped by facilities. For example, the set of commands used to configure and display IP routing
table information all start with

ip

, signifying the

ip

facility. Within the set of

ip

commands are commands such as:

set

– Used to configure parameters.

show

– Used to display.

start

– Used to start protocols operating.

stop

– Used to stop protocols from operating.

configure

– Used to configure parameters.

The complete set of commands for each facility is described in the Riverstone RS Switch Router Command Line
Interface Reference Manual
.

rs(config)#

rs-boot>

Advertising