Top Banner

of 70

CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

Apr 08, 2018

Download

Documents

Hoang Duc Cuong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    1/70

    Chapter 11 - Configuring

    and Testing Your Network

    .

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    2/70

    Overview

    Define the role of the Internetwork Operating System(IOS)

    Use Cisco CLI commands to perform basic routerand switch configuration and verification

    Given a network addressing scheme, select, apply,

    Hc vin mng Bch khoa - Website: www.bkacad.com

    and verify appropriate addressing parameters to ahost

    Use common utilities to verify network connectivitybetween hosts

    Use common utilities to establish a relativeperformance baseline for the network

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    3/70

    Role of Internetwork Operating System (IOS)

    Identify several classes of devices that have IOSembedded

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    4/70

    Role of Internetwork Operating System (IOS)

    Basic routing and switching functions Reliable and secure access to networked resources

    Network scalability Using Cisco Command Line Interface (CLI) to configuration

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    5/70

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    6/70

    Access Methods

    Access MethodsConsole

    Telnet or SSHAUX port

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    7/70

    Access Methods

    Use the CLI to access various IOS configurationmodes on a device

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    8/70

    Console

    ConsoleLow speed serial connection to directly connect a

    computer or terminal to the console port on the router orswitch.

    Provides out-of-band access to a router

    Hc vin mng Bch khoa - Website: www.bkacad.com

    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

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    9/70

    Telnet and SSH

    Telnet

    Require active networking services on the device.Run on layer 7 in OSI model

    Secure Shell (SSH) protocol

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Like telnet but more secure accessStronger password

    Uses encryption when transporting session data

    Use can use ssh client on PC name: Puttyhttp://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    10/70

    AUX

    Another way to establish a CLI session remotely is via atelephone dialup connection using a modemconnected to the router's AUX port

    Can used locally, like console port Console port is also preferred over the auxiliary port for

    Hc vin mng Bch khoa - Website: www.bkacad.com

    debugging, and error messages by default.

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    11/70

    Role of Internetwork Operating System (IOS)

    Define the purpose of startup config.

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    12/70

    Role of Internetwork Operating System (IOS)

    Identify the relationship between IOS and config

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    13/70

    Configuration files

    Contain the Cisco IOS software commands used tocustomize the functionality of a Cisco device.

    Commands are parsed (translated and executed) by theCisco IOS software when the system is booted (from thestartup-config file) or when commands are entered in theCLI while in confi uration mode.

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    14/70

    Types of Configuration Files

    The running configuration fileUsed during the current operation of the device

    Changes to the running configuration will immediatelyaffect the operation of the Cisco device

    The startup configuration file

    Hc vin mng Bch khoa - Website: www.bkacad.com

    se as e ac up con gura on an s oa e w enthe device is started

    The startup configuration file or startup-config file isstored in non-volatile RAM (NVRAM)

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    15/70

    Role of Internetwork Operating System (IOS)

    Recognize that Cisco IOS is modal and describe theimplications of modes.

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    16/70

    Role of Internetwork Operating System (IOS)

    Define the different modes and identify the modeprompts in the CLI

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    17/70

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    18/70

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    19/70

    Role of Internetwork Operating System (IOS)

    Identify the basic command structure for IOScommands

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    20/70

    IOS command Conventions

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    21/70

    Role of Internetwork Operating System (IOS)

    Identify the types of help and feedback available whileusing IOS and use these features to get help, take

    shortcuts and ascertain success

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    22/70

    The Forms of Help

    The IOS has several forms of help available:Context-sensitive help

    Command Syntax CheckHot Keys and Shortcuts

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    23/70

    Command Syntax Check

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    24/70

    Command Syntax Check

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    25/70

    Hot Keys and Shortcuts

    Tab - Completes the remainder of the command orkeyword

    Ctrl-R - Redisplays a line Ctrl-Z - Exits configuration mode and returns to the EXEC Down Arrow - Allows user to scroll forward through former

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Up Arrow - Allows user to scroll backward through formercommands

    Ctrl-Shift-6 - Allows the user to interrupt an IOS process

    such as ping or traceroute Ctrl-C - Aborts the current command and exits the

    configuration mode

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    26/70

    Examination Commands

    Identify the purpose of the show command and severalof its variations

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    27/70

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    28/70

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    29/70

    IOS Configuration mode

    Identify several of the configuration modes, theirpurpose and their associated prompt

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    30/70

    IOS Configuration mode

    Interface mode - to configure one of the networkinterfaces (Fa0/0, S0/0/0,..)

    Line mode - to configure one of the lines (physical orvirtual) (console, AUX, VTY,..)

    Router mode - to configure the parameters for one of the

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    31/70

    BASIC CONFIGURATION

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    32/70

    Naming a Device

    Explain the reasons for naming devices.

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    33/70

    Naming a Device

    Describe two common approaches to establishingnaming conventions

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    34/70

    Naming a Device

    To remove the name of a device, use:AtlantaHQ(config)# no hostname

    Router(config)#

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    35/70

    Naming a Device

    Some guidelines for naming conventions are that namesshould:

    Start with a letter

    Not contain a space

    End with a letter or digit

    Hc vin mng Bch khoa - Website: www.bkacad.com

    ave c arac ers o on y e ers, g s, an as es

    Be 63 characters or fewer

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    36/70

    Set Password

    The passwords introduced here are:Console password - limits device access using the

    console connection

    Enable password - limits access to the privilegedEXEC mode

    Hc vin mng Bch khoa - Website: www.bkacad.com

    - ,

    the privileged EXEC modeVTY password - limits device access using Telnet

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    37/70

    Set Password

    Describe the role of passwords in limiting access todevice configurations

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    38/70

    Set Password

    Describe several ways in which access to a deviceconfiguration can be limited

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    39/70

    Set Banner

    Use the CLI to set passwords and add banners to adevice

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    40/70

    Set Banner

    Here are some examples of information to include in abanner:

    "Use of the device is specifically for authorizedpersonnel."

    "Activity may be monitored."

    "

    Hc vin mng Bch khoa - Website: www.bkacad.com

    .

    Command:Router(config)#banner motd # Secured system#

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    41/70

    Manage configuration file

    Trace the steps used to examine the startup config,make changes to config, and replace the startup configwith the running config

    Hc vin mng Bch khoa - Website: www.bkacad.com

    M fi i fil

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    42/70

    Manage configuration file

    Use basic IOS config commands to manage a device.

    Hc vin mng Bch khoa - Website: www.bkacad.com

    B k C fi ti TFTP S

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    43/70

    Backup Configuration on TFTP Server

    Backup Configuration on TFTP Server1. Enter the copy running-config tftp command.

    2. Enter the IP address of the host where the configurationfile will be stored.

    3. Enter the name to assign to the configuration file.

    Hc vin mng Bch khoa - Website: www.bkacad.com

    . nswer yes o con rm eac c o ce.

    R i All C fi ti

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    44/70

    Removing All Configurations

    Removing All ConfigurationsRouter# erase startup-config

    Hc vin mng Bch khoa - Website: www.bkacad.com

    U t t fil t b k d t fi tti

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    45/70

    Use a text file to backup and restore config settings

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Use a text file to backup and restore config settings

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    46/70

    When using HyperTerminal, follow these steps:1. On the Transfer menu, click Capture Text.

    2. Choose the location.3. Click Start to begin capturing text.

    4. Once capture has been started, execute the show

    Use a text file to backup and restore config settings

    Hc vin mng Bch khoa - Website: www.bkacad.com

    runn ng-con g or s ow s ar up-con g comman a e

    privileged EXEC prompt. Text displayed in the terminalwindow will be placed into the chosen file.

    5. View the output to verify that it was not corrupted.

    Backup Configurations with Text Capture (TeraTerm)

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    47/70

    Backup Configurations with Text Capture (TeraTerm)

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Backup Configurations with Text Capture (TeraTerm)

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    48/70

    1. On the File menu, click Log.2. Choose the location. TeraTerm will begin capturing text.3. Once capture has been started, execute the show

    runnin -confi or show startu -confi command at the

    Backup Configurations with Text Capture (TeraTerm)

    Hc vin mng Bch khoa - Website: www.bkacad.com

    privileged EXEC prompt. Text displayed in the terminalwindow will be placed into the chosen file.

    4. When the capture is complete, select Close in theTeraTerm: Log window.

    5. View the output to verify that it was not corrupted.

    Restoring Text Configurations

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    49/70

    Restoring Text Configurations

    When using HyperTerminal, the steps are:

    1. Locate the file to be copied into the device and open the textdocument.

    2. Copy all of the text.

    Hc vin mng Bch khoa - Website: www.bkacad.com

    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.

    Configure Router Interfaces

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    50/70

    Configure Router Interfaces

    Identify the role of a router in a network.

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Configure Router Interface

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    51/70

    Configure Router Interface

    Describe the purpose of having multiple interfaces inone router

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Configure Router Interface

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    52/70

    Configure Router Interface

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Configure Interface Description

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    53/70

    Configure Interface Description

    Explain the purpose of assigning interface descriptionsto a router

    Hc vin mng Bch khoa - Website: www.bkacad.comDo not affect to router operation

    Select, Apply, and Verify Appropriate AddressingParameters to a Host

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    54/70

    Parameters to a Host

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Select, Apply, and Verify Appropriate AddressingParameters to a Host

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    55/70

    Given a type of host and a master addressing scheme,trace the steps for assigning host parameters to a host

    Parameters to a Host

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Select, Apply, and Verify Appropriate AddressingParameters to a Host

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    56/70

    Trace the steps for using ipconfig/ifconfig to verify hostparameter assignments and for using ping to test

    assignments

    Parameters to a Host

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Select, Apply, and Verify Appropriate AddressingParameters to a Host

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    57/70

    Parameters to a Host

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Use Common Utilities to Verify Network ConnectivityBetween Hosts

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    58/70

    Between Hosts

    Use the ping command in the CLI to determine if theIP protocol is operational on a local host

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Use Common Utilities to Verify Network ConnectivityBetween Hosts

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    59/70

    Use the ping command to determine if the IP protocolis properly bound to an NIC

    Between Hosts

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Use Common Utilities to Verify Network ConnectivityBetween Hosts

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    60/70

    Use the ping command to determine if a host canactively communicate across the local network

    Between Hosts

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Use Common Utilities to Verify Network ConnectivityBetween Hosts

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    61/70

    Use the ping command to verify that the local host cancommunicate across the internetwork to a given

    remote host.

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Use Common Utilities to Verify Network ConnectivityBetween Hosts

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    62/70

    Identify several conditions that might cause thetest to fail

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Use Common Utilities to Establish a RelativePerformance Baseline for the Network

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    63/70

    Use the output of the ping command, saved into logs,and repeated over time, to establish relative network

    performance

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Use Common Utilities to Establish a RelativePerformance Baseline for the Network

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    64/70

    Use the output of the traceroute command, saved intologs, and repeated over time, to establish relative

    network performance

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Use Common Utilities to Establish a RelativePerformance Baseline for the Network

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    65/70

    Trace the steps for verifying the physicaladdresses of the hosts

    Hc vin mng Bch khoa - Website: www.bkacad.com

    How to know about PC connect to SW

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    66/70

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Labs

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    67/70

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Summary

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    68/70

    Hc vin mng Bch khoa - Website: www.bkacad.com

    Commands (EXTRA)

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    69/70

    Set banner (recall)Router(config)#banner motd # message #

    Logging SynchronizeRouter(config)#line console 0

    Router(config-line)#logging synchronous

    Removing auto domain name resolveRouter(config)# no ip domain lookup

    Write commandRouter#write - The same as copy run start

    Hc vin mng Bch khoa - Website: www.bkacad.com

  • 8/6/2019 CCNA Exp1 - Chapter11 - Configuring and Testing Your Network

    70/70

    Hc vin mng Bch khoa - Website: www.bkacad.com