SlideShare ist ein Scribd-Unternehmen logo
1 von 46
Downloaden Sie, um offline zu lesen
INTRODUCTION TO IOS
AND CISCO ROUTERS
By
Anil Kumar Vishwakarma
MCA,MCTS,CCNA
CISCO ROUTER IOS
oThe Cisco IOS (Internetwork Operating System) was
created to deliver network services and enable networked
applications. It runs on most Cisco routers.
oSome of the important things that the Cisco router IOS
software is responsible for include
o Carrying network protocols and functions.
o Connecting high-speed traffic between devices.
o Adding security to control access and stop unauthorized
network use.
o Supplying network reliability for connecting to network
resources.
CISCO ROUTER
 Router uses to connect: -
 Subnet with another Subnet (By LAN
Interface).
 LAN with another LAN (By WAN Interface).
 LAN with WAN (By WAN Interface).
 WAN with another WAN (By WAN Interface).
 Router Consist of External Components
(Interfaces) and Internal Components
INTERNAL COMPONENT
CONNECTING TO A CISCO ROUTER
 You can connect to a Cisco router to configure
it, verify its configuration, and check statistics.
 There are Three ways to do that: -
 Console Session.
 Auxiliary Session.
 Telnet Session can’t use this method after router has
taken valid IP address.
COMPUTER CONSOLE CONNECTION
MODEM CONNECTION
BRINGING UP A ROUTER
 When you first bring up a router, it will
takes this Boot Sequence: -
 Perform POST (Power On Self Test) which is
small program stored in ROM to check
router components.
 Load IOS image from Flash memory and
decompress it into RAM.
 Display the information from POST.
 Running Valid Configuration (Startup Conf).
 If no configuration router will go into Setup
mode.
MEMORY ARCHITECTURE
MEMORY TYPES
 RAM
 Used to store working tables as well as
running IOS image
 ROM
 Stores a bootable IOS image that provides
basic functionality as well as a barebones
interface called the ROM Monitor (ROMMON)
 Flash Memory
 Stores the full function IOS image and is the
default location for IOS at boot
 NVRAM
 Stores startup configuration file
MEMORY TYPES
RAM
(Working Memory)
Flash
(IOS)
ROM
(Basic IOS)
NVRAM
(Startup Config)
CONFIGURATION AND IOS
IMAGES
CONFIGURATION FILE
 The configuration is a text file that
contains configuration commands that are
executed at startup
 When the router boots a copy of the config
in NVRAM (startup-config) is executed to
establish the initial configuration
 Configuration commands entered while
the router is running are entered into the
temporary configuration stored in RAM
(running-config)
SAVING A CONFIGURATION
RAM
(Running-Config)
NVRAM
(Startup-Config)
Copy running-config startup-config
Copy startup-config running-config
Merged
Replaces
SYNTAX OF THE COPY COMMAND
Copy From-Location To-Location
Where:
From- and To-Location - {tftp|running-config|startup-config}
tftp – a trivial ftp server located somewhere on the network
ENTERING THE CONFIGURATION
 Setup Mode
 If no configuration exists when the router
boots, it enters setup mode
 Router hasn‟t been configured before
 Someone used the „Erase Startup-Config‟ then
rebooted
 NVRAM was damaged
 Setup mode is a question and answer process
that can be used to create basic configurations
 Command Line Interface (CLI)
 Configuration commands entered at command
prompt then saved to NVRAM
SETUP MODE
 Setup Mode allows configuration of:
 Interface summary
 Router hostname
 Passwords
 SNMP
 Various network protocols
 DECnet, Appletalk, IP, IPX
 Routing protocols
 Interfaces
 When finished setup mode gives the user
the option of copying the configuration to
NVRAM and RAM
VIEWING CONFIGURATIONS
Show {running-config|startup-config}
THE CLI AND GETTING HELP
COMMAND LINE INTERFACE
 Most Cisco devices use a command line
interface
 Commands can be entered and edited
before they are executed by hitting the
enter key
 Commands can be abbreviated as long as
they are not ambiguous
e.g. Show Interface => sh int
COMMAND LINE INTERFACE
 If a command has an error the command will be repeated
and a “^” will mark the location of the error
access-list 110 permit host 1.1.1.1
^
%Invalid input detected at „^‟ marker.
COMMAND HISTORY
 Up and Down arrows scroll through command history
 Also ctrl+p (up) and ctrl+n (down)
 Command history commands
 Show history – shows commands in history
 Show terminal – shows terminal configurations and terminal history
size (default = 10)
 Terminal history size – changes history buffer size up to a max of 256
GETTING HELP
 Typing ? at any point will cause IOS to show
what options exist at that point
 Just ? on a line will list all commands available in
that mode
 Typing one letter followed by ? will show all
commands that begin with the letter
 Adding ? after a command will show what arguments
are available for the command
CONNECTING TO THE ROUTER
CONNECTING TO THE ROUTER
 Console
 Connect directly to console port and use a terminal
program like Windows Hyperterminal or Linux‟s
Minicom
 AUX
 The auxiliary port is port you can attach a modem to
 Can also be used as a backup connection dial on
demand circuit
 TTY
 Can use Telnet to connect to TTY once router has
been configured initially
 Most routers have 5 TTY connections
IOS MODES
IOS MODES
User Mode
Router>
Privileged (Enable) Mode
Router#
disable enable
Telnet Aux Console
IOS CONFIGURATION MODES
Configuration Mode
Router(config)#
Privileged Mode
Router#
Config terminal
(config t)
Interface Configuration Mode
Router(config-if)#
Interface <interface>
(interface ethernet 0)
Router Configuration Mode
Router(config-router)#
Router <protocol>
(Router rip)
ROUTER INTERFACES
INTERFACES
 LANs
 Ethernet (Ethernet 0, E0, E1, etc.)
 FastEthernet (FastEthernet 0, F0, F1, etc.)
 Token Ring (TokenRing 0, TO0, TO1, etc.)
 WANs
 Serial 0, S0, S1, etc.
INTERFACES ON EXPANSION CARDS
 Interfaces on add in expansion cards include the
slot number followed by a slash then the
interface number
 The first FastEthernet interface on a card in the first
slot would be FastEthernet 0/0
 On 7500 series routers three values are required
(slot/port-adapter/port) so it would be
FastEthernet 0/0/0 for example
LOOPBACK INTERFACES
 Loopback interfaces are internal interfaces and
treated like other interfaces
 Loopback interfaces are never shutdown
 Loopback interfaces are useful when you need an
interface that will never go down
INTERFACE CONFIGURATION MODE
 Use the Interface command in configuration or
interface configuration mode to enter
configuration mode
 Router(config)#interface e0
 Router(config-if)#interface Lo0
 Router(config)#interface s0/1
BRINGING UP AN INTERFACE
 By default, all interfaces (except loopback
interfaces) are in administrative shutdown mode
 To activate the interface use the no shutdown
command in the interface configuration mode
ASSIGNING AN IP ADDRESS
 IP addresses are assigned in interface
configuration mode
Router#config t
Router(config)#interface s0
Router(config-if)#ip address 129.130.32.1 255.255.224.0
Router(config-if)#no shutdown
Router(config-if)#exit
SETTING THE CLOCK RATE
 On serial connections the DCE must set a
clock rate to synchronize communication
 In the lab the 2501 that is a router is a DCE
because the cable attached is a DCE cable so the
clock rate must be set on this router
 The 2501 that is a Frame Relay switch is also a
DCE but you do not configure this one
Router(config)#int s0
Router(config-if)#clockrate 2000000
SETTING THE SERIAL
ENCAPSULATION
 We‟ll discuss this in more detail later in the
semester but the data link layer protocol must be
set for the Frame Relay link using the
encapsulation command
Router(config)#interface s0
Router(config-if)#encapsulation frame-relay
PASSWORDS
PRIVILEGED MODE PASSWORDS
 Enable password
 Enable password <password>
 Enable password is shown in clear text
 Not used if enable secret password is set
 Enable secret password
 Enable secret <password>
 Enable secret password is encrypted
USER MODE PASSWORDS
 Console
Line console 0
Login
Password <password>
 Auxiliary
Line aux 0
Login
Password <password>
 Telnet
Line vty 0 4
Login
Password <password>
Enter configuration mode
Require login
Set password
Most routers have 5 telnet
lines. This command sets
all five.
ENCRYPTING PASSWORDS
 User mode passwords are normally stored
in the configuration file in clear text
 To encrypt them use the following
sequence of commands
service password-encryption
line console 0
login
password <password>
no service password-encryption
IOS COMMANDS TO KNOW
 Enable/disable
 Enable secret/password
 Config
 Editing commands
 Show history
 Show terminal
 Terminal history size
 Line
 How to require login and set password for
console, vty and aux
IOS COMMANDS TO KNOW
 Service password-encryption
 Banner
 Interface
 Shutdown
 Know the interfaces commands for ethernet,
fast ethernet, serial, token ring and loopback
 Description
 Hostname
 Show running/startup-config
 Copy <running-config/startup-config,tftp>
<running-config/startup-config,tftp>
IOS COMMANDS TO KNOW
 Show interface
 Show controllers
 Clock rate
 Ip address
 Show Version
 Show flash
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Hot standby router protocol (hsrp) using
Hot standby router protocol (hsrp) usingHot standby router protocol (hsrp) using
Hot standby router protocol (hsrp) usingShubhiGupta94
 
CCNA Routing Protocols
CCNA Routing ProtocolsCCNA Routing Protocols
CCNA Routing ProtocolsDsunte Wilson
 
Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)welcometofacebook
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4Nil Menon
 
CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1Chaing Ravuth
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basicTapan Khilar
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information ProtocolKashif Latif
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic ConfigurationProf. Erwin Globio
 
CCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansCCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansVuz Dở Hơi
 
CCNA 2 Routing and Switching v5.0 Chapter 5
CCNA 2 Routing and Switching v5.0 Chapter 5CCNA 2 Routing and Switching v5.0 Chapter 5
CCNA 2 Routing and Switching v5.0 Chapter 5Nil Menon
 
CCNA 2 Routing and Switching v5.0 Chapter 1
CCNA 2 Routing and Switching v5.0 Chapter 1CCNA 2 Routing and Switching v5.0 Chapter 1
CCNA 2 Routing and Switching v5.0 Chapter 1Nil Menon
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP AddressingKushal Sheth
 
STP (spanning tree protocol)
STP (spanning tree protocol)STP (spanning tree protocol)
STP (spanning tree protocol)Netwax Lab
 
CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7Nil Menon
 
Presentation on ccna
Presentation on ccnaPresentation on ccna
Presentation on ccnaHoneyKumar34
 

Was ist angesagt? (20)

Hot standby router protocol (hsrp) using
Hot standby router protocol (hsrp) usingHot standby router protocol (hsrp) using
Hot standby router protocol (hsrp) using
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
CCNA Routing Protocols
CCNA Routing ProtocolsCCNA Routing Protocols
CCNA Routing Protocols
 
Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)Layer 2 switching fundamentals(networking)
Layer 2 switching fundamentals(networking)
 
CCNA ppt
CCNA pptCCNA ppt
CCNA ppt
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4
 
CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basic
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
 
CCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansCCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 Vlans
 
CCNA 2 Routing and Switching v5.0 Chapter 5
CCNA 2 Routing and Switching v5.0 Chapter 5CCNA 2 Routing and Switching v5.0 Chapter 5
CCNA 2 Routing and Switching v5.0 Chapter 5
 
CCNA 2 Routing and Switching v5.0 Chapter 1
CCNA 2 Routing and Switching v5.0 Chapter 1CCNA 2 Routing and Switching v5.0 Chapter 1
CCNA 2 Routing and Switching v5.0 Chapter 1
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
 
STP (spanning tree protocol)
STP (spanning tree protocol)STP (spanning tree protocol)
STP (spanning tree protocol)
 
ccna networking ppt
ccna networking pptccna networking ppt
ccna networking ppt
 
HSRP ccna
HSRP ccna HSRP ccna
HSRP ccna
 
OSPF v3
OSPF v3OSPF v3
OSPF v3
 
CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7
 
Presentation on ccna
Presentation on ccnaPresentation on ccna
Presentation on ccna
 

Ähnlich wie Introduction to Cisco IOS and Routers

Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Netwax Lab
 
CCNA at a glance
CCNA at a glanceCCNA at a glance
CCNA at a glanceVikas Raut
 
Cis81 ccna1v5-2-configuring networkoperatingsystem
Cis81 ccna1v5-2-configuring networkoperatingsystemCis81 ccna1v5-2-configuring networkoperatingsystem
Cis81 ccna1v5-2-configuring networkoperatingsystemBetselove
 
introduction-to-cisco-routers basic .ppt
introduction-to-cisco-routers basic .pptintroduction-to-cisco-routers basic .ppt
introduction-to-cisco-routers basic .pptnazeem1977
 
introduction-to-cisco-routers.ppt
introduction-to-cisco-routers.pptintroduction-to-cisco-routers.ppt
introduction-to-cisco-routers.pptRobelTsada
 
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 configuracion y comandos
Ccna configuracion y comandosCcna configuracion y comandos
Ccna configuracion y comandosAlfonso Saucedo
 
Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Netwax Lab
 
Basic about-router
Basic about-routerBasic about-router
Basic about-routersaurabh goel
 
CCNA ppt Day 4
CCNA ppt Day 4CCNA ppt Day 4
CCNA ppt Day 4VISHNU N
 
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
 

Ähnlich wie Introduction to Cisco IOS and Routers (20)

OSWAN.pptx
OSWAN.pptxOSWAN.pptx
OSWAN.pptx
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)
 
CCNA at a glance
CCNA at a glanceCCNA at a glance
CCNA at a glance
 
Mod11
Mod11Mod11
Mod11
 
Cis81 ccna1v5-2-configuring networkoperatingsystem
Cis81 ccna1v5-2-configuring networkoperatingsystemCis81 ccna1v5-2-configuring networkoperatingsystem
Cis81 ccna1v5-2-configuring networkoperatingsystem
 
introduction-to-cisco-routers basic .ppt
introduction-to-cisco-routers basic .pptintroduction-to-cisco-routers basic .ppt
introduction-to-cisco-routers basic .ppt
 
introduction-to-cisco-routers.ppt
introduction-to-cisco-routers.pptintroduction-to-cisco-routers.ppt
introduction-to-cisco-routers.ppt
 
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 configuracion y comandos
Ccna configuracion y comandosCcna configuracion y comandos
Ccna configuracion y comandos
 
Ccna command
Ccna commandCcna command
Ccna command
 
CCNA ALL IN ONE
CCNA ALL IN ONE CCNA ALL IN ONE
CCNA ALL IN ONE
 
C C N A Day2
C C N A  Day2C C N A  Day2
C C N A Day2
 
Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)
 
Basic about-router
Basic about-routerBasic about-router
Basic about-router
 
CCNA ppt Day 4
CCNA ppt Day 4CCNA ppt Day 4
CCNA ppt Day 4
 
Basics to Configure NW Device
Basics to Configure NW DeviceBasics to Configure NW Device
Basics to Configure NW Device
 
Chapter 07
Chapter 07Chapter 07
Chapter 07
 
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
 
Chapter4ccna
Chapter4ccnaChapter4ccna
Chapter4ccna
 

Mehr von anilinvns

Data center maintenance
Data center maintenanceData center maintenance
Data center maintenanceanilinvns
 
Windows Server 2012
Windows Server 2012Windows Server 2012
Windows Server 2012anilinvns
 
Windows Server 2008 Active Directory
Windows Server 2008 Active DirectoryWindows Server 2008 Active Directory
Windows Server 2008 Active Directoryanilinvns
 
Booting Process OS
Booting Process OSBooting Process OS
Booting Process OSanilinvns
 
Network forensics and investigating logs
Network forensics and investigating logsNetwork forensics and investigating logs
Network forensics and investigating logsanilinvns
 
Password Policy and Account Lockout Policies
Password Policy and Account Lockout PoliciesPassword Policy and Account Lockout Policies
Password Policy and Account Lockout Policiesanilinvns
 
VIRTUAL LANS
VIRTUAL LANSVIRTUAL LANS
VIRTUAL LANSanilinvns
 
LAYER 2 SWITCHING
LAYER 2 SWITCHINGLAYER 2 SWITCHING
LAYER 2 SWITCHINGanilinvns
 
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)anilinvns
 
INTRODUCTION TO IOS AND CISCO ROUTERS
INTRODUCTION TO IOS AND CISCO ROUTERSINTRODUCTION TO IOS AND CISCO ROUTERS
INTRODUCTION TO IOS AND CISCO ROUTERSanilinvns
 
Manage CISCO IOS
Manage CISCO IOSManage CISCO IOS
Manage CISCO IOSanilinvns
 
Day 5 VIRTUAL LANS
Day 5 VIRTUAL LANSDay 5 VIRTUAL LANS
Day 5 VIRTUAL LANSanilinvns
 
Day 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGDay 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGanilinvns
 
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)anilinvns
 
Day 2 IP ROUTING
Day 2 IP ROUTINGDay 2 IP ROUTING
Day 2 IP ROUTINGanilinvns
 
Day 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOSDay 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOSanilinvns
 
Disk management server
Disk management serverDisk management server
Disk management serveranilinvns
 
Windows 2008 basics
Windows 2008 basicsWindows 2008 basics
Windows 2008 basicsanilinvns
 

Mehr von anilinvns (20)

Data center maintenance
Data center maintenanceData center maintenance
Data center maintenance
 
Windows Server 2012
Windows Server 2012Windows Server 2012
Windows Server 2012
 
Windows Server 2008 Active Directory
Windows Server 2008 Active DirectoryWindows Server 2008 Active Directory
Windows Server 2008 Active Directory
 
Booting Process OS
Booting Process OSBooting Process OS
Booting Process OS
 
Network forensics and investigating logs
Network forensics and investigating logsNetwork forensics and investigating logs
Network forensics and investigating logs
 
Password Policy and Account Lockout Policies
Password Policy and Account Lockout PoliciesPassword Policy and Account Lockout Policies
Password Policy and Account Lockout Policies
 
VIRTUAL LANS
VIRTUAL LANSVIRTUAL LANS
VIRTUAL LANS
 
LAYER 2 SWITCHING
LAYER 2 SWITCHINGLAYER 2 SWITCHING
LAYER 2 SWITCHING
 
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
 
IP ROUTING
IP ROUTINGIP ROUTING
IP ROUTING
 
INTRODUCTION TO IOS AND CISCO ROUTERS
INTRODUCTION TO IOS AND CISCO ROUTERSINTRODUCTION TO IOS AND CISCO ROUTERS
INTRODUCTION TO IOS AND CISCO ROUTERS
 
Manage CISCO IOS
Manage CISCO IOSManage CISCO IOS
Manage CISCO IOS
 
Day 5 VIRTUAL LANS
Day 5 VIRTUAL LANSDay 5 VIRTUAL LANS
Day 5 VIRTUAL LANS
 
Day 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGDay 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHING
 
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
 
Day 2 IP ROUTING
Day 2 IP ROUTINGDay 2 IP ROUTING
Day 2 IP ROUTING
 
Day 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOSDay 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOS
 
Wds
WdsWds
Wds
 
Disk management server
Disk management serverDisk management server
Disk management server
 
Windows 2008 basics
Windows 2008 basicsWindows 2008 basics
Windows 2008 basics
 

Kürzlich hochgeladen

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Kürzlich hochgeladen (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Introduction to Cisco IOS and Routers

  • 1. INTRODUCTION TO IOS AND CISCO ROUTERS By Anil Kumar Vishwakarma MCA,MCTS,CCNA
  • 2. CISCO ROUTER IOS oThe Cisco IOS (Internetwork Operating System) was created to deliver network services and enable networked applications. It runs on most Cisco routers. oSome of the important things that the Cisco router IOS software is responsible for include o Carrying network protocols and functions. o Connecting high-speed traffic between devices. o Adding security to control access and stop unauthorized network use. o Supplying network reliability for connecting to network resources.
  • 3. CISCO ROUTER  Router uses to connect: -  Subnet with another Subnet (By LAN Interface).  LAN with another LAN (By WAN Interface).  LAN with WAN (By WAN Interface).  WAN with another WAN (By WAN Interface).  Router Consist of External Components (Interfaces) and Internal Components
  • 4.
  • 6. CONNECTING TO A CISCO ROUTER  You can connect to a Cisco router to configure it, verify its configuration, and check statistics.  There are Three ways to do that: -  Console Session.  Auxiliary Session.  Telnet Session can’t use this method after router has taken valid IP address.
  • 9. BRINGING UP A ROUTER  When you first bring up a router, it will takes this Boot Sequence: -  Perform POST (Power On Self Test) which is small program stored in ROM to check router components.  Load IOS image from Flash memory and decompress it into RAM.  Display the information from POST.  Running Valid Configuration (Startup Conf).  If no configuration router will go into Setup mode.
  • 11. MEMORY TYPES  RAM  Used to store working tables as well as running IOS image  ROM  Stores a bootable IOS image that provides basic functionality as well as a barebones interface called the ROM Monitor (ROMMON)  Flash Memory  Stores the full function IOS image and is the default location for IOS at boot  NVRAM  Stores startup configuration file
  • 14. CONFIGURATION FILE  The configuration is a text file that contains configuration commands that are executed at startup  When the router boots a copy of the config in NVRAM (startup-config) is executed to establish the initial configuration  Configuration commands entered while the router is running are entered into the temporary configuration stored in RAM (running-config)
  • 15. SAVING A CONFIGURATION RAM (Running-Config) NVRAM (Startup-Config) Copy running-config startup-config Copy startup-config running-config Merged Replaces
  • 16. SYNTAX OF THE COPY COMMAND Copy From-Location To-Location Where: From- and To-Location - {tftp|running-config|startup-config} tftp – a trivial ftp server located somewhere on the network
  • 17. ENTERING THE CONFIGURATION  Setup Mode  If no configuration exists when the router boots, it enters setup mode  Router hasn‟t been configured before  Someone used the „Erase Startup-Config‟ then rebooted  NVRAM was damaged  Setup mode is a question and answer process that can be used to create basic configurations  Command Line Interface (CLI)  Configuration commands entered at command prompt then saved to NVRAM
  • 18. SETUP MODE  Setup Mode allows configuration of:  Interface summary  Router hostname  Passwords  SNMP  Various network protocols  DECnet, Appletalk, IP, IPX  Routing protocols  Interfaces  When finished setup mode gives the user the option of copying the configuration to NVRAM and RAM
  • 20. THE CLI AND GETTING HELP
  • 21. COMMAND LINE INTERFACE  Most Cisco devices use a command line interface  Commands can be entered and edited before they are executed by hitting the enter key  Commands can be abbreviated as long as they are not ambiguous e.g. Show Interface => sh int
  • 22. COMMAND LINE INTERFACE  If a command has an error the command will be repeated and a “^” will mark the location of the error access-list 110 permit host 1.1.1.1 ^ %Invalid input detected at „^‟ marker.
  • 23. COMMAND HISTORY  Up and Down arrows scroll through command history  Also ctrl+p (up) and ctrl+n (down)  Command history commands  Show history – shows commands in history  Show terminal – shows terminal configurations and terminal history size (default = 10)  Terminal history size – changes history buffer size up to a max of 256
  • 24. GETTING HELP  Typing ? at any point will cause IOS to show what options exist at that point  Just ? on a line will list all commands available in that mode  Typing one letter followed by ? will show all commands that begin with the letter  Adding ? after a command will show what arguments are available for the command
  • 26. CONNECTING TO THE ROUTER  Console  Connect directly to console port and use a terminal program like Windows Hyperterminal or Linux‟s Minicom  AUX  The auxiliary port is port you can attach a modem to  Can also be used as a backup connection dial on demand circuit  TTY  Can use Telnet to connect to TTY once router has been configured initially  Most routers have 5 TTY connections
  • 28. IOS MODES User Mode Router> Privileged (Enable) Mode Router# disable enable Telnet Aux Console
  • 29. IOS CONFIGURATION MODES Configuration Mode Router(config)# Privileged Mode Router# Config terminal (config t) Interface Configuration Mode Router(config-if)# Interface <interface> (interface ethernet 0) Router Configuration Mode Router(config-router)# Router <protocol> (Router rip)
  • 31. INTERFACES  LANs  Ethernet (Ethernet 0, E0, E1, etc.)  FastEthernet (FastEthernet 0, F0, F1, etc.)  Token Ring (TokenRing 0, TO0, TO1, etc.)  WANs  Serial 0, S0, S1, etc.
  • 32. INTERFACES ON EXPANSION CARDS  Interfaces on add in expansion cards include the slot number followed by a slash then the interface number  The first FastEthernet interface on a card in the first slot would be FastEthernet 0/0  On 7500 series routers three values are required (slot/port-adapter/port) so it would be FastEthernet 0/0/0 for example
  • 33. LOOPBACK INTERFACES  Loopback interfaces are internal interfaces and treated like other interfaces  Loopback interfaces are never shutdown  Loopback interfaces are useful when you need an interface that will never go down
  • 34. INTERFACE CONFIGURATION MODE  Use the Interface command in configuration or interface configuration mode to enter configuration mode  Router(config)#interface e0  Router(config-if)#interface Lo0  Router(config)#interface s0/1
  • 35. BRINGING UP AN INTERFACE  By default, all interfaces (except loopback interfaces) are in administrative shutdown mode  To activate the interface use the no shutdown command in the interface configuration mode
  • 36. ASSIGNING AN IP ADDRESS  IP addresses are assigned in interface configuration mode Router#config t Router(config)#interface s0 Router(config-if)#ip address 129.130.32.1 255.255.224.0 Router(config-if)#no shutdown Router(config-if)#exit
  • 37. SETTING THE CLOCK RATE  On serial connections the DCE must set a clock rate to synchronize communication  In the lab the 2501 that is a router is a DCE because the cable attached is a DCE cable so the clock rate must be set on this router  The 2501 that is a Frame Relay switch is also a DCE but you do not configure this one Router(config)#int s0 Router(config-if)#clockrate 2000000
  • 38. SETTING THE SERIAL ENCAPSULATION  We‟ll discuss this in more detail later in the semester but the data link layer protocol must be set for the Frame Relay link using the encapsulation command Router(config)#interface s0 Router(config-if)#encapsulation frame-relay
  • 40. PRIVILEGED MODE PASSWORDS  Enable password  Enable password <password>  Enable password is shown in clear text  Not used if enable secret password is set  Enable secret password  Enable secret <password>  Enable secret password is encrypted
  • 41. USER MODE PASSWORDS  Console Line console 0 Login Password <password>  Auxiliary Line aux 0 Login Password <password>  Telnet Line vty 0 4 Login Password <password> Enter configuration mode Require login Set password Most routers have 5 telnet lines. This command sets all five.
  • 42. ENCRYPTING PASSWORDS  User mode passwords are normally stored in the configuration file in clear text  To encrypt them use the following sequence of commands service password-encryption line console 0 login password <password> no service password-encryption
  • 43. IOS COMMANDS TO KNOW  Enable/disable  Enable secret/password  Config  Editing commands  Show history  Show terminal  Terminal history size  Line  How to require login and set password for console, vty and aux
  • 44. IOS COMMANDS TO KNOW  Service password-encryption  Banner  Interface  Shutdown  Know the interfaces commands for ethernet, fast ethernet, serial, token ring and loopback  Description  Hostname  Show running/startup-config  Copy <running-config/startup-config,tftp> <running-config/startup-config,tftp>
  • 45. IOS COMMANDS TO KNOW  Show interface  Show controllers  Clock rate  Ip address  Show Version  Show flash