Quick Reference Guide

Getting Started | 31
Command Line Interface (CLI) Overview
The SFTOS Command Line Interface (CLI) is the main way to manage S-Series switches. You can use the
CLI through:
Console port: As described above (Connecting to the Console Port on page 29), the port is the one
located at bottom right of the front panel (Use only the console port of the management unit in an S50
stack. The management unit is indicated by the lit LED labeled “PRI” on the top left of the S50 front
panel.)
Telnet (including SSH): You can use any connected and enabled port in the management VLAN
(configured with a Management IP address). See Setting the Management IP Address on page 39.
CLI Command Modes
The CLI of SFTOS follows the industry convention of mode-based access to functionality. In other words,
you specify through CLI commands which mode you want to access, and then, in that mode, you enter
commands that are specific to that mode. For example, if you want to configure a VLAN, you would first
enter VLAN mode. For details on using the modes, see Chapter 4, Using the Command Line Interface, in
the SFTOS Command Reference.
The main CLI command modes and the default prompts are as follows:
User Exec: hostname >
Privileged Exec (also called “enable mode”):
hostname #
Global Config (also called “config mode”):
hostname (Config)#
Interface Config:
hostname (Interface ifnumber)#
Interface VLAN Config (often shortened to “VLAN mode”):
hostname (conf-if-vl-vlan-id)
Here is an example of navigating to these modes:
Figure 3-4. Example of Navigating to CLI Modes
Note: The default text for the hostname part of the prompt is “Force10 S50”. You can modify
that part of the prompt by using the hostname command. See Setting the Host Name Prompt
on page 70.
Force10 >enable
Password:
Force10 #configure
Force10 (Config)#interface 1/0/5
Force10 (Interface 1/0/5)#exit
Force10 (Config)#interface vlan 20
Force10 (conf-if-vl-20)#exit
Force10 (Config)#exit
Force10 #lineconfig
Force10 (Line)#
Note: Note the use of “1/0/5”. For more on the
port naming convention, see Port Naming
Convention on page 26.