13
Basic Software Configuration Using the Cisco IOS Command-Line Interface
OL-5593-01
How to Perform a Basic Software Configuration Using the Cisco IOS CLI
4.
password
password
5.
login
6.
end
7.
show running-config
8.
From another network device, attempt to open a Telnet session to the router.
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
configure
terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
line
vty
line-number
[
ending-line-number
]
Example:
Router(config)# line vty 0 4
Starts the line configuration command collection mode for
the virtual terminal lines (vty) for remote console access.
•
Make sure that you configure all vty lines on your
router.
Note
To verify the number of vty lines on your router, use
the
line vty ?
command.
Step 4
password
password
Example:
Router(config-line)# password guessagain
Specifies a password on a line.
Step 5
login
Example:
Router(config-line)# login
Enables password checking at login.
Step 6
end
Example:
Router(config-line)# end
Returns to privileged EXEC mode.