ca ex s1 m11 configuring and testing your network
TRANSCRIPT
![Page 1: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/1.jpg)
CCNA – Semester1
Chapter 11 - Configuring and
Testing Your Network
CCNA Exploration V4.0
![Page 2: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/2.jpg)
Objectives
• Define the role of the Internetwork Operating System
(IOS)
• Use Cisco CLI commands to perform basic router
and switch configuration and verification
• Given a network addressing scheme, select, apply,
and verify appropriate addressing parameters to a
host
• Use common utilities to verify network connectivity
between hosts
• Use common utilities to establish a relative
performance baseline for the network
![Page 3: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/3.jpg)
Configuring Cisco Devices –
IOS Basic
![Page 4: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/4.jpg)
Cisco IOS
• Similar to a PC, a router or switch cannot function without an
operating system. The Cisco Internetwork Operating System
(IOS) is the system software in Cisco devices. It is the core
technology that extends across most of the Cisco product line.
![Page 5: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/5.jpg)
Cisco IOS
• The Cisco IOS provides devices with the following network services:
– Basic routing and switching functions
– Reliable and secure access to networked resources
– Network scalability
• The IOS operational details vary on different internetworking devices,
depending on the device's purpose and feature set.
• The services provided by the Cisco IOS are generally accessed using
a command line interface (CLI).
• The IOS file: several megabytes, is stored in a semi-permanent
memory area called flash. Flash memory provides non-volatile
storage.
• Using flash memory allows the IOS to be upgraded to newer versions
or to have new features added. The IOS may be copied into RAM
when the device is powered on and the IOS runs from RAM when the
device is operating. This function increases the performance of the
device.
![Page 6: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/6.jpg)
Cisco IOS
![Page 7: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/7.jpg)
Access Methods
• Access Methods
– Console
– Telnet or SSH
– AUX port
![Page 8: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/8.jpg)
Access Methods
• Use the CLI to access various IOS configuration modes
on a device
![Page 9: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/9.jpg)
Console
• Console
– Low speed serial connection to directly connect a computer or terminal to the console port on the router or switch.
– Provides out-of-band access to a router
– Often used to access a device when the networking services have not been started or have failed.
• Examples of console use are:
– The initial configuration of the network device
– Disaster recovery procedures and troubleshooting where remote access is not possible
– Password recovery procedures
• The device should be located in a locked room or equipment rack to prevent physical access.
![Page 10: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/10.jpg)
Telnet and SSH
• Telnet
– Require active networking services on the device.
– Run on layer 7 in OSI model
• Secure Shell (SSH) protocol
– Like telnet but more secure access
– Stronger password
– Uses encryption when transporting session data
– Use can use ssh client on PC name: Putty
http://www.chiark.greenend.org.uk/~sgtatham/putty/downl
oad.html
• As a best practice, always use SSH in place of Telnet
whenever possible.
![Page 11: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/11.jpg)
AUX
• Another way to establish a CLI session remotely is via a
telephone dialup connection using a modem connected
to the router's AUX port
• Can used locally, like console port
• Console port is also preferred over the auxiliary port for
troubleshooting because it displays router startup,
debugging, and error messages by default.
![Page 12: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/12.jpg)
Configuration file
![Page 13: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/13.jpg)
Configuration files
• Contain the Cisco IOS software commands used to
customize the functionality of a Cisco device.
• Commands are parsed (translated and executed) by the
Cisco IOS software when the system is booted (from the
startup-config file) or when commands are entered in the CLI
while in configuration mode.
• A Cisco network device contains two configuration files:
– The running configuration file - used during the current
operation of the device
– The startup configuration file - used as the backup
configuration and is loaded when the device is started
![Page 14: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/14.jpg)
Types of Configuration Files
• The running configuration file
– used during the current operation of the device
– Changes to the running configuration will immediately
affect the operation of the Cisco device
• The startup configuration file
– used as the backup configuration and is loaded when the
device is started
– The startup configuration file or startup-config file is
stored in non-volatile RAM (NVRAM)
![Page 15: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/15.jpg)
Cisco IOS Modes
![Page 16: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/16.jpg)
Cisco IOS Modes
• Different modes and the mode prompts in the CLI
![Page 17: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/17.jpg)
Cisco IOS Modes
![Page 18: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/18.jpg)
Cisco IOS Modes
![Page 19: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/19.jpg)
Basic IOS Command Structure
After entering each complete command, including any
keywords and arguments, press the <Enter> key to
submit the command to the command interpreter.
![Page 20: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/20.jpg)
IOS command Conventions
![Page 21: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/21.jpg)
Using CLI Help
• Using “?”
![Page 22: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/22.jpg)
Using CLI Help
• The IOS has several forms of help available:
– Context-sensitive help
– Command Syntax Check
– Hot Keys and Shortcuts
![Page 23: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/23.jpg)
Using CLI Help
![Page 24: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/24.jpg)
Using CLI Help
![Page 25: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/25.jpg)
Using CLI Help
• Tab - Completes the remainder of the command or keyword
• Ctrl-R - Redisplays a line
• Ctrl-Z - Exits configuration mode and returns to the EXEC
• Down Arrow - Allows user to scroll forward through former
commands
• Up Arrow - Allows user to scroll backward through former
commands
• Ctrl-Shift-6 - Allows the user to interrupt an IOS process
such as ping or traceroute
• Ctrl-C or Ctrl-Z - Aborts the current command and exits the
configuration mode
![Page 26: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/26.jpg)
Using CLI Help
![Page 27: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/27.jpg)
Examination Commands
![Page 28: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/28.jpg)
Examination Commands
![Page 29: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/29.jpg)
Examination Commands
![Page 30: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/30.jpg)
IOS Configuration modes
![Page 31: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/31.jpg)
IOS Configuration mode
• Interface mode - to configure one of the network
interfaces (Fa0/0, S0/0/0,..)
• Line mode - to configure one of the lines (physical or
virtual) (console, AUX, VTY,..)
• Router mode - to configure the parameters for one of the
routing protocols
• Remember, as configuration changes are made within an
interface or process, the changes only affect that interface
or process.
• Once a change has been made from the global mode, it is
good practice to save it to the startup configuration file
stored in NVRAM.
– Router#copy running-config startup-config
![Page 32: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/32.jpg)
Applying a Basic Configuration
Using Cisco IOS
![Page 33: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/33.jpg)
Naming a device
• Some guidelines for naming conventions are that names should:
– Start with a letter
– Not contain a space
– End with a letter or digit
– Have characters of only letters, digits, and dashes
– Be 63 characters or fewer
![Page 34: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/34.jpg)
Naming a device
• Two common approaches to establishing naming conventions:
the location and the purpose
• To remove the name of a device, use:• AtlantaHQ(config)# no hostname
• Router(config)#
![Page 35: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/35.jpg)
Configuring Passwords and Using Banners
• The passwords introduced here are:
– 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
![Page 36: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/36.jpg)
Console password
![Page 37: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/37.jpg)
VTY and Enable password
![Page 38: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/38.jpg)
Using Banners
![Page 39: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/39.jpg)
Set Banner
• Here are some examples of information to include in a
banner:
– "Use of the device is specifically for authorized
personnel."
– "Activity may be monitored."
– "Legal action will be pursued for any unauthorized use."
![Page 40: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/40.jpg)
Managing configuration files
• Make the changed configuration the new startup configuration.
• Return the device to its original configuration.
• Remove all configuration from the device.
After making changes to a configuration, consider these options for the next step:
![Page 41: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/41.jpg)
Backup Configuration on TFTP Server
• Backup Configuration on TFTP Server
1. Enter the copy running-config tftp command.
2. Enter the IP address of the host where the configuration file will be stored.
3. Enter the name to assign to the configuration file.
4. Answer yes to confirm each choice.
• Removing All Configurations
– erase startup-config
– reload router
![Page 42: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/42.jpg)
Use a text file to backup and restore config
settings
![Page 43: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/43.jpg)
Backup Configurations with Text Capture
(TeraTerm)
![Page 44: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/44.jpg)
Restoring Text Configurations
• When using HyperTerminal, the steps are:
1. Locate the file to be copied into the device and open the
text document.
2. Copy all of the text.
3. On the Edit menu, click paste to host.
• When using TeraTerm, the steps are:
1. On the File menu, click Send file.
2. Locate the file to be copied into the device and click
Open.
3. TeraTerm will paste the file into the device.
![Page 45: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/45.jpg)
Configuring interfaces
![Page 46: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/46.jpg)
Configuring LAN interfaces
![Page 47: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/47.jpg)
Configuring WAN interfaces
![Page 48: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/48.jpg)
Configuring interfaces
Do not affect to router operation
![Page 49: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/49.jpg)
Configuring interfaces
![Page 50: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/50.jpg)
Verifying Connectivity
![Page 51: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/51.jpg)
Select, Apply, and Verify Appropriate
Addressing Parameters to a Host
![Page 52: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/52.jpg)
Testing the Stack
![Page 53: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/53.jpg)
Testing the Interface Assignment
![Page 54: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/54.jpg)
Testing the Interface Assignment
![Page 55: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/55.jpg)
Testing the local NIC Assignment
• Use the ping command to determine if the IP protocol is
properly bound to an NIC
![Page 56: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/56.jpg)
Testing Local Network
• Use the ping, extended ping command to determine if a
host can actively communicate across the local network
![Page 57: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/57.jpg)
Testing Gateway and Remote Connectivity
• Use the ping command in the CLI to determine if the IP
protocol is operational on a local host
![Page 58: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/58.jpg)
Testing Gateway and Remote Connectivity
![Page 59: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/59.jpg)
Tracing and Interpreting Trace Results
![Page 60: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/60.jpg)
Tracing and Interpreting Trace Results
• Identify several conditions that might cause the test
to fail
![Page 61: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/61.jpg)
Monitoring and
Documenting of Networks
![Page 62: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/62.jpg)
Basic Network Baselines
• One of the most effective
tools for monitoring and
troubleshooting network
performance is to establish a
network baseline. A baseline
is a process for studying the
network at regular intervals to
ensure that the network is
working as designed.
• Use the output of the ping
command, saved into logs,
and repeated over time, to
establish relative network
performance
![Page 63: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/63.jpg)
Basic Network Baselines
Host capture
1. Right-click the command prompt window, then click Select All.
2. Press Ctrl-C to copy the output.
3. Open a text editor.
4. Press Ctrl-V to paste the text.
5. Save the text file with the date and time as part of the name.
IOS capture
1. On the Transfer menu, click Capture Text.
2. Choose Browse to locate or type the name of the saving the file.
3. Click Start to begin capturing text
4. Execute the ping command in the user EXEC mode or at the privileged
EXEC prompt. The router will place the text displayed on the terminal
in the location chosen.
5. View the output to verify that it was not corrupted.
6. On the Transfer menu, click Capture Text, and then click Stop Capture.
![Page 64: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/64.jpg)
Capturing and Interpreting Trace Information
![Page 65: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/65.jpg)
Learning About the Nodes on the Network
![Page 66: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/66.jpg)
Learning About the Nodes on the Network
![Page 67: Ca Ex S1 M11 Configuring And Testing Your Network](https://reader034.vdocument.in/reader034/viewer/2022052507/5581c1c8d8b42a1d1a8b5435/html5/thumbnails/67.jpg)
Summary