1-5
Cisco SFS 7000 Series Product Family Command Reference Guide
OL-9163-02
Chapter1 Using the CLI
Entering CLI Modes
Note Global Configuration mode includes a number of submodes.
The commands that you can execute depend upon the current command mode and your user login. You
may enter a question mark (?) at the CLI prompt to list the commands available to the current user
identity in the current mode.
Using User Execute Mode
All CLI sessions begin in User Execute mode. This mode provides commands for viewing some of the
system configuration and some user information. Guest users may only work in User Exec mode. From
User Exec mode, authorized users can access Privileged Execute mode.
Using Privileged Execute Mode
When you enter the
enable
command in User Execute mode, you enter Privileg ed E xec u te mo de . From
Privileged Exec mode, you can view the entire system configu rat ion a nd a ll u ser in for matio n. Fr om th is
mode, you can perform certain high-level administrative tasks, such as save the current configuration
and set the system clock. You can also access Global Configuration mode. You must enter Privileged
Execute mode before you can enter Global Configuration mode. Only administrative and unrestricted
users may enter Privileged Exec mode.
# telnet SFS-7000P
Login: super
Password: xxxx
SFS-7000P> enable
SFS-7000P#
Mode changes are reflected in changes to the CLI prompt. When you transition from User Exec mode to
Privileged Exec mode, the prompt changes from SFS-7000P> to SFS-7000P#.
Using Global Configuration Mode
You enter Global Configuration mode from Privileged Exec mode. Global Configuration (config) mode
configures system-level attributes, such as SNMP, SNMP agents, and networks. To enter config mode,
enter either the
configure terminal
or the
configure
command in Privileged Exec mode.
SFS-7000P# configure terminal
SFS-7000P(config)#
When you transition from Privileged Execute to Global Configuration mode, the prom pt c ha nges fr om
SFS-7000P# to SFS-7000P(config)#.
To configure particular elements of the Server Switch, you must enter a configuration submode specific
to that element. All Ethernet, FibreChannel, and InfiniBand configuration occurs in submodes. In
submodes, you can assign IP addresses to interface gateway ports, set connection speeds, set connection
types, and so on.
To enter the Ethernet Interface Configuration (config-if-ether) submode from Global Configuration
mode, enter the
interface
command, specify the interface type, and specify the port(s) to configure.
SFS-7000P(config)# interface ethernet 4/1-4/4
SFS-7000P(config-if-ether-4/1-4/4)#