SlideShare a Scribd company logo
1 of 11
Download to read offline
Cisco Router Configuration Tutorial

Cisco Inter-network Operating System:


Cisco IOS Modes of Operation

The Cisco IOS software provides access to several different command modes.
Each command mode provides a different group of related commands.

For security purposes, the Cisco IOS software provides two levels of access to
commands: user and privileged. The unprivileged user mode is called user EXEC
mode. The privileged mode is called privileged EXEC mode and requires a
password. The commands available in user EXEC mode are a subset of the
commands available in privileged EXEC mode.

The following table describes some of the most commonly used modes, how to
enter the modes, and the resulting prompts. The prompt helps you identify which
mode you are in and, therefore, which commands are available to you


Mode of             Usage                       How to Enter the        Prompt
Operation                                       Mode
User EXEC           Change terminal             First level accessed.   Router>
                    settings on a temporary
                    basis, perform basic
                    tests, and list system
                    information.
Privileged EXEC     System administration,      From user EXEC          Router#
                    set operating               mode, enter enable
                    parameters.                 password command
Global Config       Modify configuration that   From privileged         Router(config)#
                    affect the system as a      EXEC, enter
                    whole.                      configure terminal.
Interface Config    Modify the operation of     From global mode,       Router(config-if)#
                    an interface.               enter interface type
                                                number.
Setup               Create the initial          From privileged EXEC    Prompted dialog
                    configuration.              mode, enter
                                                command setup.
User EXEC Mode:

When you are connected to the router, you are started in user EXEC mode. The
user EXEC commands are a subset of the privileged EXEC commands.

Privileged EXEC Mode:

Privileged commands include the following:
          • Configure – Changes the software configuration.
          • Debug – Display process and hardware event messages.
          • Setup – Enter configuration information at the prompts.

Enter the command disable to exit from the privileged EXEC mode and return to
user EXEC mode.

Configuration Mode

Configuration mode has a set of submodes that you use for modifying interface
settings, routing protocol settings, line settings, and so forth. Use caution with
configuration mode because all changes you enter take effect immediately.

To enter configuration mode, enter the command configure terminal and exit by
pressing Ctrl-Z.

Note:
Almost every configuration command also has a no form. In general, use the no
form to disable a feature or function. Use the command without the keyword no
to re-enable a disabled feature or to enable a feature that is disabled by default.
For example, IP routing is enabled by default. To disable IP routing, enter the no
ip routing command and enter ip routing to re-enable it.
Getting Help
In any command mode, you can get a list of available commands by entering a
question mark (?).
       Router>?

To obtain a list of commands that begin with a particular character sequence,
type in those characters followed immediately by the question mark (?).

      Router#co?
      configure connect copy

To list keywords or arguments, enter a question mark in place of a keyword or
argument. Include a space before the question mark.

      Router#configure ?
      memory      Configure from NV memory
      network     Configure from a TFTP network host
      terminal    Configure from the terminal

You can also abbreviate commands and keywords by entering just enough
characters to make the command unique from other commands. For example,
you can abbreviate the show command to sh.
Configuration Files
Any time you make changes to the router configuration, you must save the
changes to memory because if you do not they will be lost if there is a system
reload or power outage. There are two types of configuration files: the running
(current operating) configuration and the startup configuration.

Use the following privileged mode commands to work with configuration files.
          • configure terminal – modify the running configuration manually
              from the terminal.
          • show running-config – display the running configuration.
          • show startup-config – display the startup configuration.
          • copy running-config startup-config – copy the running
              configuration to the startup configuration.
          • copy startup-config running-config – copy the startup
              configuration to the running configuration.
          • erase startup-config – erase the startup-configuration in NVRAM.
          • copy tftp running-config – load a configuration file stored on a
              Trivial File Transfer Protocol (TFTP) server into the running
              configuration.
          • copy running-config tftp – store the running configuration on a
              TFTP server.
IP Address Configuration
Take the following steps to configure the IP address of an interface.

Step 1: Enter privileged EXEC mode:
              Router>enable password

Step 2: Enter the configure terminal command to enter global configuration
mode.
              Router#config terminal

Step 3: Enter the interface type slot/port (for Cisco 7000 series) or interface
type port (for Cisco 2500 series) to enter the interface configuration mode.
      Example:
               Router (config)#interface ethernet 0/1

Step 4: Enter the IP address and subnet mask of the interface using the ip
address ipaddress subnetmask command.
      Example,
              Router (config-if)#ip address 192.168.10.1 255.255.255.0

Step 5: Exit the configuration mode by pressing Ctrl-Z
               Router(config-if)#[Ctrl-Z]
Routing Protocol Configuration

Routing Information Protocol (RIP)
Step 1: Enter privileged EXEC mode:
              Router>enable password

Step 2: Enter the configure terminal command to enter global configuration
mode.
              Router#config terminal

Step 3: Enter the router rip command
              Router(config)#router rip

Step 4: Add the network number to use RIP and repeat this step for all the
numbers.
             Router(config-router)#network network-number

             Example: Router(config-router)#network 192.168.10.0

Note: To turn off RIP, use the no router rip command.
              Router(config)#no router rip

Other useful commands

•   Specify a RIP Version

By default, the software receives RIP version 1 and version 2 packets, but sends
only version 1 packets. To control which RIP version an interface sends, use one
of the following commands in interface configuration mode:


            Command                 Purpose
            ip rip send version 1   Configure an interface to send only RIP
                                    version 1 packets.
            ip rip send version 2   Configure an interface to send only RIP
                                    version 2 packets.
            ip rip send version 1   Configure an interface to send only RIP
            2                       version 1 and version 2 packets.


To control how packets received from an interface are processed, use one of the
following commands:
Command                     Purpose
            ip rip receive version 1    Configure an interface to accept only
                                        RIP version 1 packets.
            ip rip receive version 2    Configure an interface to accept only
                                        RIP version 2 packets
            ip rip receive version 1    Configure an interface to accept only
            2                           RIP version 1 or 2 packets.


•   Enable or Disable Split Horizon

Use one of the following commands in interface configuration mode:


             Command               Purpose
             ip split-horizon      Enable split horizon.
             no ip split-horizon   Disable split horizon.



Open Shortest Path First (OSPF)
Step 1: Enter privileged EXEC mode:
              Router>enable password

Step 2: Enter the configure terminal command to enter global configuration
mode.
              Router#config terminal

Step 3: Enter the router ospf command and follow by the process-id.
              Router(config)#router ospf process-id

              Pick the process-id which is not being used. To determine what ids
              are being used, issue the show process command.
              Router(config)#show process

Step 4: Add the network number, mask and area-id
             Router(config-router)#network network-number mask area area-id

The network-number identifies the network using OSPF. The mask tells which
bits to use from the network-number, and the area-id is used for determining
areas in an OSPF configuration.

       Example:
              Router(config-router)#network 192.168.10.0 255.255.255.0 area
       0.0.0.0
Repeat this step for all the network numbers.

      To turn off OSPF, use the following command.
             Router(config)#no router ospf process-id

Other useful commands

• Configure OSPF Interface Parameters
You are not required to alter any of these parameters, but some interface
parameters must be consistent across all routers in an attached network.
In interface configuration mode, specify any of the following:

          Command                        Purpose
          ip ospf cost cost              Explicitly specify the cost of sending a
                                         packet on an OSPF interface.
          ip ospf retransmit-interval    Specify the number of seconds between
          seconds                        link state advertisement retransmissions
                                         for adjacencies belonging to an OSPF
                                         interface.
          ip ospf transmit-delay         Set the estimated number of seconds it
          seconds                        takes to transmit a link state update
                                         packet on an OSPF interface.
          ip ospf priority number        Set router priority to help determine the
                                         OSPF designated router for a network.
          ip ospf hello-interval         Specify the length of time, in seconds,
          seconds                        between the hello packets that a router
                                         sends on an OSPF interface.
          ip ospf dead-interval          Set the number of seconds that a
          seconds                        router’s hello packets must not have
                                         been seen before its neighbors declare
                                         the OSPF router down.
          ip ospf authentication-key     Assign a specific password to be used
          password                       by neighboring OSPF routers on a
                                         network segment that is using OSPF’s
                                         simple password authentication.


Interior Gateway Routing Protocol (IGRP)

• Create the IGRP Routing Process
To create the IGRP routing process, use the following required commands
starting in global configuration mode.
Step   Command                  Purpose
          1      router igrp              Enable an IGRP routing process, which
                 autonomous-system        place you in router configuration mode.
          2      network network-         Associate networks with an IGRP
                 number                   routing process.


• Disable Holddown
The holddown mechanism is used to help avoid routing loop in the network, but
has the effect of increasing the topology convergence time.

To disable holddowns with IGRP, use the following command in router
configuration mode. All devices in an IGRP autonomous system must be
consistent in their use of holddowns.

          Command                              Purpose
          No metric holddown                   Disable the IGRP holddown
                                               period.

• Enforce a Maximum Network Diameter
Define a maximum diameter to the IGRP network. Routes whose hop counts
exceed this diameter are not advertised. The default maximum diameter is 100
hops. The maximum diameter is 255 hops.

Use the following command in router configuration mode.

          Command                     Purpose
          metric maximum-hops         Configure the maximum network
          hops                        diameter.

•   To turn off IGRP, use the following command.
               Router(config)#no router igrp autonomous-system


Border Gateway Protocol (BGP)

• Enable BGP Routing
Use the following commands in global configuration mode.

          Step Command                            Purpose
          1    router bgp autonomous-             Enable a BGP routing
               system                             process, which places you in
                                                  router configuration mode.
          2      network network-number           Flag a network as local to this
                 [mask network-mask] [route-      autonomous system and enter
                 map route-map-name]              it to the BGP table.
• Configure BGP Neighbors
BGP must completely understand the relationships it has with its neighbors.

          Command                             Purpose
          neighbor {ip-address | peer-        Specify a BGP neighbor.
          group-name} remote-as number

• Reset BGP Connections
Use either of the following commands in EXEC mode to reset BGP connections

          Command                             Purpose
          clear ip bgp address                Reset a particular BGP
                                              connection.
          clear ip bgp *                      Reset all BGP connections.


•   To turn off BGP, use the following command.
           Router(config)#no router bgp autonomous-system
How to read router/link status

Status of router and links can be easily determined by power LED of router and
link LED of each interface (if any). However, you may find a transceiver
connected to an AUI port looks like the following:




When this transceiver is correctly connected, the “POWER” LED should light.
Similarly, the “LINK” and “POLARITY” LEDs should light when you inserted the
cable into the RJ45 socket on the transceiver. (Note that to get this result; the
other end of the cable should be connected to some other devices as well.) If
these LEDs are not light, you probably have problems with the link (cable).

More Related Content

What's hot

Cis81 ccna1v5-2-configuring networkoperatingsystem
Cis81 ccna1v5-2-configuring networkoperatingsystemCis81 ccna1v5-2-configuring networkoperatingsystem
Cis81 ccna1v5-2-configuring networkoperatingsystemBetselove
 
operating and configuring cisco a cisco IOS device
operating and configuring cisco a cisco IOS deviceoperating and configuring cisco a cisco IOS device
operating and configuring cisco a cisco IOS devicescooby_doo
 
Ncat ccna cheat sheet
Ncat ccna cheat sheetNcat ccna cheat sheet
Ncat ccna cheat sheetEZREIG OMAR
 
Chapter 03 - Router Oper
Chapter 03 - Router OperChapter 03 - Router Oper
Chapter 03 - Router Operphanleson
 
Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Netwax Lab
 
CCNA at a glance
CCNA at a glanceCCNA at a glance
CCNA at a glanceVikas Raut
 
Introduction to-cisco-routers
Introduction to-cisco-routersIntroduction to-cisco-routers
Introduction to-cisco-routers97148881557
 
Chapter 04 - Router Conf
Chapter 04 - Router ConfChapter 04 - Router Conf
Chapter 04 - Router Confphanleson
 
Manage CISCO IOS
Manage CISCO IOSManage CISCO IOS
Manage CISCO IOSanilinvns
 
Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccnarobertoxe
 
The bryant advantage 150 commands
The bryant advantage 150 commandsThe bryant advantage 150 commands
The bryant advantage 150 commandsAreej Khasawneh
 
How to configure cisco router password
How to configure cisco router passwordHow to configure cisco router password
How to configure cisco router passwordIT Tech
 

What's hot (17)

Cis81 ccna1v5-2-configuring networkoperatingsystem
Cis81 ccna1v5-2-configuring networkoperatingsystemCis81 ccna1v5-2-configuring networkoperatingsystem
Cis81 ccna1v5-2-configuring networkoperatingsystem
 
operating and configuring cisco a cisco IOS device
operating and configuring cisco a cisco IOS deviceoperating and configuring cisco a cisco IOS device
operating and configuring cisco a cisco IOS device
 
Ncat ccna cheat sheet
Ncat ccna cheat sheetNcat ccna cheat sheet
Ncat ccna cheat sheet
 
Chapter 03 - Router Oper
Chapter 03 - Router OperChapter 03 - Router Oper
Chapter 03 - Router Oper
 
Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)
 
ccna cheat_sheet
ccna cheat_sheetccna cheat_sheet
ccna cheat_sheet
 
CCNA at a glance
CCNA at a glanceCCNA at a glance
CCNA at a glance
 
Introduction to-cisco-routers
Introduction to-cisco-routersIntroduction to-cisco-routers
Introduction to-cisco-routers
 
Ciscointro
CiscointroCiscointro
Ciscointro
 
Chapter 04 - Router Conf
Chapter 04 - Router ConfChapter 04 - Router Conf
Chapter 04 - Router Conf
 
Manage CISCO IOS
Manage CISCO IOSManage CISCO IOS
Manage CISCO IOS
 
Modes of router
Modes of routerModes of router
Modes of router
 
Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccna
 
The bryant advantage 150 commands
The bryant advantage 150 commandsThe bryant advantage 150 commands
The bryant advantage 150 commands
 
How to configure cisco router password
How to configure cisco router passwordHow to configure cisco router password
How to configure cisco router password
 
Day 13 2 switch config
Day 13 2 switch configDay 13 2 switch config
Day 13 2 switch config
 
Session 1
Session 1Session 1
Session 1
 

Viewers also liked

El sindrome metabolico
El sindrome metabolicoEl sindrome metabolico
El sindrome metabolicoDeiber Pinzon
 
Rotary straightening
Rotary straighteningRotary straightening
Rotary straighteningmachikaz
 
NCPEA 2012 The Future As We See It
NCPEA 2012 The Future As We See ItNCPEA 2012 The Future As We See It
NCPEA 2012 The Future As We See ItDr. Daniel Eadens
 
Faculty-Librarian Partnership: A Collaborative Initiative at Al Akhawayn Univ...
Faculty-Librarian Partnership: A Collaborative Initiative at Al Akhawayn Univ...Faculty-Librarian Partnership: A Collaborative Initiative at Al Akhawayn Univ...
Faculty-Librarian Partnership: A Collaborative Initiative at Al Akhawayn Univ...Aziz EL Hassani
 
Pays Adour Landes Océanes - Journée d'accueil commun des agents saisonniers d...
Pays Adour Landes Océanes - Journée d'accueil commun des agents saisonniers d...Pays Adour Landes Océanes - Journée d'accueil commun des agents saisonniers d...
Pays Adour Landes Océanes - Journée d'accueil commun des agents saisonniers d...MONA
 
Pays Adour Landes Océanes - Journée d'accueil commune des saisonniers - 3 jui...
Pays Adour Landes Océanes - Journée d'accueil commune des saisonniers - 3 jui...Pays Adour Landes Océanes - Journée d'accueil commune des saisonniers - 3 jui...
Pays Adour Landes Océanes - Journée d'accueil commune des saisonniers - 3 jui...MONA
 
Introduction to the library of congress classification system aziz el hassan...
Introduction to the library of congress classification system  aziz el hassan...Introduction to the library of congress classification system  aziz el hassan...
Introduction to the library of congress classification system aziz el hassan...Aziz EL Hassani
 
MOPA et GIHP Aquitaine - Formation 8 et 9 novembre 2012 - les différents type...
MOPA et GIHP Aquitaine - Formation 8 et 9 novembre 2012 - les différents type...MOPA et GIHP Aquitaine - Formation 8 et 9 novembre 2012 - les différents type...
MOPA et GIHP Aquitaine - Formation 8 et 9 novembre 2012 - les différents type...MONA
 
Qualité tourisme à l'Office de tourisme de Bourg-en-Gironde - Stéphanie Ballo...
Qualité tourisme à l'Office de tourisme de Bourg-en-Gironde - Stéphanie Ballo...Qualité tourisme à l'Office de tourisme de Bourg-en-Gironde - Stéphanie Ballo...
Qualité tourisme à l'Office de tourisme de Bourg-en-Gironde - Stéphanie Ballo...MONA
 
Casting procedure & defects
Casting procedure & defectsCasting procedure & defects
Casting procedure & defectsBhanu Chandar
 
A brief introduction to bipolar i and bipolar ii disorder
A brief introduction to bipolar i and bipolar ii disorder A brief introduction to bipolar i and bipolar ii disorder
A brief introduction to bipolar i and bipolar ii disorder Wayne Macfadden
 
Le management par l'évaluation - Denis Dupouy - AG MOPA 190312
Le management par l'évaluation - Denis Dupouy - AG MOPA 190312Le management par l'évaluation - Denis Dupouy - AG MOPA 190312
Le management par l'évaluation - Denis Dupouy - AG MOPA 190312MONA
 

Viewers also liked (16)

El sindrome metabolico
El sindrome metabolicoEl sindrome metabolico
El sindrome metabolico
 
Rotary straightening
Rotary straighteningRotary straightening
Rotary straightening
 
Partitioning 11g-whitepaper-159443
Partitioning 11g-whitepaper-159443Partitioning 11g-whitepaper-159443
Partitioning 11g-whitepaper-159443
 
NCPEA 2012 The Future As We See It
NCPEA 2012 The Future As We See ItNCPEA 2012 The Future As We See It
NCPEA 2012 The Future As We See It
 
Proposal rizky
Proposal rizkyProposal rizky
Proposal rizky
 
Faculty-Librarian Partnership: A Collaborative Initiative at Al Akhawayn Univ...
Faculty-Librarian Partnership: A Collaborative Initiative at Al Akhawayn Univ...Faculty-Librarian Partnership: A Collaborative Initiative at Al Akhawayn Univ...
Faculty-Librarian Partnership: A Collaborative Initiative at Al Akhawayn Univ...
 
EBSCOHost & JSTOR
EBSCOHost & JSTOREBSCOHost & JSTOR
EBSCOHost & JSTOR
 
Pays Adour Landes Océanes - Journée d'accueil commun des agents saisonniers d...
Pays Adour Landes Océanes - Journée d'accueil commun des agents saisonniers d...Pays Adour Landes Océanes - Journée d'accueil commun des agents saisonniers d...
Pays Adour Landes Océanes - Journée d'accueil commun des agents saisonniers d...
 
Pays Adour Landes Océanes - Journée d'accueil commune des saisonniers - 3 jui...
Pays Adour Landes Océanes - Journée d'accueil commune des saisonniers - 3 jui...Pays Adour Landes Océanes - Journée d'accueil commune des saisonniers - 3 jui...
Pays Adour Landes Océanes - Journée d'accueil commune des saisonniers - 3 jui...
 
Introduction to the library of congress classification system aziz el hassan...
Introduction to the library of congress classification system  aziz el hassan...Introduction to the library of congress classification system  aziz el hassan...
Introduction to the library of congress classification system aziz el hassan...
 
MOPA et GIHP Aquitaine - Formation 8 et 9 novembre 2012 - les différents type...
MOPA et GIHP Aquitaine - Formation 8 et 9 novembre 2012 - les différents type...MOPA et GIHP Aquitaine - Formation 8 et 9 novembre 2012 - les différents type...
MOPA et GIHP Aquitaine - Formation 8 et 9 novembre 2012 - les différents type...
 
Qualité tourisme à l'Office de tourisme de Bourg-en-Gironde - Stéphanie Ballo...
Qualité tourisme à l'Office de tourisme de Bourg-en-Gironde - Stéphanie Ballo...Qualité tourisme à l'Office de tourisme de Bourg-en-Gironde - Stéphanie Ballo...
Qualité tourisme à l'Office de tourisme de Bourg-en-Gironde - Stéphanie Ballo...
 
Casting procedure & defects
Casting procedure & defectsCasting procedure & defects
Casting procedure & defects
 
A brief introduction to bipolar i and bipolar ii disorder
A brief introduction to bipolar i and bipolar ii disorder A brief introduction to bipolar i and bipolar ii disorder
A brief introduction to bipolar i and bipolar ii disorder
 
On the placebo effect
On the placebo effectOn the placebo effect
On the placebo effect
 
Le management par l'évaluation - Denis Dupouy - AG MOPA 190312
Le management par l'évaluation - Denis Dupouy - AG MOPA 190312Le management par l'évaluation - Denis Dupouy - AG MOPA 190312
Le management par l'évaluation - Denis Dupouy - AG MOPA 190312
 

Similar to Cisco config

General lab documentation~cisco router configuration
General lab documentation~cisco router configurationGeneral lab documentation~cisco router configuration
General lab documentation~cisco router configurationsayedatif
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorialIT Tech
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Netwax Lab
 
Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02Sachin Morya
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_configarjuntrk
 
Ccna PPT2
Ccna PPT2Ccna PPT2
Ccna PPT2AIRTEL
 
cisco ccna cheat_sheet
cisco ccna cheat_sheetcisco ccna cheat_sheet
cisco ccna cheat_sheetGuntaka Reddy
 
Cisco Certified Network Associate (CCNA) - R&S - Semester 2 Notes
Cisco Certified Network Associate (CCNA) - R&S - Semester 2 NotesCisco Certified Network Associate (CCNA) - R&S - Semester 2 Notes
Cisco Certified Network Associate (CCNA) - R&S - Semester 2 NotesAhmed Gad
 
10 Command Line quan trọng để giao tiếp với Cisco IOs
10 Command Line quan trọng để giao tiếp với Cisco IOs10 Command Line quan trọng để giao tiếp với Cisco IOs
10 Command Line quan trọng để giao tiếp với Cisco IOsNhóc Nhóc
 
CCNA ppt Day 4
CCNA ppt Day 4CCNA ppt Day 4
CCNA ppt Day 4VISHNU N
 
Routing protocol commands list
Routing protocol commands listRouting protocol commands list
Routing protocol commands listactsupport .com
 
Routing information protocol & rip configuration
Routing information protocol & rip configurationRouting information protocol & rip configuration
Routing information protocol & rip configuration3Anetwork com
 

Similar to Cisco config (20)

General lab documentation~cisco router configuration
General lab documentation~cisco router configurationGeneral lab documentation~cisco router configuration
General lab documentation~cisco router configuration
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorial
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)
 
CCNA presentation.
CCNA presentation.CCNA presentation.
CCNA presentation.
 
CCNA ALL IN ONE
CCNA ALL IN ONE CCNA ALL IN ONE
CCNA ALL IN ONE
 
Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
Manejo de redes
Manejo de redesManejo de redes
Manejo de redes
 
C C N A Day2
C C N A  Day2C C N A  Day2
C C N A Day2
 
Ccna day2
Ccna day2Ccna day2
Ccna day2
 
Ccna PPT2
Ccna PPT2Ccna PPT2
Ccna PPT2
 
lab1
lab1lab1
lab1
 
cisco ccna cheat_sheet
cisco ccna cheat_sheetcisco ccna cheat_sheet
cisco ccna cheat_sheet
 
Cisco Commands
Cisco CommandsCisco Commands
Cisco Commands
 
Mod11
Mod11Mod11
Mod11
 
Cisco Certified Network Associate (CCNA) - R&S - Semester 2 Notes
Cisco Certified Network Associate (CCNA) - R&S - Semester 2 NotesCisco Certified Network Associate (CCNA) - R&S - Semester 2 Notes
Cisco Certified Network Associate (CCNA) - R&S - Semester 2 Notes
 
10 Command Line quan trọng để giao tiếp với Cisco IOs
10 Command Line quan trọng để giao tiếp với Cisco IOs10 Command Line quan trọng để giao tiếp với Cisco IOs
10 Command Line quan trọng để giao tiếp với Cisco IOs
 
CCNA ppt Day 4
CCNA ppt Day 4CCNA ppt Day 4
CCNA ppt Day 4
 
Routing protocol commands list
Routing protocol commands listRouting protocol commands list
Routing protocol commands list
 
Routing information protocol & rip configuration
Routing information protocol & rip configurationRouting information protocol & rip configuration
Routing information protocol & rip configuration
 

Recently uploaded

MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 

Recently uploaded (20)

MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 

Cisco config

  • 1. Cisco Router Configuration Tutorial Cisco Inter-network Operating System: Cisco IOS Modes of Operation The Cisco IOS software provides access to several different command modes. Each command mode provides a different group of related commands. For security purposes, the Cisco IOS software provides two levels of access to commands: user and privileged. The unprivileged user mode is called user EXEC mode. The privileged mode is called privileged EXEC mode and requires a password. The commands available in user EXEC mode are a subset of the commands available in privileged EXEC mode. The following table describes some of the most commonly used modes, how to enter the modes, and the resulting prompts. The prompt helps you identify which mode you are in and, therefore, which commands are available to you Mode of Usage How to Enter the Prompt Operation Mode User EXEC Change terminal First level accessed. Router> settings on a temporary basis, perform basic tests, and list system information. Privileged EXEC System administration, From user EXEC Router# set operating mode, enter enable parameters. password command Global Config Modify configuration that From privileged Router(config)# affect the system as a EXEC, enter whole. configure terminal. Interface Config Modify the operation of From global mode, Router(config-if)# an interface. enter interface type number. Setup Create the initial From privileged EXEC Prompted dialog configuration. mode, enter command setup.
  • 2. User EXEC Mode: When you are connected to the router, you are started in user EXEC mode. The user EXEC commands are a subset of the privileged EXEC commands. Privileged EXEC Mode: Privileged commands include the following: • Configure – Changes the software configuration. • Debug – Display process and hardware event messages. • Setup – Enter configuration information at the prompts. Enter the command disable to exit from the privileged EXEC mode and return to user EXEC mode. Configuration Mode Configuration mode has a set of submodes that you use for modifying interface settings, routing protocol settings, line settings, and so forth. Use caution with configuration mode because all changes you enter take effect immediately. To enter configuration mode, enter the command configure terminal and exit by pressing Ctrl-Z. Note: Almost every configuration command also has a no form. In general, use the no form to disable a feature or function. Use the command without the keyword no to re-enable a disabled feature or to enable a feature that is disabled by default. For example, IP routing is enabled by default. To disable IP routing, enter the no ip routing command and enter ip routing to re-enable it.
  • 3. Getting Help In any command mode, you can get a list of available commands by entering a question mark (?). Router>? To obtain a list of commands that begin with a particular character sequence, type in those characters followed immediately by the question mark (?). Router#co? configure connect copy To list keywords or arguments, enter a question mark in place of a keyword or argument. Include a space before the question mark. Router#configure ? memory Configure from NV memory network Configure from a TFTP network host terminal Configure from the terminal You can also abbreviate commands and keywords by entering just enough characters to make the command unique from other commands. For example, you can abbreviate the show command to sh.
  • 4. Configuration Files Any time you make changes to the router configuration, you must save the changes to memory because if you do not they will be lost if there is a system reload or power outage. There are two types of configuration files: the running (current operating) configuration and the startup configuration. Use the following privileged mode commands to work with configuration files. • configure terminal – modify the running configuration manually from the terminal. • show running-config – display the running configuration. • show startup-config – display the startup configuration. • copy running-config startup-config – copy the running configuration to the startup configuration. • copy startup-config running-config – copy the startup configuration to the running configuration. • erase startup-config – erase the startup-configuration in NVRAM. • copy tftp running-config – load a configuration file stored on a Trivial File Transfer Protocol (TFTP) server into the running configuration. • copy running-config tftp – store the running configuration on a TFTP server.
  • 5. IP Address Configuration Take the following steps to configure the IP address of an interface. Step 1: Enter privileged EXEC mode: Router>enable password Step 2: Enter the configure terminal command to enter global configuration mode. Router#config terminal Step 3: Enter the interface type slot/port (for Cisco 7000 series) or interface type port (for Cisco 2500 series) to enter the interface configuration mode. Example: Router (config)#interface ethernet 0/1 Step 4: Enter the IP address and subnet mask of the interface using the ip address ipaddress subnetmask command. Example, Router (config-if)#ip address 192.168.10.1 255.255.255.0 Step 5: Exit the configuration mode by pressing Ctrl-Z Router(config-if)#[Ctrl-Z]
  • 6. Routing Protocol Configuration Routing Information Protocol (RIP) Step 1: Enter privileged EXEC mode: Router>enable password Step 2: Enter the configure terminal command to enter global configuration mode. Router#config terminal Step 3: Enter the router rip command Router(config)#router rip Step 4: Add the network number to use RIP and repeat this step for all the numbers. Router(config-router)#network network-number Example: Router(config-router)#network 192.168.10.0 Note: To turn off RIP, use the no router rip command. Router(config)#no router rip Other useful commands • Specify a RIP Version By default, the software receives RIP version 1 and version 2 packets, but sends only version 1 packets. To control which RIP version an interface sends, use one of the following commands in interface configuration mode: Command Purpose ip rip send version 1 Configure an interface to send only RIP version 1 packets. ip rip send version 2 Configure an interface to send only RIP version 2 packets. ip rip send version 1 Configure an interface to send only RIP 2 version 1 and version 2 packets. To control how packets received from an interface are processed, use one of the following commands:
  • 7. Command Purpose ip rip receive version 1 Configure an interface to accept only RIP version 1 packets. ip rip receive version 2 Configure an interface to accept only RIP version 2 packets ip rip receive version 1 Configure an interface to accept only 2 RIP version 1 or 2 packets. • Enable or Disable Split Horizon Use one of the following commands in interface configuration mode: Command Purpose ip split-horizon Enable split horizon. no ip split-horizon Disable split horizon. Open Shortest Path First (OSPF) Step 1: Enter privileged EXEC mode: Router>enable password Step 2: Enter the configure terminal command to enter global configuration mode. Router#config terminal Step 3: Enter the router ospf command and follow by the process-id. Router(config)#router ospf process-id Pick the process-id which is not being used. To determine what ids are being used, issue the show process command. Router(config)#show process Step 4: Add the network number, mask and area-id Router(config-router)#network network-number mask area area-id The network-number identifies the network using OSPF. The mask tells which bits to use from the network-number, and the area-id is used for determining areas in an OSPF configuration. Example: Router(config-router)#network 192.168.10.0 255.255.255.0 area 0.0.0.0
  • 8. Repeat this step for all the network numbers. To turn off OSPF, use the following command. Router(config)#no router ospf process-id Other useful commands • Configure OSPF Interface Parameters You are not required to alter any of these parameters, but some interface parameters must be consistent across all routers in an attached network. In interface configuration mode, specify any of the following: Command Purpose ip ospf cost cost Explicitly specify the cost of sending a packet on an OSPF interface. ip ospf retransmit-interval Specify the number of seconds between seconds link state advertisement retransmissions for adjacencies belonging to an OSPF interface. ip ospf transmit-delay Set the estimated number of seconds it seconds takes to transmit a link state update packet on an OSPF interface. ip ospf priority number Set router priority to help determine the OSPF designated router for a network. ip ospf hello-interval Specify the length of time, in seconds, seconds between the hello packets that a router sends on an OSPF interface. ip ospf dead-interval Set the number of seconds that a seconds router’s hello packets must not have been seen before its neighbors declare the OSPF router down. ip ospf authentication-key Assign a specific password to be used password by neighboring OSPF routers on a network segment that is using OSPF’s simple password authentication. Interior Gateway Routing Protocol (IGRP) • Create the IGRP Routing Process To create the IGRP routing process, use the following required commands starting in global configuration mode.
  • 9. Step Command Purpose 1 router igrp Enable an IGRP routing process, which autonomous-system place you in router configuration mode. 2 network network- Associate networks with an IGRP number routing process. • Disable Holddown The holddown mechanism is used to help avoid routing loop in the network, but has the effect of increasing the topology convergence time. To disable holddowns with IGRP, use the following command in router configuration mode. All devices in an IGRP autonomous system must be consistent in their use of holddowns. Command Purpose No metric holddown Disable the IGRP holddown period. • Enforce a Maximum Network Diameter Define a maximum diameter to the IGRP network. Routes whose hop counts exceed this diameter are not advertised. The default maximum diameter is 100 hops. The maximum diameter is 255 hops. Use the following command in router configuration mode. Command Purpose metric maximum-hops Configure the maximum network hops diameter. • To turn off IGRP, use the following command. Router(config)#no router igrp autonomous-system Border Gateway Protocol (BGP) • Enable BGP Routing Use the following commands in global configuration mode. Step Command Purpose 1 router bgp autonomous- Enable a BGP routing system process, which places you in router configuration mode. 2 network network-number Flag a network as local to this [mask network-mask] [route- autonomous system and enter map route-map-name] it to the BGP table.
  • 10. • Configure BGP Neighbors BGP must completely understand the relationships it has with its neighbors. Command Purpose neighbor {ip-address | peer- Specify a BGP neighbor. group-name} remote-as number • Reset BGP Connections Use either of the following commands in EXEC mode to reset BGP connections Command Purpose clear ip bgp address Reset a particular BGP connection. clear ip bgp * Reset all BGP connections. • To turn off BGP, use the following command. Router(config)#no router bgp autonomous-system
  • 11. How to read router/link status Status of router and links can be easily determined by power LED of router and link LED of each interface (if any). However, you may find a transceiver connected to an AUI port looks like the following: When this transceiver is correctly connected, the “POWER” LED should light. Similarly, the “LINK” and “POLARITY” LEDs should light when you inserted the cable into the RJ45 socket on the transceiver. (Note that to get this result; the other end of the cable should be connected to some other devices as well.) If these LEDs are not light, you probably have problems with the link (cable).