+ All Categories
Home > Documents > Exploration Network Chapter 11 (Rev 1.0)

Exploration Network Chapter 11 (Rev 1.0)

Date post: 04-Apr-2018
Category:
Upload: yin0110yang
View: 223 times
Download: 0 times
Share this document with a friend

of 42

Transcript
  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    1/42

    2007 Cisco Systems, Inc. All rights reserved. Cisco PublicITE PC v4.0Chapter 1 1

    Configuring and Testing

    Your Network

    Network Fundamentals Chapter 11

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    2/42

    ITE PC v4.0Chapter 1 2 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Role of Internetwork Operating System (IOS)

    The IOS file itself is several MB in size and is stored in asemi-permanent memory area called flash.

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    3/42

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    4/42

    ITE PC v4.0Chapter 1 4 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Configuration Files

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    5/42

    ITE PC v4.0Chapter 1 5 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Cisco IOS Modes Recognize that Cisco IOS is modal and describe the

    implications of modes.

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    6/42

    ITE PC v4.0Chapter 1 6 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    IOS Prompt Structure

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    7/42ITE PC v4.0Chapter 1 7 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    IOS Primary Mode Two primary modes: User EXEC and Privileged EXEC

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    8/42ITE PC v4.0Chapter 1 8 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Moving between the User EXEC and PrivilegedEXEC Modes

    Output similar to a Cisco switch

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    9/42ITE PC v4.0Chapter 1 9 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Basic IOS Command Structure

    Commands are not case-sensitive.

    A command might require one or more arguments. Anargument is a value or variable defined by the user.

    After entering each complete command, including anyarguments, press the key to submit thecommand to the command interpreter.

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    10/42ITE PC v4.0Chapter 1 10 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    IOS Command Convention

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    11/42ITE PC v4.0Chapter 1 11 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Context-sensitive Help

    IOS Help Forms: Context-sensitive help, Command,Syntax Check, Hot Keys and Shortcuts

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    12/42ITE PC v4.0Chapter 1 12 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Command Syntax Check

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    13/42

    ITE PC v4.0Chapter 1 13 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Hot Keys and Shortcuts

    Tab - Completes the remainder of the command or keywordCtrl-R - Redisplays a line

    Ctrl-Z - Exits configuration mode and returns to the EXEC

    Down Arrow - Allows user to scroll forward through formercommands (Ctrl-N)

    Up Arrow - Allows user to scroll backward through formercommands (Ctrl-P)

    Ctrl-Shift-6 - Allows the user to interrupt an IOS process suchas ping or traceroute

    Ctrl-C - Aborts the current command and exits the configuration

    mode

    Commands and keywords can be abbreviated to theminimum number of characters that identifies a uniqueselection.

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    14/42

    ITE PC v4.0Chapter 1 14 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    IOS Examination Commands

    Identify the purpose of the show command and severalof its variations

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    15/42

    ITE PC v4.0Chapter 1 15 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    IOS Output show version

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    16/42

    ITE PC v4.0Chapter 1 16 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Other show outputs

    show arp - Displays the ARP table of the device. show mac-address-table - (switch only) Displays the MAC

    table of a switch.

    show startup-config - Displays the saved configurationlocated in NVRAM.

    show running-config - Displays the contents of the currentlyrunning configuration file

    show ip interfaces - Displays IPv4 statistics for all interfaceson a router. To view the statistics for a specific interface,enter the show ip interfaces command followed by the

    specific interface slot/port number. Another important formatof this command is show ip interface brief. This gets a quicksummary of the interfaces and their operational states.

    When a --More-- prompt appears, press the Spacebar toview the next portion of output. To display only the next line,press the Enter key.

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    17/42

    ITE PC v4.0Chapter 1 17 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Other IOS Configuration Modes

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    18/42

    ITE PC v4.0Chapter 1 18 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Configuring Host Names

    If the hostname is not explicitly configured, a routeruses the factory-assigned default hostname "Router."(Switch for a Cisco switch)

    It is a good practice to create the naming convention at

    the same time as the addressing scheme to allow forcontinuity within the organization.

    Device host names are only used by administratorswhen they use the CLI to configure devices. Unless

    configured to do so, the devices themselves do not usethese names when they discover each other andinteroperate.

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    19/42

    ITE PC v4.0Chapter 1 19 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Configuring Host Names

    To negate the effects of a command, preface the commandwith the no keyword.

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    20/42

    ITE PC v4.0Chapter 1 20 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Limiting Device Access Passwords andBanners

    Passwords are the primary defense againstunauthorized access to network devices.

    The passwords introduced here are:

    Console password - limits device access using the consoleconnection

    Enable password - limits access to the privileged EXEC mode

    Enable secret password - encrypted, limits access to theprivileged EXEC mode

    VTY password - limits device access using Telnet

    Use strong passwords that are not easily guessed.

    In our labs, simple passwords such as cisco or classwill be used. These passwords are considered weakand easily guessable.

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    21/42

    ITE PC v4.0Chapter 1 21 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Configuring Console Passwords

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    22/42

    ITE PC v4.0Chapter 1 22 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Use Cisco CLI Commands to Perform BasicRouter & Switch Configuration and Verification

    service password-encryption - causes the encryption of passwordsto occur when a password is configured. The command appliesweak encryption to all unencrypted passwords; weak encryption;irreversible

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    23/42

    ITE PC v4.0Chapter 1 23 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Banner MOTD

    Because banners can be seen by anyone who attempts to log in,the message must be worded very carefully. Any wording thatimplies that a login is "welcome" or "invited" is not appropriate.

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    24/42

    ITE PC v4.0Chapter 1 24 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Checking Configuration Files

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    25/42

    ITE PC v4.0Chapter 1 25 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Backing Up Configurations Offline

    Configuration files should be stored as backup files inthe event of a problem. Configuration files can bestored on a Trivial File Transfer Protocol (TFTP) server,a CD, a USB memory stick, or a floppy disk stored in asafe place. A configuration file should also be included

    in the network documentation..

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    26/42

    ITE PC v4.0Chapter 1 26 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Backup Configurations with Text Capture(HyperTerminal)

    Use a text file to backup and restore config settings

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    27/42

    ITE PC v4.0Chapter 1 27 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Configuring Router Ethernet Interfaces

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    28/42

    ITE PC v4.0Chapter 1 28 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Configuring Router Serial Interfaces

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    29/42

    ITE PC v4.0Chapter 1 29 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Interface Descriptions

    Explain the purpose of assigning interface descriptionsto a router

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    30/42

    ITE PC v4.0Chapter 1 30 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Configuring Switch Interfaces

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    31/42

    ITE PC v4.0Chapter 1 31 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Test the Stack

    Ping indicators: (!) - receipt of an ICMP echo reply; (.) -indicates a timed out while waiting for a reply; (U) -ICMP unreachable message

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    32/42

    ITE PC v4.0Chapter 1 32 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Interface Testing

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    33/42

    ITE PC v4.0Chapter 1 33 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Testing the Local NIC Assignment Use the ping command to determine if the IP protocol is

    properly bound to an NIC

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    34/42

    ITE PC v4.0Chapter 1 34 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Testing Gateway Connectivity

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    35/42

    ITE PC v4.0Chapter 1 35 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Testing Remote Connectivity

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    36/42

    ITE PC v4.0Chapter 1 36 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Testing the Path to a Remote Host

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    37/42

    ITE PC v4.0Chapter 1 37 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Interpreting Test Results Identify several conditions that might cause the test to

    fail

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    38/42

    ITE PC v4.0Chapter 1 38 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Use Common Utilities to Establish a RelativePerformance Baseline for the Network A baseline is a process for studying the network at regular intervals to

    ensure that the network is working as designed. It is more than a singlereport detailing the health of the network at a certain point in time.

    One method for starting a baseline is to copy and paste the results froman executed ping, trace, or other relevant command into a text file.

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    39/42

    ITE PC v4.0Chapter 1 39 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Use Common Utilities to Establish a RelativePerformance Baseline for the Network

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

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    40/42

    ITE PC v4.0Chapter 1 40 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Learning About Nodes on a Network The arp command provides for the mapping of physical

    addresses to known IPv4 addresses.

    Another method for collecting MAC addresses is to employ aping sweep

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    41/42

    ITE PC v4.0Chapter 1 41 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

    Learning About Switched Connections One additional tool that can be helpful is a mapping of how

    hosts are connected to a switch.

  • 7/29/2019 Exploration Network Chapter 11 (Rev 1.0)

    42/42


Recommended