Reference Guide

Getting Started | 51
Configuring a Host Name
The host name appears in the prompt. The default host name is FTOS. The text string of a host name can
consist of letters, digits, and hyphens.
To configure a host name:
The example below illustrates the
hostname command.
Figure 3-5. Configuring a Hostname
Navigating CLI Modes
The FTOS prompt changes to indicate the CLI mode. You must move linearly through the command
modes, with the exception of the
end command which takes you directly to EXEC Privilege mode and the
exit command which moves you up one command mode level.
Default Configuration
A version of FTOS is pre-loaded onto the chassis, however the system is not configured when you power
up for the first time (except for the default hostname, which is FTOS). You must configure the system
using the CLI.
Configuring Layer 2 (Data Link) Mode
Use the switchport command in INTERFACE mode to enable Layer 2 data transmissions through an
individual interface. You cannot configure switching or Layer 2 protocols such as Spanning Tree Protocol
(STP) on an interface unless the interface has been set to Layer 2 mode.
To configure Layer 2 mode, follow these steps:
Task Command Syntax Command Mode
Create a new host name.
hostname name
CONFIGURATION
Step Task Command Syntax Command Mode
1 Enable the interface. no shutdown INTERFACE
FTOS(conf)#hostname R1
R1(conf)#
Default Hostname
New Hostname