Initial Configuration
20G101-00 E2
2015-09-29
Page 21
2.2.1
Login and reset configuration to factory defaults
Carry out the following steps to log into the system:
»
Press <Enter> until the ’
Username
:’ prompt appears.
»
Type "
admin
" and press <Enter>.
»
At the ’
Password
:’ prompt press <Enter> (no password required)
Table 1.
Login sequence
The login sequence is now complete and the prompt: "#" is displayed.
The admin user is now operating at the highest privilege level, level 15, and has full
control over the device and its configuration. It is now possible to reset the configuration
to factory defaults by carrying out the following steps:
»
At the ’
#
’ prompt type "
reload defaults
" and press <Enter>
When the prompt returns, the system has reverted to factory defaults.
Table 2.
Factory defaults sequence
2.2.2
Setting the device hostname
The ICLI has several different modes. The current mode is called exec mode; it allows the
user to perform operations related to configuration files, reloading defaults, displaying
system information, etc., but it does not allow the user to change detailed configuration
items. Such operations can only be performed while in the configuration mode.
In order to set the device hostname, the configuration mode first has to be changed as
follows:
»
Type "
configure terminal
" then press <Enter>
»
Type "
hostname my-device
" and press <Enter> (replace ’my-device’ with a suitable
name)
»
Finally type "
exit
" and press <Enter>
The commands are executed immediately, so hostname changes the device hostname
right away as is reflected in the prompt.
Table 3.
Sequence for setting the hostname:
Username: admin
Password:
#
# reload defaults
% Reloading defaults. Please stand by.
#
# configure terminal
(config)# hostname my-device
my-device(config)# exit
my-device#