SlideShare ist ein Scribd-Unternehmen logo
1 von 46
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?

Eigrp and ospf comparison
Eigrp and ospf comparisonEigrp and ospf comparison
Eigrp and ospf comparisonDeepak Raj
 
CCNA ppt Day 7
CCNA ppt Day 7CCNA ppt Day 7
CCNA ppt Day 7VISHNU N
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracerAnabia Anabia
 
Ccna PPT2
Ccna PPT2Ccna PPT2
Ccna PPT2AIRTEL
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basicTapan Khilar
 
Packet Tracer Tutorial # 2
Packet Tracer Tutorial # 2Packet Tracer Tutorial # 2
Packet Tracer Tutorial # 2Abdul Basit
 
CCNA ppt Day 8
CCNA ppt Day 8CCNA ppt Day 8
CCNA ppt Day 8VISHNU N
 
CCNA ppt Day 5
CCNA ppt Day 5CCNA ppt Day 5
CCNA ppt Day 5VISHNU N
 
OSPF Internal Route Summarization
OSPF Internal Route SummarizationOSPF Internal Route Summarization
OSPF Internal Route SummarizationNetProtocol Xpert
 
Packet Tracer: Routing protocols EIGRP and OSPF
Packet Tracer: Routing protocols EIGRP and OSPFPacket Tracer: Routing protocols EIGRP and OSPF
Packet Tracer: Routing protocols EIGRP and OSPFRafat Khandaker
 
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERSDay 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERSanilinvns
 
Route Redistribution
Route RedistributionRoute Redistribution
Route RedistributionNetwax Lab
 
CCNA ppt Day 9
CCNA ppt Day 9CCNA ppt Day 9
CCNA ppt Day 9VISHNU N
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorialIT Tech
 
CCNA pptCCNA ppt Day 6
CCNA pptCCNA ppt Day 6CCNA pptCCNA ppt Day 6
CCNA pptCCNA ppt Day 6VISHNU N
 
Securing Switch Access
Securing Switch Access Securing Switch Access
Securing Switch Access Netwax Lab
 
Lab practice 1 configuring basic routing and switching (with answer)
Lab practice 1   configuring basic routing and switching (with answer) Lab practice 1   configuring basic routing and switching (with answer)
Lab practice 1 configuring basic routing and switching (with answer) Arz Sy
 

Was ist angesagt? (20)

Eigrp and ospf comparison
Eigrp and ospf comparisonEigrp and ospf comparison
Eigrp and ospf comparison
 
CCNA ppt Day 7
CCNA ppt Day 7CCNA ppt Day 7
CCNA ppt Day 7
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
Ccna PPT2
Ccna PPT2Ccna PPT2
Ccna PPT2
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basic
 
Packet Tracer Tutorial # 2
Packet Tracer Tutorial # 2Packet Tracer Tutorial # 2
Packet Tracer Tutorial # 2
 
CCNA ppt Day 8
CCNA ppt Day 8CCNA ppt Day 8
CCNA ppt Day 8
 
CCNA ppt Day 5
CCNA ppt Day 5CCNA ppt Day 5
CCNA ppt Day 5
 
OSPF Internal Route Summarization
OSPF Internal Route SummarizationOSPF Internal Route Summarization
OSPF Internal Route Summarization
 
Packet Tracer: Routing protocols EIGRP and OSPF
Packet Tracer: Routing protocols EIGRP and OSPFPacket Tracer: Routing protocols EIGRP and OSPF
Packet Tracer: Routing protocols EIGRP and OSPF
 
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERSDay 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
 
Ccnpswitch
CcnpswitchCcnpswitch
Ccnpswitch
 
Route Redistribution
Route RedistributionRoute Redistribution
Route Redistribution
 
CCNA ppt Day 9
CCNA ppt Day 9CCNA ppt Day 9
CCNA ppt Day 9
 
Router commands
Router commandsRouter commands
Router commands
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorial
 
CCNA pptCCNA ppt Day 6
CCNA pptCCNA ppt Day 6CCNA pptCCNA ppt Day 6
CCNA pptCCNA ppt Day 6
 
Securing Switch Access
Securing Switch Access Securing Switch Access
Securing Switch Access
 
Router commands
Router commandsRouter commands
Router commands
 
Lab practice 1 configuring basic routing and switching (with answer)
Lab practice 1   configuring basic routing and switching (with answer) Lab practice 1   configuring basic routing and switching (with answer)
Lab practice 1 configuring basic routing and switching (with answer)
 

Andere mochten auch

Lab routing protocols eigrp
Lab routing protocols eigrpLab routing protocols eigrp
Lab routing protocols eigrpzafar85
 
234821765 ccna-virtual-lab
234821765 ccna-virtual-lab234821765 ccna-virtual-lab
234821765 ccna-virtual-labITALTEL S.A.C
 
1000 Ccna Questions And Answers
1000 Ccna Questions And Answers1000 Ccna Questions And Answers
1000 Ccna Questions And AnswersCCNAResources
 
CCNA Router Startup and Configuration
CCNA Router Startup and ConfigurationCCNA Router Startup and Configuration
CCNA Router Startup and ConfigurationDsunte Wilson
 
CCNA Router and IOS Basics
CCNA Router and IOS BasicsCCNA Router and IOS Basics
CCNA Router and IOS BasicsDsunte Wilson
 
CCNA Advanced Routing Protocols
CCNA Advanced Routing ProtocolsCCNA Advanced Routing Protocols
CCNA Advanced Routing ProtocolsDsunte Wilson
 
Step by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet TracerStep by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet TracerSorath Asnani
 
Ccna new lab_manual_by_esp_team
Ccna new lab_manual_by_esp_teamCcna new lab_manual_by_esp_team
Ccna new lab_manual_by_esp_teamRaja Mazhar
 

Andere mochten auch (12)

Lab routing protocols eigrp
Lab routing protocols eigrpLab routing protocols eigrp
Lab routing protocols eigrp
 
CCNA Lab Guide
CCNA Lab GuideCCNA Lab Guide
CCNA Lab Guide
 
234821765 ccna-virtual-lab
234821765 ccna-virtual-lab234821765 ccna-virtual-lab
234821765 ccna-virtual-lab
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
1000 Ccna Questions And Answers
1000 Ccna Questions And Answers1000 Ccna Questions And Answers
1000 Ccna Questions And Answers
 
CCNA Router Startup and Configuration
CCNA Router Startup and ConfigurationCCNA Router Startup and Configuration
CCNA Router Startup and Configuration
 
CCNA Router and IOS Basics
CCNA Router and IOS BasicsCCNA Router and IOS Basics
CCNA Router and IOS Basics
 
CCNA Advanced Routing Protocols
CCNA Advanced Routing ProtocolsCCNA Advanced Routing Protocols
CCNA Advanced Routing Protocols
 
Ccna command
Ccna commandCcna command
Ccna command
 
Step by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet TracerStep by Step guide to set up a simple network in Packet Tracer
Step by Step guide to set up a simple network in Packet Tracer
 
lab1
lab1lab1
lab1
 
Ccna new lab_manual_by_esp_team
Ccna new lab_manual_by_esp_teamCcna new lab_manual_by_esp_team
Ccna new lab_manual_by_esp_team
 

Ähnlich wie INTRODUCTION TO IOS AND CISCO 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.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
 
General lab documentation~cisco router configuration
General lab documentation~cisco router configurationGeneral lab documentation~cisco router configuration
General lab documentation~cisco router configurationsayedatif
 
Chapter4ccna
Chapter4ccnaChapter4ccna
Chapter4ccnarobertoxe
 
01 ip oc180 e1_1 zxr10 m6000_t8000 basic operation (v1.00.20)
01 ip oc180 e1_1 zxr10 m6000_t8000 basic operation (v1.00.20)01 ip oc180 e1_1 zxr10 m6000_t8000 basic operation (v1.00.20)
01 ip oc180 e1_1 zxr10 m6000_t8000 basic operation (v1.00.20)legasu zemene
 

Ähnlich wie INTRODUCTION TO IOS AND CISCO 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
 
CCNA presentation.
CCNA presentation.CCNA presentation.
CCNA presentation.
 
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.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)
 
Basics to Configure NW Device
Basics to Configure NW DeviceBasics to Configure NW Device
Basics to Configure NW Device
 
Basic about-router
Basic about-routerBasic about-router
Basic about-router
 
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
 
Chapter4ccna
Chapter4ccnaChapter4ccna
Chapter4ccna
 
Chapter4ccna
Chapter4ccnaChapter4ccna
Chapter4ccna
 
01 ip oc180 e1_1 zxr10 m6000_t8000 basic operation (v1.00.20)
01 ip oc180 e1_1 zxr10 m6000_t8000 basic operation (v1.00.20)01 ip oc180 e1_1 zxr10 m6000_t8000 basic operation (v1.00.20)
01 ip oc180 e1_1 zxr10 m6000_t8000 basic operation (v1.00.20)
 

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
 
LAYER 2 SWITCHING
LAYER 2 SWITCHINGLAYER 2 SWITCHING
LAYER 2 SWITCHINGanilinvns
 
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 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
 
Cyber forensic 1
Cyber forensic 1Cyber forensic 1
Cyber forensic 1anilinvns
 

Mehr von anilinvns (16)

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
 
LAYER 2 SWITCHING
LAYER 2 SWITCHINGLAYER 2 SWITCHING
LAYER 2 SWITCHING
 
IP ROUTING
IP ROUTINGIP ROUTING
IP ROUTING
 
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 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
 
Cyber forensic 1
Cyber forensic 1Cyber forensic 1
Cyber forensic 1
 

Kürzlich hochgeladen

Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxAnupam32727
 
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
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptxAneriPatwari
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
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
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfChristalin Nelson
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Celine George
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 

Kürzlich hochgeladen (20)

Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.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
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptx
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.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
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdf
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 

INTRODUCTION TO IOS AND CISCO 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