mod_7 basic router configuration

Upload: irfan-irawan-cbn

Post on 30-May-2018

236 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 Mod_7 Basic Router Configuration

    1/44

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

    Basic Cisco RouterTechnology

    Presented by: Team ASPRAK JARKOMPOLITEKNIK TELKOM

  • 8/9/2019 Mod_7 Basic Router Configuration

    2/44

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

    Internal Configuration Components

  • 8/9/2019 Mod_7 Basic Router Configuration

    3/44

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

    Router Internal Components

  • 8/9/2019 Mod_7 Basic Router Configuration

    4/44

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

    Internal Components of a 2600 Router

  • 8/9/2019 Mod_7 Basic Router Configuration

    5/44

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

    Router External Connections

  • 8/9/2019 Mod_7 Basic Router Configuration

    6/44

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

    External Connections on a 2600 Router

  • 8/9/2019 Mod_7 Basic Router Configuration

    7/44777 2004, Cisco Systems, Inc. All rights reserved.

    Computer or Terminal ConsoleConnection

  • 8/9/2019 Mod_7 Basic Router Configuration

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

    Modem Connection to Console orAuxiliary Port

  • 8/9/2019 Mod_7 Basic Router Configuration

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

    Establish a Console Session

    All Cisco routersinclude an EIA/TIA-232asynchronous serialconsole port. Theconsole port is an RJ-45.

    Use an RJ-45 to RJ45rollover cable with a

    female RJ-45 to DB-9adapter to connect aPC to the console port

  • 8/9/2019 Mod_7 Basic Router Configuration

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

    Configurations can comefrom many sources.

    Configurations will act indevice memory.

    External Configuration Sources

  • 8/9/2019 Mod_7 Basic Router Configuration

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

    Steps in Router Initialization

  • 8/9/2019 Mod_7 Basic Router Configuration

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

    Cisco Device Startup

  • 8/9/2019 Mod_7 Basic Router Configuration

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

    Setup Mode

  • 8/9/2019 Mod_7 Basic Router Configuration

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

    Router LED Indicators

    Cisco routers use LED indicators to providestatus information. LED indicators will vary fordifferent Cisco router models.

  • 8/9/2019 Mod_7 Basic Router Configuration

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

    Router Modes

  • 8/9/2019 Mod_7 Basic Router Configuration

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

    A CLI is used to entercommands.

    Operations vary on differentinternetworking devices.

    Users type or paste entries in theconsole command modes.

    Enter key instructs device toparse and execute the command.

    Two primary EXEC modes areuser mode and privileged mode.

    Command modes havedistinctive prompts.

    Cisco IOS User Interface Functions

  • 8/9/2019 Mod_7 Basic Router Configuration

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

    There are two main EXEC modes forentering commands.

    Cisco IOS Software EXEC Mode

  • 8/9/2019 Mod_7 Basic Router Configuration

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

    Cisco IOS Software EXEC Mode (Cont.)

  • 8/9/2019 Mod_7 Basic Router Configuration

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

    User Mode Commands

  • 8/9/2019 Mod_7 Basic Router Configuration

    20/44

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

    Privileged Mode Commands

  • 8/9/2019 Mod_7 Basic Router Configuration

    21/44

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

    The User Interface Error Indicator

  • 8/9/2019 Mod_7 Basic Router Configuration

    22/44

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

    Configuring a Router

  • 8/9/2019 Mod_7 Basic Router Configuration

    23/44

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

    System startup routines initiate router software

    Router falls back to startup alternatives if needed

    Initial Startup of the Cisco Router

  • 8/9/2019 Mod_7 Basic Router Configuration

    24/44

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

    Unconfigured Versus Configured Router

    Bootup Output from the Router

  • 8/9/2019 Mod_7 Basic Router Configuration

    25/44

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

    Router#setup

    --- System Configuration Dialog ---

    Continue with configuration dialog? [yes/no]: yes

    At any point you may enter a question mark '?' for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets '[]'.

    Basic management setup configures only enough connectivityfor management of the system, extended setup will ask youto configure each interface on the system

    Would you like to enter basic management setup? [yes/no]: no

    Setup: The InitialConfiguration Dialog

  • 8/9/2019 Mod_7 Basic Router Configuration

    26/44

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

    Setup InitialGlobal Parameters

    Configuring global parameters:

    Enter host name [Router]:wg_ro_c

    The enable secret is a password used to protect access toprivileged EXEC and configuration modes. This password, after

    entered, becomes encrypted in the configuration.Enter enable secret: cisco

    The enable password is used when you do not specify anenable secret password, with some older software versions, andsome boot images.Enter enable password: sanfran

    The virtual terminal password is used to protectaccess to the router over a network interface.Enter virtual terminal password: sanjoseConfigure SNMP Network Management? [no]:

  • 8/9/2019 Mod_7 Basic Router Configuration

    27/44

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

    Setup Interface Summary

    First, would you like to see the current interface summary? [yes]:

    Interface IP-Address OK? Method Status Protocol

    BRI0 unassigned YES unset administratively down down

    BRI0:1 unassigned YES unset administratively down down

    BRI0:2 unassigned YES unset administratively down down

    Ethernet0 unassigned YES unset administratively down down

    Serial0 unassigned YES unset administratively down down

    Interfaces Found During Startup

  • 8/9/2019 Mod_7 Basic Router Configuration

    28/44

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

    Setup InterfaceParameters

    BRI interface needs isdn switch-type to be configuredValid switch types are :

    [0] none..........Only if you don't want to configure BRI.[1] basic-1tr6....1TR6 switch type for Germany[2] basic-5ess....AT&T 5ESS switch type for the US/Canada[3] basic-dms100..Northern DMS-100 switch type for US/Canada[4] basic-net3....NET3 switch type for UK and Europe

    [5] basic-ni......National ISDN switch type[6] basic-ts013...TS013 switch type for Australia[7] ntt...........NTT switch type for Japan[8] vn3...........VN3 and VN4 switch types for France

    Choose ISDN BRI Switch Type [2]:

    Configuring interface parameters:

    Do you want to configure BRI0 (BRI d-channel) interface? [no]:

    Do you want to configure Ethernet0 interface? [no]: yesConfigure IP on this interface? [no]: yes

    IP address for this interface: 10.1.1.33Subnet mask for this interface [255.0.0.0] : 255.255.255.0Class A network is 10.0.0.0, 24 subnet bits; mask is /24

    Do you want to configure Serial0 interface? [no]:

    C d Li I f

  • 8/9/2019 Mod_7 Basic Router Configuration

    29/44

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

    Command-Line InterfaceCommand Modes

  • 8/9/2019 Mod_7 Basic Router Configuration

    30/44

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

    Logging In to the Router

  • 8/9/2019 Mod_7 Basic Router Configuration

    31/44

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

    Router Context-Sensitive Help

    Router# clok

    Translating "CLOK"

    % Unknown command or computer name, or unable to find computer address

    Router#

    clear clock

    Router#

    % Incomplete command.

    Router#

    set Set the time and date

    Router#

    % Incomplete command.

    Router#

    hh:mm:ss Current Time

    Router# clock set 19:56:00

    % Incomplete command.

    Router# clock set 19:56:00 ?

    Day of the month MONTH Month of the year

    Router# clock set 19:56:00 04 8

    ^

    % Invalid input detected at the '^' marker

    Router# clock set 19:56:00 04 August% Incomplete command.

    Router# clock set 19:56:00 04 August ?

    Year

    Command

    Prompting

    Syntax Checking

    CommandPrompting

  • 8/9/2019 Mod_7 Basic Router Configuration

    32/44

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

    Configuring a Router Name

  • 8/9/2019 Mod_7 Basic Router Configuration

    33/44

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

    Configuring Router Passwords

  • 8/9/2019 Mod_7 Basic Router Configuration

    34/44

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

    Router#configure terminal

    Router(config)#interface serial 0

    Router(config-if)#no shutdown

    %LINK-3-UPDOWN: Interface Seria0, changed state to up%LINEPROTO-5-UPDOWN: Line Protocol on Interface Serial0, changed state to up

    Enables an interface that is administratively shut down

    Router#configure terminal

    Router(config)#interface serial 0

    Router(config-if)#shutdown%LINK-5-CHANGED: Interface Serial0, changed state to administratively down%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down

    Administratively turns off an interface

    Disabling or Enabling an Interface

  • 8/9/2019 Mod_7 Basic Router Configuration

    35/44

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

    Unique addressing allows communicationbetween end stations.

    Path choice is based on destination address.

    Location is represented by an address

    Introducing IP Addresses

  • 8/9/2019 Mod_7 Basic Router Configuration

    36/44

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

    Configuring an Ethernet Interface

  • 8/9/2019 Mod_7 Basic Router Configuration

    37/44

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

    Configuring Interface Descriptions

    An interface description should identifyimportant information such as a router, acircuit number, or a specific network segment.

  • 8/9/2019 Mod_7 Basic Router Configuration

    38/44

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

    Enter GlobalConfiguration Mode

    Router(config-if)#clock rate 64000Router(config-if)#

    Router(config)#interface serial 0

    Router(config-if)#

    Router#configure terminalRouter(config)#

    Router(config-if)#bandwidth 64Router(config-if)#exitRouter(config)#exitRouter#

    Specify Interface

    Set Clock Rate(on DCE interfaces only)

    Set Bandwidth(recommended)

    Configuring a Serial Interface

  • 8/9/2019 Mod_7 Basic Router Configuration

    39/44

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

    Router show interfaces Command

    Router#show interfacesEthernet0 is up, line protocol is up

    Hardware is Lance, address is 00e0.1e5d.ae2f (bia 00e0.1e5d.ae2f)Internet address is 10.1.1.11/24MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255Encapsulation ARPA, loopback not set, keepalive set (10 sec)ARP type: ARPA, ARP Timeout 04:00:00

    Last input 00:00:07, output 00:00:08, output hang neverLast clearing of "show interface" counters neverQueueing strategy: fifoOutput queue 0/40, 0 drops; input queue 0/75, 0 drops5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec

    81833 packets input, 27556491 bytes, 0 no bufferReceived 42308 broadcasts, 0 runts, 0 giants, 0 throttles

    1 input errors, 0 CRC, 0 frame, 0 overrun, 1 ignored, 0 abort0 input packets with dribble condition detected55794 packets output, 3929696 bytes, 0 underruns0 output errors, 0 collisions, 1 interface resets0 babbles, 0 late collision, 4 deferred0 lost carrier, 0 no carrier0 output buffer failures, 0 output buffers swapped out

  • 8/9/2019 Mod_7 Basic Router Configuration

    40/44

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

    Interpreting the Interface Status

  • 8/9/2019 Mod_7 Basic Router Configuration

    41/44

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

    Verifying a Serial Interface Configuration

    Router#show interface serial 0Serial0 is up, line protocol is up

    Hardware is HD64570Internet address is 10.140.4.2/24MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255Encapsulation HDLC, loopback not set, keepalive set (10 sec)Last input 00:00:09, output 00:00:04, output hang neverLast clearing of "show interface" counters neverInput queue: 0/75/0 (size/max/drops); Total output drops: 0Queueing strategy: weighted fairOutput queue: 0/1000/64/0 (size/max total/threshold/drops)

    Conversations 0/1/256 (active/max active/max total)Reserved Conversations 0/0 (allocated/max allocated)

    5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec

    (output omitted)

    BW 64 Kbit,

  • 8/9/2019 Mod_7 Basic Router Configuration

    42/44

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

    Login Banners

    show running config and

  • 8/9/2019 Mod_7 Basic Router Configuration

    43/44

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

    show running-config andshow startup-config Commands

    wg_ro_c#show startup-configUsing 1359 out of 32762 bytes!

    version 12.0!

    -- More --

    wg_ro_c#show running-configBuilding configuration...

    Current configuration:!

    version 12.0!

    -- More --

    In NVRAMIn RAM

    Displays the current and saved configuration

  • 8/9/2019 Mod_7 Basic Router Configuration

    44/44

    SYUKRON, THANKS, NUHUN,MATUR NUWUN

    Presented by: Team ASPRAK JARKOMPOLITEKNIK TELKOM