Basic Configuration Using the Command-Line Interface
Configuring the Hostname, Password, and Time Stamps
2
Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide
Tip
If you are experienced using the Cisco IOS software, you might find the
“Where to Go Next” section on
page 40
a useful reference for configuration.
Configuring the Hostname, Password, and Time Stamps
The first configuration tasks you might want to execute are assign a hostname to your Cisco AS5350XM
or Cisco AS5400XM, set an encrypted password, and turn on time stamps for these reasons:
•
Assigning a hostname allows you to distinguish between different network devices.
•
Setting an encrypted password in the configuration file adds greater security on your gateway.
•
Time stamps help you trace debug output for testing connections. Not knowing exactly when an
event occurs hinders you from examining background processes.
Configure
Command
Purpose
Step 1
Router>
enable
Password:
password
Router#
Enters enable mode (also called privileged EXEC
mode). Enters the password. You are in enable
mode when the prompt changes to
Router#
.
Step 2
Router#
configure terminal
Enter configuration commands, one per line.
End with CNTL/Z.
Router(config)#
Enters global configuration mode. You are in
global configuration mode when the prompt
changes to
Router(config)#.
Step 3
Router(config)#
hostname AS5400
AS5400(config)#
Changes the name of the gateway to a meaningful
name. Substitute your hostname for
AS5400
.
Step 4
AS5400(config)#
enable secret guessme
Enters an enable secret password. This password
provides access to privileged EXEC mode. When
you type
enable
at the EXEC prompt (
AS5350>
or
AS5400>
), you must enter the enable secret
password to gain access to configuration mode.
Substitute your enable secret password for
guessme
.
Step 5
AS5400(config)#
service password-encryption
Applies password encryption.
When password encryption is enabled, the
encrypted form of the password is displayed when
a
show configuration command
is entered.
Note
You cannot recover a lost encrypted
password.
Step 6
AS5400(config)#
service timestamps debug
datetime msec
Enters time-stamp debugging messages to include
milliseconds in the date and time stamp.
Step 7
AS5400(config)#
service timestamps log
datetime msec
Enters time-stamp logging messages to include
milliseconds in the date and time stamp.