Professional Documents
Culture Documents
Router
Fundamentals and
Configuration
introduction
What is router
What is router
Path determination: Network layer determine the path to be
taken by the packet from the sending host to receiving
host. To calculate/determine the best path, routing
algorithms are used. These can be classified by the way
routing is achieved by them.
Routers transport messages between devices that are not
locally connected.
WAN
LAN B
LAN A
What is router
Connecting to a Cisco
Router
Connecting to a Cisco
Router
Bringing Up a Router
When you first bring up a Cisco router, it will run a poweron self-test (POST). If it passes, it will then look for and
load the Cisco IOS from flash memory, if an IOS file is
present. (flash memory is an electronically erasable
programmable read only memory, an EEPROM.) After
that, the IOS loads and looks for a valid configuration the
startup-config, thats stored by default in nonvolatile
RAM, or NVRAM.
The following messages appear when you first boot or
reload a router:
Bringing Up a Router
This is the first part of the router boot process output. Its
information about the bootstrap program that first runs the
POST, and then tells the router how to load, which by
default is to find the IOS in flash memory. The next part
shows us that the IOS is being decompressed into RAM:
program load complete, entry point: 0x80008000, size:
0x43b7fc
Self decompressing the image :
########################################################
########################################################
################################################[OK]
Bringing Up a Router
This step doesnt happen the same way for all routers. Its
telling us that the IOS is being loaded into RAM.
After the IOS is decompressed into RAM, the IOS is then
loaded and starts running the router, as shown below
(notice that the IOS version is stated as version 12.2[13]):
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(13),
RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2001 by cisco Systems, Inc.
Compiled Tue 17-Dec-03 04:55 by kellythw
Image text-base: 0x80008088, data-base: 0x8080853C
Bringing Up a Router
Bringing Up a Router
The command line by typing the command setup from
something called privileged mode
Setup mode only covers some global commands, but it can
be really helpful if you dont know how to configure
certain protocols.
Setup Mode
Setup Mode
Notice the two lines above that say you can use Ctrl+C to
abort configuration dialog at any prompt, and that the
default settings are in square brackets: []
Basic Management setup configures only enough
connectivity for management of the system.
But since you can do so much more with Extended Setup,
this mode will ask you to configure
each interface on the system, as seen here:
Setup Mode
Setup Mode
Command-Line Interface
Router>
Router>enable
Router#
Command-Line Interface
Router#disable
Router>
At this point, you can type logout to exit the console:
Router>logout
Or you could just type logout or exit from the privilegedmode prompt to log out:
Router>en
Router#logout
CLI Prompts
Interfaces
To make changes to an interface, you use the
interface command from global configuration mode:
Router(config-if)#
notice that the prompt changed to Router(configif)#? This tells you that youre
in interface configuration mode.
Other modes
Sub interfaces
Line
Routing protocols