Introduction
1-3
1.1.2 CLI Modes
The CLI is segregated into different command modes. Each mode has its own set of
commands for configuration, maintenance and monitoring. The commands available at
any given time depend on the mode you are in, and to a lesser extent, the particular
RFS6000 or RFS7000 model used. Enter a question mark (?) at the system prompt to view
a list of commands available for each command mode/instance.
Use specific commands to navigate from one command mode to another. The standard
order is: USER EXEC mode, PRIV EXEC mode and GLOBAL CONFIG mode.
A session generally begins in the USER EXEC mode (one of the two access levels of the
EXEC mode). For security, only a limited subset of EXEC commands are available in the
USER EXEC mode. This level is reserved for tasks that do not change the configuration of
the switch (such as determining the current switch configuration). This is the mode the
switch will be when you log on.
RFSswitch>
To access commands, enter the PRIV EXEC mode (the second access level for the EXEC
mode). Once in the PRIV EXEC mode, enter any EXEC command. The PRIV EXEC mode is a
superset of the USER EXEC mode.
RFSSwitch>enable
RFSwitch#
Most of the USER EXEC mode commands are one-time commands and are not saved
across switch reboots. For example, the show command displays the current configuration
and the clear command clears the interface.
Access the GLOBAL CONFIG mode from the PRIV EXEC mode. In GLOBAL CONFIG mode,
enter commands that set general system characteristics. Configuration modes, allow you
to change the running configuration. If you save the configuration later, these commands
are stored across switch reboots.
RFSSwitch#configure terminal
RFSwitch(config)#
Access a variety of protocol-specific (or feature-specific) modes from the global
configuration mode. The CLI hierarchy requires you access specific configuration modes
only through the global configuration mode.