Page 161 / 196 Scroll up to view Page 156 - 160
A-5
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Appendix A
Cisco IOS Software Basic Skills
Enable Secret Passwords and Enable Passwords
Enable Secret Passwords and Enable Passwords
By default, the router ships without password protection. Because many privileged EXEC commands are
used to set operating parameters, you should password-protect these commands to prevent unauthorized
use.
You can use two commands to do this:
enable secret
password
—A very secure, encrypted password
enable
password
—A less secure, unencrypted local password
Both the
enable
and
enable secret
passwords control access to various privilege levels (0 to 15). The
enable
password is intended for local use and is thus unencrypted. The
enable secret
password is
intended for network use; that is, in environments where the password crosses the network or is stored
on a TFTP server. You must enter an
enable secret
or
enable
password with a privilege level of 1 to gain
access to privileged EXEC mode commands.
For maximum security, the passwords should be different. If you enter the same password for both during
the setup process, your router accepts the passwords, but warns you that they should be different.
An
enable secret
password can contain from 1 to 25 uppercase and lowercase alphanumeric characters.
An
enable
password can contain any number of uppercase and lowercase alphanumeric characters. In
both cases, a number cannot be the first character. Spaces are also valid password characters; for
example,
two words
is a valid password. Leading spaces are ignored; trailing spaces are recognized.
Entering Global Configuration Mode
To make any configuration changes to your router, you must be in global configuration mode. This
section describes how to enter global configuration mode while using a terminal or PC that is connected
to your router console port.
To enter global configuration mode, follow these steps:
Step 1
After your router boots up, enter the
enable
or
enable secret
command:
Router>
enable
Step 2
If you have configured your router with an enable password, enter it when you are prompted.
The enable password does not appear on the screen when you enter it. This example shows how to enter
privileged EXEC mode:
Password:
enable_password
Router#
Privileged EXEC mode is indicated by the # in the prompt. You can now make changes to your router
configuration.
Step 3
Enter the
configure terminal
command to enter global configuration mode:
Router#
configure terminal
Router(config)#
You can now make changes to your router configuration.
Page 162 / 196
A-6
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Appendix A
Cisco IOS Software Basic Skills
Using Commands
Using Commands
This section provides some tips about entering Cisco IOS commands at the command-line interface
(CLI).
Abbreviating Commands
You only have to enter enough characters for the router to recognize the command as unique. This
example shows how to enter the
show version
command:
Router #
sh v
Undoing Commands
If you want to disable a feature or undo a command you entered, you can enter the keyword
no
before
most commands; for example,
no ip routing
.
Command-Line Error Messages
Table A-3
lists some error messages that you might encounter while using the CLI to configure your
router.
Table A-3
Common CLI Error Messages
Error Message
Meaning
How to Get Help
% Ambiguous command:
"show con"
You did not enter enough
characters for your router to
recognize the command.
Reenter the command, followed
by a question mark (
?
) with no
space between the command and
the question mark.
The possible keywords that you
can enter with the command are
displayed.
% Incomplete command.
You did not enter all of the
keywords or values required by
this command.
Reenter the command, followed
by a question mark (
?
) with no
space between the command and
the question mark.
The possible keywords that you
can enter with the command are
displayed.
% Invalid input detected at
‘^’ marker.
You entered the command
incorrectly. The error occurred
where the caret mark (^) appears.
Enter a question mark
(?
) to
display all of the commands that
are available in this particular
command mode.
Page 163 / 196
A-7
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Appendix A
Cisco IOS Software Basic Skills
Saving Configuration Changes
Saving Configuration Changes
You need to enter the
copy
running-config startup-config
command to save your configuration
changes to nonvolatile RAM (NVRAM) so that they are not lost if there is a system reload or power
outage. This example shows how to use this command to save your changes:
Router#
copy running-config startup-config
Destination filename [startup-config]?
Press
Return
to accept the default destination filename
startup-config
, or enter your desired destination
filename and press
Return
.
It might take a minute or two to save the configuration to NVRAM. After the configuration has been
saved, the following message appears:
Building configuration...
Router#
Summary
Now that you have reviewed some Cisco IOS software basics, you can begin to configure your router.
Remember:
You can use the question mark (
?
) and arrow keys to help you enter commands.
Each command mode restricts you to a set of commands. If you are having difficulty entering a
command, check the prompt, and then enter the question mark (
?
) for a list of available commands.
You might be in the wrong command mode or using the wrong syntax.
If you want to disable a feature, enter the keyword
no
before the command; for example,
no ip
routing
.
Save your configuration changes to NVRAM so that they are not lost if there is a system reload or
power outage.
Where to Go Next
To configure your router, go to
Chapter 1, “Basic Router Configuration,”
and
Chapter 2, “Sample
Network Deployments.”
Page 164 / 196
A-8
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Appendix A
Cisco IOS Software Basic Skills
Where to Go Next
Page 165 / 196
B-1
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
A P P E N D I X
B
Concepts
This appendix contains conceptual information that may be useful to Internet service providers or
network administrators when they configure Cisco routers. To review some typical network scenarios,
see
Chapter 2, “Sample Network Deployments.”
For information on additional details or configuration
topics, see
Chapter 11, “Additional Configuration Options.”
The following topics are included in this appendix:
ADSL
SHDSL
Network Protocols
Routing Protocol Options
PPP Authentication Protocols
TACACS+
Network Interfaces
Dial Backup
NAT
Easy IP (Phase 1)
Easy IP (Phase 2)
QoS
Access Lists
ADSL
ADSL is a technology that allows both data and voice to be transmitted over the same line. It is a
packet-based network technology that allows high-speed transmission over twisted-pair copper wire on
the local loop (“last mile”) between a network service provider (NSP) central office and the customer
site, or on local loops created within either a building or a campus.
The benefit of ADSL over a serial or dialup line is that it is always on and always connected, increasing
bandwidth and lowering the costs compared with a dialup or leased line. ADSL technology is
asymmetric in that it allows more bandwidth from an NSP central office to the customer site than from
the customer site to the central office. This asymmetry, combined with always-on access (which
eliminates call setup), makes ADSL ideal for Internet and intranet surfing, video on demand, and remote
LAN access.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top