CCNA Exp1 - Chapter11 - Configuring and Testing Your Network
CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
-
Upload
gepenk-ra-urus -
Category
Documents
-
view
232 -
download
0
Transcript of CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
1/75
CCNA1-1 Chapter 11
Chapter 11
Configuring and Testing Your Network
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
2/75
CCNA1-2 Chapter 11
Note for Instructors
These presentations are the result of a collaboration amongthe instructors at St. Clair College in Windsor, Ontario.
Thanks must go out to Rick Graziani of Cabrillo College. His
material and additional information was used as a reference
in their creation. If anyone finds any errors or omissions, please let me know
at:
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
3/75
CCNA1-3 Chapter 11
Configuring and Testing Your Network
Configuring Cisco Devices: IOS Basics
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
4/75
CCNA1-4 Chapter 11
Cisco IOS
As with a computer, a router or switch cannot function without
an operating system.
Cisco calls its operating system the Cisco Internetwork
Operating System orCisco IOS.
The Cisco IOS provides the following network services:
Basic routing and switching functions
Reliable and secure access to networked resources
Network scalability
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
5/75
CCNA1-5 Chapter 11
Cisco IOS
The Cisco IOS is accessed using the Command Line
Interface (CLI).
Features will vary based on the version of the IOS and the
type of device.
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
6/75
CCNA1-6 Chapter 11
Access Methods
Telnet or SSH
Telnet Access
Serial Ports
Telnet Access
Ethernet Ports
Modem Access
Auxiliary Port
Terminal Access
Console Port
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
7/75CCNA1-7 Chapter 11
The main internal componentsof a router are:
Random Access Memory
(RAM)
Nonvolatile Random AccessMemory (NVRAM)
Flash Memory (Flash)
Read Only Memory (ROM)
Console
Interfaces
Router Components
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
8/75CCNA1-8 Chapter 11
Router Components
Random Access Memory (RAM): Stores routing tables
Holds ARP cache
Holds fast-switching cache
Performs packet bufferingas shared RAM
Maintains packet-hold queues
Provides temporary memory for the configuration file of a
router while the router is powered on Loses content when a router is powered down or
restarted
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
9/75CCNA1-9 Chapter 11
Router Components
Nonvolatile Random AccessMemory (NVRAM):
Provides storage for the
startup configuration file
Retains content when arouter is powered down
or restarted
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
10/75CCNA1-10 Chapter 11
Router Components
Flash Memory (Flash): Holds the IOS image
Allows software to be
updated without removing
and replacing chips on theprocessor
Retains content when a
router is powered down or restarted
Can store multiple versions of IOS software Is a type of electrically erasable programmable read-only
memory (EEPROM)
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
11/75CCNA1-11 Chapter 11
Router Components
Read Only Memory (ROM): Maintains instructions for
power-on self test (POST)
diagnostics
Stores the bootstrap programand the basic operating
system software
Requires replacing pluggable chips on the motherboard
for software upgrades
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
12/75CCNA1-12 Chapter 11
Router Components
Console: The console port provides
physical access for the initial
configuration of the router or
configuration changes.
Interfaces:
Connect routers to a network for packet entry and exit
They can be on the motherboard or on a separatemodule
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
13/75CCNA1-13 Chapter 11
Configuration Files
Network devices depend upon two types of software:
Operating system (IOS)
Configuration file
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
14/75CCNA1-14 Chapter 11
Cisco IOS Modes
HierarchicalStructure
Each mode
used toaccomplish
particular
tasks.
Each mode
has a specific
set of
commands.
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
15/75
CCNA1-15 Chapter 11
Cisco IOS Modes - Routers and Switches
Mode Description PromptsUser EXEC Limited commands
View Only Mode
Router>
Privileged EXEC Configuration commands
Debugging and testing
File manipulation
Router#
Global
Configuration
Commands for the router
Entry to other modes
Router(config)#
Interface
Configuration
Commands to configure an
interface
Router(config-if)#
Line Configuration Commands to configure
console and telnet/ssh access
Router(config-line)#
Other modes Specific service configuration
(NAT / DHCP)
Router(config-mode)#
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
16/75
CCNA1-16 Chapter 11
Cisco IOS Modes
User EXEC
Privileged EXEC
Global Configuration
Interface Configuration
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
17/75
CCNA1-17 Chapter 11
Moving Between User and Privileged EXEC
Use enable to move from User to Privileged EXEC.
Use disable orendto move back.
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
18/75
CCNA1-18 Chapter 11
Basic IOS Command Structure
Router(config-if)# ip address 192.168.100.1 255.255.255.0
Router(config-if)#
Router(config)#hostname MyRouter
MyRouter(config)#
Router(config)#interface fastethernet 0/0
Router(config-if)#
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
19/75
CCNA1-19 Chapter 11
Using CLI Help
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
20/75
CCNA1-20 Chapter 11
Using CLI Help
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
21/75
CCNA1-21 Chapter 11
Using CLI Help
Hot Keys and Shortcuts: CLI Line Editing:
Several outlined in the text.
Backspace most often used.
Note that the Delete key is NOT recognized todelete invalid characters.
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
22/75
CCNA1-22 Chapter 11
Using CLI Help
Hot Keys and Shortcuts: At the ----More---- Prompt:
If the screen fills up with a display, the More prompt
will be displayed.
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
23/75
CCNA1-23 Chapter 11
Using CLI Help
Break Keys: If you wish to abort a process or command..
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
24/75
CCNA1-24 Chapter 11
IOS Examination Commands
In order to verify and troubleshoot network operation, we
must examine the operation of the devices.
The basic examination command is the showcommand.
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
25/75
CCNA1-25 Chapter 11
IOS Examination Commands show version
RAM
IOS Version,Name
INTERFACES
FLASH
Configuration
Register
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
26/75
CCNA1-26 Chapter 11
IOS Examination Commands show flash
Use the show flashcommand to verify that the router has
sufficient memory to load a new Cisco IOS software image.
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
27/75
CCNA1-27 Chapter 11
IOS Configuration Modes
enable
configure terminal
interface / line / router
Exit /
Ctrl/Z
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
28/75
CCNA1-28 Chapter 11
Configuring and Testing Your Network
Applying a Basic Configuration
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
29/75
CCNA1-29 Chapter 11
Naming Devices
Importance of a Device Name: Default Router orSwitch
Host Name appears as the CLI prompt.
Confirmation that the correct device has been accessed.
Naming convention makes maintenance easier. Start with a letter
No spaces
End with letter or digit
Only letters, digits and dashes
Maximum of 63 characters
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
30/75
CCNA1-30 Chapter 11
Naming Devices
Router>Router>enable
Router#
Router(config)#hostname AtlantaHQ
Router#configure terminal
Router(config)#
AtlantaHQ(config)#
AtlantaHQ
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
31/75
CCNA1-31 Chapter 11
Naming Devices
Switch>Switch>enable
Switch#
Switch(config)#hostname Flour_Bluff
Switch#configure terminal
Switch(config)#
Flour_Bluff(config)#
AtlantaHQ
Flour_Bluff
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
32/75
CCNA1-32 Chapter 11
Limiting Device Access
Configuring Passwords: Passwords are the primary defense against unauthorized
access to network devices.
Every device should have locally configured
passwords to limit access. Console password:
Limits device access using the console connection
Enable password:
Limits access to the privileged EXEC mode Enable secret password:
Encrypted, limits access to the privileged EXEC mode
VTY password: Limits device access using Telnet / SSH
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
33/75
CCNA1-33 Chapter 11
Limiting Device Access
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
34/75
CCNA1-34 Chapter 11
Limiting Device Access
Encrypting Password Display: The service password-encryption command prevents ALL
passwords from showing up as plain text when viewing
the configuration files.
service password-encryptionuses aCisco Level 7 encryption which is
very easy to decrypt.
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
35/75
CCNA1-35 Chapter 11
Limiting Device Access
www.boson.com
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
36/75
CCNA1-36 Chapter 11
Limiting Device Access
www.boson.com
Does NOT work forenable secret
encryption.
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
37/75
CCNA1-37 Chapter 11
Limiting Device Access
Login Banner:
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
38/75
CCNA1-38 Chapter 11
Managing Configuration Files
running-config
(IOS running)
startup-config
IOS Boot Program
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
39/75
CCNA1-39 Chapter 11
Managing Configuration Files
Nostartup-config
file in NVRAM
Defaultrunning-config
file, created in RAM
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
40/75
CCNA1-40 Chapter 11
Managing Configuration Files
running-configresides here
startup-configresides here
At boot up, running-config is replaced
by startup-config.
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
41/75
CCNA1-41 Chapter 11
Managing Configuration Files
running-configresides here
Changes to the router are automatically put in
the running-config file.
If the router loses power or
reboots, everything in RAM is lostinc lud ing the running -con f ig f ile.
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
42/75
CCNA1-42 Chapter 11
running-configresides here
startup-configresides here
Managing Configuration Files
To make sure that router changes are saved
copy running -con f ig star tup -con f ig
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
43/75
CCNA1-43 Chapter 11
Managing Configuration Files
The startup-config file
is now identical to
running-config and
the router will have
these changes if the
router reboots.
M i C fi i Fil
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
44/75
CCNA1-44 Chapter 11
Managing Configuration Files
Router# copyrunning-config startup-config
OR
Router# copy running startup
OR
Router# copy run start
Any usage of the command or parameters,
so that they arestill uniquely recognizable.
M i C fi ti Fil
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
45/75
CCNA1-45 Chapter 11
Managing Configuration Files -
Using an incorrect configuration file name could overwrite afile in flash, as the router believes you are trying to copy a
blank file into flash.
Incorrect destination
file name
Cancel it with Ctrl-C!
WARNING
M i C fi ti Fil
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
46/75
CCNA1-46 Chapter 11
Managing Configuration Files
Router# reload
System configuration has been modified. Save?
[yes/no]: n
Proceed with reload? [confirm] Press Enter
*Apr 13 01:34:15.758: %SYS-5-RELOAD: Reload
requested by console.
Reload Reason: Reload Command.
Returning the Device to its Original Configuration: reloadcommand
Works ONLY IF the running configuration has NOT
been copied to the startup configuration.
M i C fi ti Fil
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
47/75
CCNA1-47 Chapter 11
Managing Configuration Files
Backing Up Configurations Offline: TFTP server
CD
USB Memory Stick
Text Files using the Clipboard. Text files using HyperTerminal capture.
Restoring Configurations:
TFTP Server
Paste to Host from a text file.
M i C fi ti Fil
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
48/75
CCNA1-48 Chapter 11
Managing Configuration Files
A TFTP serverwill allow image and configuration uploads
and downloads over the network.
The TFTP server can be another router, or it can be a host
system.
(We will be using this TFTPserver in the lab on each PC.)
M i C fi ti Fil
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
49/75
CCNA1-49 Chapter 11
Managing Configuration Files
Once it is installed or before you attempt to use it,ALWAYS
make sure that the connectivity is there.
M i C fi ti Fil
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
50/75
CCNA1-50 Chapter 11
Managing Configuration Files
What can be copied?
M i C fi ti Fil
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
51/75
CCNA1-51 Chapter 11
Managing Configuration Files
Configuration files can be captured and saved in text format
using the text capture function of HyperTerminal (or any other
emulator that has the function).
C fi i I t f
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
52/75
CCNA1-52 Chapter 11
Configuring Interfaces
Router
Interfaces
Config ring Interfaces
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
53/75
CCNA1-53 Chapter 11
Configuring Interfaces
Configuring a Router Ethernet Interface:
Configuring Interfaces
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
54/75
CCNA1-54 Chapter 11
Configuring Interfaces
Configuring a Router Serial Interface:
Describing Router Interfaces
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
55/75
CCNA1-55 Chapter 11
Describing Router Interfaces
Configuring Interfaces
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
56/75
CCNA1-56 Chapter 11
Configuring Interfaces
Configuring a Switch:
Configuring and Testing Your Network
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
57/75
CCNA1-57 Chapter 11
Configuring and Testing Your Network
Verifying Connectivity
Test the Stack
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
58/75
CCNA1-58 Chapter 11
Test the Stack
PING:
From the command window on a PC.
Test the Stack
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
59/75
CCNA1-59 Chapter 11
Test the Stack
PING:
From the router IOS.
Test the Stack
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
60/75
CCNA1-60 Chapter 11
Test the Stack
PING:
Testing the Loopback (127.0.0.1).
If successful, it means that the protocol stack
on the PC is functioning properly from the
Network through the Physical Layers.
Testing the Local NIC Assignment
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
61/75
CCNA1-61 Chapter 11
Testing the Local NIC Assignment
Testing the Router Interfaces
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
62/75
CCNA1-62 Chapter 11
Testing the Router Interfaces
Testing the Switch Interfaces
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
63/75
CCNA1-63 Chapter 11
Testing the Switch Interfaces
Testing the Local Network
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
64/75
CCNA1-64 Chapter 11
Testing the Local Network
Successfully pinginganother host on the
same subnet verifies that both the local host
and the other host are configured correctly.
Testing Gateway Connectivity
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
65/75
CCNA1-65 Chapter 11
Testing Gateway Connectivity
A successful ping verifies both the
host and gateway configurations.
Testing Remote Connectivity
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
66/75
CCNA1-66 Chapter 11
Testing Remote Connectivity
Ping each hop between the local
and remote host.
Tracing and Interpreting Trace Results
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
67/75
CCNA1-67 Chapter 11
Tracing and Interpreting Trace Results
C:\>tracert 10.1.0.2
Tracing route to 10.1.0.2 over a maximum of 30 hops
1 2 ms 2 ms 2 ms 10.0.0.254
2 * * * Request timed out.
3 * * * Request timed out.4 ^C
Problem somewhere past this point.
C:\ping 10.1.0.2
Pinging 10.1.0.2 with 32 bytes of data:Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 10.1.0.2:Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)
The ping test failed.
Configuring and Testing Your Network
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
68/75
CCNA1-68 Chapter 11
Configuring and Testing Your Network
Monitoring and Documenting Networks
Basic Network Baselines
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
69/75
CCNA1-69 Chapter 11
Basic Network Baselines
Network Baseline:
Process for studying the network at regular intervals.
Ensure that the network is working as designed.
More than a single report.
Health of the network at a certain point in time. Accomplished over a period of time.
Varying times and loads will assist in creating a better
picture of overall network performance.
Copy and paste the results from an executed ping,trace, or other relevant command into a text file.
Compare the results over time.
Basic Network Baselines
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
70/75
CCNA1-70 Chapter 11
Basic Network Baselines
Run the
same test.
At differenttimes.
Comparethe results.
Basic Network Baselines
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
71/75
CCNA1-71 Chapter 11
Basic Network Baselines
Network Baseline:
Results from a command can be captured and saved as a
text file for future study.
PING
TRACEROUTE CISCO IOS
Learning About the Nodes on the Network
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
72/75
CCNA1-72 Chapter 11
Learning About the Nodes on the Network
Ping Sweep / MAC Scanner Tools
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
73/75
CCNA1-73 Chapter 11
Ping Sweep / MAC Scanner Tools
Switch Connections
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
74/75
CCNA1-74 Chapter 11
Switch Connections
THE END!
-
7/30/2019 CCNA Network Fundamentals Version 4 0 Chapter 11 Configuring and Testing Your Network
75/75
THE END!