5.ios sw

Upload: medo-rashed

Post on 04-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 5.ios sw

    1/36

  • 7/29/2019 5.ios sw

    2/36

    222 2004, Cisco Systems, Inc. All rights reserved.

    2

    Operating Cisco IOS Software

  • 7/29/2019 5.ios sw

    3/36

    333 2004, Cisco Systems, Inc. All rights reserved.

    Router Internal Components

  • 7/29/2019 5.ios sw

    4/36

    444 2004, Cisco Systems, Inc. All rights reserved.

    External Components of a 2600 Router

  • 7/29/2019 5.ios sw

    5/36

    555 2004, Cisco Systems, Inc. All rights reserved.

    ROM Functions

    Contains microcode for basic functions

  • 7/29/2019 5.ios sw

    6/36

    666 2004, Cisco Systems, Inc. All rights reserved.

    Cisco Software components

    Cisco IOS (Internetwork Operating System) It is the operating system that manages the hardware

    platform it is working on.

    Configuration File It is a program file that contains commands that

    reflect how the router will react.

  • 7/29/2019 5.ios sw

    7/36

  • 7/29/2019 5.ios sw

    8/36888 2004, Cisco Systems, Inc. All rights reserved.

    Step in Router Initialization

  • 7/29/2019 5.ios sw

    9/36999 2004, Cisco Systems, Inc. All rights reserved.

    Loading the Cisco IOS Imagefrom Flash Memory

    The flash memory file is decompressed into RAM.

  • 7/29/2019 5.ios sw

    10/36101010 2004, Cisco Systems, Inc. All rights reserved.

    Loading the Configuration

    Load and execute the configuration from NVRAM.

  • 7/29/2019 5.ios sw

    11/36111111 2004, Cisco Systems, Inc. All rights reserved.

    Computer/Terminal Console Connection

  • 7/29/2019 5.ios sw

    12/36121212 2004, Cisco Systems, Inc. All rights reserved.

    HyperTerminal Session Properties

  • 7/29/2019 5.ios sw

    13/36131313 2004, Cisco Systems, Inc. All rights reserved.

    Setup mode

    - Permit the administrator to install a minimal configuration for a router( appeared if no saved configuration , Ctrl-C to skip )

  • 7/29/2019 5.ios sw

    14/36141414 2004, Cisco Systems, Inc. All rights reserved.

    Other Router Modes

  • 7/29/2019 5.ios sw

    15/36151515 2004, Cisco Systems, Inc. All rights reserved.

    IOS Features

    Support context help and abbreviations ( ? )

    Support of auto complete ( Tab button )

    Support syntax error detection

  • 7/29/2019 5.ios sw

    16/36161616 2004, Cisco Systems, Inc. All rights reserved.

    Context help features

  • 7/29/2019 5.ios sw

    17/36171717 2004, Cisco Systems, Inc. All rights reserved.

    Configuring Router Identification

  • 7/29/2019 5.ios sw

    18/36181818 2004, Cisco Systems, Inc. All rights reserved.

    Configuring a Router Password

  • 7/29/2019 5.ios sw

    19/36191919 2004, Cisco Systems, Inc. All rights reserved.

    Configuring Interfaces

    Router#config t

    RouterA(config)# interface serial 0/0

    RouterA(config-if)# ip address 192.168.1.1 255.255.255.0

    RouterA(config-if)# no shutdownRouterA(config-if)# clock rate 56000 (required for serial DCE only)RouterA(config-if)#bandwidth 64 (a value in kbps)RouterA(config-if)# exit

    RouterB(config)# int serial 0/1

    RouterB(config-if)# ip address 192.168.1.2 255.255.255.252RouterB(config-if)# no shutdown

    RouterB(config-if)# exit

    RouterB(config)# exit

    Router#

    To know which interface is the DCE :

    RouterA# show controller s0/0

    S0/0

    S0/1

    192.168.1.1/30192.168.1.2/30

  • 7/29/2019 5.ios sw

    20/36

    202020 2004, Cisco Systems, Inc. All rights reserved.

    monitoring and debugging

    showcommands are typed in both

    privileged EXECand user EXEC modes

    #show interfaces Displays all the statistics for all the interfaces#show int s0/1 Displays statistics for interface Serial 0/1#show ip interface brief Displays a summary about interfaces#show flash Displays info about flash memory and what IOS in it

    #show start Displays the saved configuration located in NVRAM#show run Displays the configuration currently running in RAM#show version Displays info about the router and the IOS#show ARP Displays the ARP table of the router#show protocol Displays the global and interface specific status of any

    configured Layer 3 protocols#show controllers serial0/0 Displays information-specific to the

    interface hardware

    #erase nvram erase the saved configuration file#reload restart the router

    #copy run start

    save the current configuration in RAM into the NVRAM

  • 7/29/2019 5.ios sw

    21/36

    212121 2004, Cisco Systems, Inc. All rights reserved.

    show version Command

  • 7/29/2019 5.ios sw

    22/36

    222222 2004, Cisco Systems, Inc. All rights reserved.

    Configuration Register Values

    0x2100

    0x2101

    0x2102 to0x210F

    The configuration register value set the boot option

    The value 0x2142 is used to bypass the NVRAM

  • 7/29/2019 5.ios sw

    23/36

    232323 2004, Cisco Systems, Inc. All rights reserved.

    Boot system command

    - beside the configuration register you canuse the boot system command to forcebooting location.

    Router(config)# boot system flash

    Router(config)# boot system rom

    Router(config)# boot system tftp

  • 7/29/2019 5.ios sw

    24/36

  • 7/29/2019 5.ios sw

    25/36

    252525 2004, Cisco Systems, Inc. All rights reserved.

    Displays the current and saved configuration

    show running-config andshow startup-config Commands

  • 7/29/2019 5.ios sw

    26/36

    262626 2004, Cisco Systems, Inc. All rights reserved.

    show interfaces Command

  • 7/29/2019 5.ios sw

    27/36

    272727 2004, Cisco Systems, Inc. All rights reserved.

    Interpreting the Interface Status

    Layer 1 status Layer 2 status

    - Serial0/1 is administratively down , line protocol is down

    interface is shut down

    - Serial0/1 is down , line protocol is down

    interface or cable H/W failure ( no keep-alives )

    - Serial0/1 is up , line protocol is down

    different encapsulation type ( PPP , HDLC , FR ) or no clock rateon the DCE device.

    Interfaceis workingproperly

    Other interface status :

    S0/1S0/0

  • 7/29/2019 5.ios sw

    28/36

    282828 2004, Cisco Systems, Inc. All rights reserved.

    Shows the cable type of serial cables

    Serial Interface show controller Command

  • 7/29/2019 5.ios sw

    29/36

    292929 2004, Cisco Systems, Inc. All rights reserved.

    Discovering Neighbors with CDP

    CDP runs on routers with Cisco IOSto get information about the directconnected Cisco devices.

    Summary informationincludes:

    Device identifiers

    Address list

    Port identifier

    Capabilities list

    Platform

    U i h h d

  • 7/29/2019 5.ios sw

    30/36

    303030 2004, Cisco Systems, Inc. All rights reserved.

    Using the show cdpneighbors Command

    RouterA# show cdp neighbors detail

    provide also the neighbors ip addresses.

  • 7/29/2019 5.ios sw

    31/36

    313131 2004, Cisco Systems, Inc. All rights reserved.

    Using Telnet to Connect to Remote Devices

    Telnet is used to check all the TCP/IP stack

  • 7/29/2019 5.ios sw

    32/36

    323232 2004, Cisco Systems, Inc. All rights reserved.

    Viewing Telnet Connections

    S di d R i

  • 7/29/2019 5.ios sw

    33/36

    333333 2004, Cisco Systems, Inc. All rights reserved.

    Suspending and Resuminga Telnet Session

  • 7/29/2019 5.ios sw

    34/36

    343434 2004, Cisco Systems, Inc. All rights reserved.

    Closing a Telnet Session

  • 7/29/2019 5.ios sw

    35/36

    353535 2004, Cisco Systems, Inc. All rights reserved.

    Using the ping and trace Commands

    Ping commands tests the connectivity and path to a remote device

    ( test layer 3 in TCP/IP )

  • 7/29/2019 5.ios sw

    36/36

    Cisco IOS copy Command

    #

    #

    #

    #

    #

    #

    To save IOS image orconfiguration file