Page 156 / 196 Scroll up to view Page 151 - 155
Page 157 / 196
A-1
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
A P P E N D I X
A
Cisco IOS Software Basic Skills
Understanding how to use Cisco IOS software can save you time when you are configuring your router.
If you need a refresher, take a few minutes to read this appendix.
This appendix contains the following sections:
Configuring the Router from a PC
Understanding Command Modes
Getting Help
Enable Secret Passwords and Enable Passwords
Entering Global Configuration Mode
Using Commands
Saving Configuration Changes
Summary
Where to Go Next
If you are already familiar with Cisco IOS software, go to one of the following chapters:
Chapter 1, “Basic Router Configuration”
Chapter 2, “Sample Network Deployments”
One of the configuration topic chapters described in
Chapter 11, “Additional Configuration
Options.”
Configuring the Router from a PC
You can configure your router from a PC connected through the console port using
terminal emulation
software. The PC uses this software to send commands to your router.
Table A-1
lists some common
types of this software, which are based on the type of PC you are using.
Page 158 / 196
A-2
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Appendix A
Cisco IOS Software Basic Skills
Understanding Command Modes
You can use the terminal emulation software to change settings for the type of device that is connected
to the PC, in this case a router. Configure the software to the following standard VT-100 emulation
settings so that your PC can communicate with your router:
9600 baud
8 data bits
No parity
1 stop bit
No flow control
These settings should match the default settings of your router. To change the router baud, data bits,
parity, or stop bits settings, you must reconfigure parameters in the ROM monitor. For more information,
see
Appendix C, “ROM Monitor.”
To change the router flow control setting, use the
flowcontrol
line
configuration command.
For information on how to enter global configuration mode so that you can configure your router, see
the
“Entering Global Configuration Mode”
section later in this chapter.
Understanding Command Modes
This section describes the Cisco IOS command mode structure. Each command mode supports specific
Cisco IOS commands. For example, you can use the
interface
type
number
command only from global
configuration mode.
The following Cisco IOS command modes are hierarchical. When you begin a router session, you are in
user EXEC mode.
User EXEC
Privileged EXEC
Global configuration
Table A-2
lists the command modes that are used in this guide, how to access each mode, the prompt
you see in that mode, and how to exit to a mode or enter the next mode. Because each mode configures
different router elements, you might need to enter and exit modes frequently. You can see a list of
available commands for a particular mode by entering a question mark (?) at the prompt. For a
description of each command, including syntax, see the Cisco IOS Release 12.3 documentation set.
Page 159 / 196
A-3
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Appendix A
Cisco IOS Software Basic Skills
Understanding Command Modes
Table A-2
Command Modes Summary
Mode
Access Method
Prompt
Exit and Entrance Method
About This Mode
User EXEC
Begin a session with
your router.
Router>
To exit a router session, enter
the
logout
command.
Use this mode for these tasks:
Change terminal settings.
Perform basic tests.
Display system information.
Privileged
EXEC
Enter the
enable
command from user
EXEC mode.
Router#
To exit to user EXEC
mode, enter the
disable
command.
To enter global
configuration mode,
enter the
configure
command.
Use this mode for these tasks:
Configure your router
operating parameters.
Perform the verification steps
shown in this guide.
To prevent unauthorized changes
to your router configuration,
access to this mode should be
protected with a password as
described in
“Enable Secret
Passwords and Enable Passwords”
later in this chapter.
Global
configuration
Enter the
configure
command from
privileged EXEC
mode.
Router
(config)#
To exit to privileged
EXEC mode, enter the
exit
or
end
command, or
press
Ctrl-Z
.
To enter interface
configuration mode,
enter the
interface
command.
Use this mode to configure
parameters that apply to your
router as a whole.
Also, you can access the following
modes, which are described later in
this table:
Interface configuration
Router configuration
Line configuration
Interface
configuration
Enter the
interface
command (with a
specific interface, such
as
interface atm 0
)
from global
configuration mode.
Router
(config-if)#
To exit to global
configuration mode,
enter the
exit
command.
To exit to privileged
EXEC mode, enter the
end
command, or press
Ctrl-Z
.
To enter subinterface
configuration mode,
specify a subinterface
with the
interface
command.
Use this mode to configure
parameters for the router Ethernet
and serial interfaces or
subinterfaces.
Page 160 / 196
A-4
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Appendix A
Cisco IOS Software Basic Skills
Getting Help
Getting Help
You can use the question mark (?) and arrow keys to help you enter commands.
For a list of available commands at that command mode, enter a question mark:
Router>
?
access-enable
Create a temporary access-list entry
access-profile Apply user-profile to interface
clear
Reset functions
...
To complete a command, enter a few known characters followed by a question mark (with no space):
Router>
s?
* s=show set show slip systat
For a list of command variables, enter the command followed by a space and a question mark:
Router>
show ?
...
clock
Display the system clock
dialer
Dialer parameters and statistics
exception
exception information
...
To redisplay a command you previously entered, press the
Up Arrow
key. You can continue to press the
Up Arrow
key for more commands.
Router
configuration
Enter one of the
router
commands followed by
the appropriate
keyword, for example
router rip
, from
global configuration
mode.
Router
(config-
router)#
To exit to global
configuration mode,
enter the
exit
command.
To exit to privileged
EXEC mode, enter the
end
command, or press
Ctrl-Z
.
Use this mode to configure an IP
routing protocol.
Line
configuration
Enter the
line
command with the
desired line number
and optional line type,
for example,
line 0
,
from global
configuration mode.
Router
(config-
line)#
To exit to global
configuration mode,
enter the
exit
command.
To exit to privileged
EXEC mode, enter the
end
command, or press
Ctrl-Z
.
Use this mode to configure
parameters for the terminal line.
Table A-2
Command Modes Summary (continued)
Mode
Access Method
Prompt
Exit and Entrance Method
About This Mode

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top