Final Flashcards
Cisco routers “____” the Internetwork Operating System (IOS)
run
An operating system manages the __________ and _________ associated with a computer
hardware
software
The IOS is responsible for …
- Managing router interfaces
- Maintaining routing table
- Routing network traffic ( packets ) quickly and efficiently between network devices
- Providing security to control access to the router and stop unauthorized network use -
To configure a Cisco router, a network administrator must first
locate the router’s console port
The console port is administratively named ______ and is physically located on the back of the router
con 0
The second step to configure a Cisco router is to
identify the serial port on the computer
The third step to configure a Cisco router is to
Connect the computer to the router using console cable
The fourth step to configure a Cisco router is to
configure your computer’s terminal emulation software for 9600 baud , 8 data bits , no parity, and 2 stop bits
The fifth step to configure a Cisco router is to
run your computer’s terminal emulation software and open a console window into your router
The sixth step to configure a Cisco router is to
Power up the router
When power is applied a router will first run a
power on self test (POST)
tests the hardware to verify that all components of the device are operational and present
POST
After POST , the router …
- Looks for an IOS file in flash memory
- Expands the file
- Loads the Cisco IOS into RAM
After the Cisco IOS is loaded , the router …
- Looks in non-volative RAM ( AM) to locate the router’s startup configuration (startup-config)
- If found, the router loads the startup-config into RAM and the router displays the Router> prompt .
- Otherwise, the router enters setup mode and displays the prompt Would you like to enter the initial configuration dialog yes/no:
When the Cisco startup-config is loaded into RAM, the router will display the
Router > prompt
If you type “___” the prompt , then the router will display the Router > prompt
N
The Router> prompt represents a
Cisco IOS command line interface (CLI)
A Cisco ISO CLI is referred to as an
EXEC session
Two levels of EXEC sessions
- User EXEC
– Privileged EXEC
Only allow access to limited of basic router monitoring commands
User EXEC
Privileged EXEC allows
– Allows access to all router commands , including configuration and management
-Can be password protected to allow only authorized users the ability to configure and maintain the router
is initially in User EXEC, which displays a Router > prompt
Router
To enter Privileged EXEC, issue the command
Router>enable and press ENTER
The Privileged EXEC prompt is
Router#
To return back to User EXEC , issue the command
Router #disable
To exit any and all levels, issue the “______” or “_________” commands at any prompt
exit
logout
To restart (reboot ) a router , issue the command
reload at the Privileged EXEC prompt
Router#reload
Issuing the command “?” at a CLI prompt will display
the commands available at that level
Issuing the command at a CLI prompt will displays
the commands that begin with the letter “co” at that level
Many Cisco IOS commands can be abbreviated Show abbreviations for: - show - interface - Ethernet
- sh for show
- int for interface
- eth for Ethernet
Issuing the command “ping? ” at the user EXEC prompt will display
the command line arguments that are required for a given command
A command line argument is
Carriage Return
If the user enters a Cisco IOS command improperly ( e.g. typo or invalid command option), then the router will
Called CLI Syntax Checking
inform the user and indicate where the error has occurred
Cisco IOS provides _________ to speed command line command editing
Hot Keys
There are three ways to connect to a router
Console port (con 0) Auxiliary port (aux 0) Virtual terminal (vty0, vty1, vty2)
You must enter global configuration mode to configure the …
- console port ( con 0)
- auxilliary port (aux 0)
- or the virtual terminal ports (vty 0-4)
If you enter configure ” at the Router # prompt you will enter
global configuration mode .
If you enter configure X” at the Router# prompt Where X is one of the following three modes …
- terminal
- memory
- network
Name the five router interfaces
Router> enable
Router#configure terminal Router(config)#exit
Router#disable
Router >
To configure vty line
To configure vty lines 1, 2 & 3
To configure vty line 4
Issue Cisco IOS command line vty 0 0
Issue Cisco IOS command line vty 1 3
Issue Cisco IOS command line vty 4 4
Often you want to provide information to users who are authorized to access your router.
Likewise , you will provide warning to those who attempt to access your router without proper authorization.
Both cases are satisfied by creating
banners
A _______ banner is displayed on all terminals connected via the console port, the auxiliary port, and virtual terminals
MOTD
How to create a MOTD banner
Router>enable
Router#configure terminal Router(config) #banner motd YOURMESSAGEHERE
A ______ banner is displayed on all connected terminals when router requires login credentials
Login
How to create a login banner
Router >enable
Router# configure terminal Router(config) #banner login * YOURMESSAGEHERE
Cisco routers provides five (5) different passwords
- Console
- Telnet
- Auxiliary
- Enable
- Enable Secret (Encrypted by default)
The _________ password is used to secure a console login. Generates a clear text password that can be seen when the show running- configuration Cisco IOS command is issued
console
How to create a password
Router>enable
Router#configure terminal Router( config)#line console 0
Router (config-line) #password CONSOLEPASSWORDHERE
To enable password checking at login, the login command in line configuration mode:
To disable password checking and allow connections without a password , use the no form of this command:
Router(config-line)#login
Router (config - line)# no login
Use the exec-timeout command to configure the inactive session timeout on the console port or the virtual terminal
Give example:
- Router(config.line ) #exec-timeout INTEGERHERE
- INTEGERHERE is [0, 525600]
What is used for the exec-timeout command to use default
no
Router(config-line)#no exec-timeout
Or
Router(config-line)#exec-timeout 0 0
Both have the same effect
Generates a clear text password that can be seen when the show running-configuration Cisco IOS command is issued
Auxiliary password
a Generates a encrypted password that can be seen when the show running - configuration Cisco IOS command is issued
Enable secret password
For the purposes of routing packets, routers are equipped with one or more interfaces
These interfaces are one of the following …
- Ethernet ( eth)
- FastEthernet (fe)
- Serial (ser)
Recall that each Ethernet and Serial interface represents a subnet , which is also
One broadcast domain
Ethernet interfaces on older routers are called
AUI ports
AUI/RJ45 transceivers must be used to connect
the router to a switch
How to configure Ethernet interface
Router>enable
Router# configure terminal Router(config)# interface ethernet NUMBER
Router(config-if)#description DESCRIPTIONHERE
Router(config-if)# ip address IPADDR SUBNETMASK
Router (config-if)#no shutdown (turns interface on)
is a hardware device that converts a digital data frame from the communications technology used on a local area network (LAN) into a frame appropriate to a wide- area network (WAN) and vice versa
CSU/DSU
If you intend to connect a router to a CSU /DSU, then the router’s interface is a
DTE (also known as child)
How to configure serial interface
Router>
Router#config t
Router(config)#interface serial NUMBER
Router (config-if)#description DESCRIPTIONHERE
Router(config-if)#ip address IPADDRESS SUBNETMASK
The primary function of a computer network is to ________ a packet from a source station and ________ it to a destination station.
accept
deliver
Example routing protocols
(RIP) (IGRP) (EIGRP) (OSPF) (IS-IS)
Routing decisions are based on the data within
routing tables
Routing tables contain …
- Data about the a router’s local subnets - Data about adjacent (i.e. neighbor ) routers’ subnets
indicate the optimal route each packet should take through the internetwork
Routing tables
Routing tables optimize routes based upon some performance criteria.
# of hops Cost Delay Bandwidth Throughput
Inconsistent routing tables will cause problems !
- Unsuccessful routing
- Ping Ponging
- Cycles
The routing table at node i says the route is through node j
The routing table at node j says the route is through node i
This is called
Ping ponging
Based on routing tables, the packet is passed among a subset of nodes
Cycles
Desirable Routing Algorithm Attributes
- Correct
- Simple
- Robust
- Stable
- Fair
- Optimal
A routing algorithm _______ work
Must
A routing algorithm should use a minimum number of resources or processing capacity at each router.
It should also place minimal burden on the bandwidth of links between routers.
Simple
- A routing algorithm must adapt to changing levels of traffic flow and find alternative routes when nodes /links fail , or links come back into service.
- A network is a “living entity!
Robust
A routing algorithm must adapt to changing levels of traffic flow and find alternative routes when nodes /links fail , or links come back into service.
- A network is a “living entity!
Robust
A routing algorithm must converge to a solution (i.e. the selection of a path) without excessive oscillation when adapting to changing loads and topologies.
Stable
- A routing algorithm should be able to provide the “best” routes that minimize the mean packet delay and maximizes throughput
- Routing algorithms are essentially optimization problems !!!
Optimal
We will define measures of performance through:
- # of hops
- Cost
- Delay
- Bandwidth
- Throughput
How long does it take to transmit a packet from source to destination
Delay
How much data is transmitted from source to destination
Throughput
What type of routing strategy to use?
- Static Routing
- Default Routing
- Random Routing
- Flooding Routing
- Dynamic/Adaptive Routing
routes are predefined and loaded into a router before any messages are transmitted
Static routing
send packets with a remote destination network not in the router table to the next-hop router
Default routing
You should only use default routing networks on “______” networks
Stub
- Place received packet on any router output line
- Referred to as “Hot Potato” Routing
Random routing
Place received packet on all router output lines. Most dynamic of the four routing strategies
Flooding routing
routes are updated when nodes/links fail or the network changes
Dynamic/adaptive routing
Three types of dynamic/adaptive routing
- Distance Vector
- Link State
- Hybrid
A router calculates the best path between a source and a destination based on shortest hop count (i.e. distance)
Distance- vector routing
A router first exchanges information about connections within the internetwork , and then builds a topology table
Link state routing
Administrator is responsible for manually “ setting uproutes between routers
Static routing
a numeric value routers use in order to select the best path when there are two or more different routes to the same destination from two different routing protocols .
Administrative distance
defines the reliability, or trustworthiness, of the routing information received on a router from a neighbor router
range [0 - 255]
Administrative distance
Three classes of dynamic routing algorithms
- Distance Vector
- Link State
- Hybrid
Exhibits characteristics of both distance-vector and link-state algorithms
Hybrid
Rip routing iOS command
Network Router (config)#router rip Router ( config- router) #network A.B.C.D Router ( config- router) #version 2
is an address for a subnet similar to a subnet mask, but different
Wildcarding
Example of wildcarding using subnet 192.168.5.0/24
1st octet block size = 256 - 255 = 1 so wild card is 0
2nd octet block size = 256-255 = 1 , so wild card is 0
3rd octet block size = 256 - 255 = 1 so wild card is 0
4th octet block size = 256-0 = 256 , so wild card is 255
Wild card address is 0.0.0.255
OSPF Routing IOS commands
Router>enable
Router configure terminal
Router (config)#router # Router (config-router) #network A.B.C.D area A#
EIGRP Routing iOS command
Router>enable
Router#configure terminal
Router ( config)#router eigrp
# Router (config- router) #network A.B.C.D
take in frames that arrive on active interfaces
Switch
The frame’s source MAC address IS listed in the switch’s MAC address table
The frame’s destination MAC address IS listed in the switch’s MAC address table
The switch forwards the frame out on the port associated with the frame’s destination MAC address
The frame’s source MAC address IS NOT listed in the switch’s MAC address table
The frame’s destination MAC address IS listed in the switch’s MAC address table
The switch writes the source MAC address in the MAC address table and associates it with the interface that the frame arrived
The switch forwards the frame out on the port associated with the frame’s destination MAC address
The frame’s source MAC address IS NOT listed in the switch’s MAC address table
The frame’s destination MAC address IS NOT listed in the switch’s MAC address table
The switch writes the source MAC address in the MAC address table and associates it with the interface that the frame arrived.
The switch floods the frame out on all ports except the port on which the frame arrived
A MAC address is associated with _______ Switch port/interface
only one
A switch port/interface can be associated with ___________ MAC addresses
two or more (many)
The frame’s source MAC address and destination MAC address ARE BOTH listed in the switch’s MAC address table AND associated with the same port
The switch filters ( i.e. drops ) the frame