SlideShare une entreprise Scribd logo
1  sur  14
MANAGING CISCO IOS
By
Anil Kumar Vishwakarma
MCA,MCTS,CCNA
OVERVIEW
 The router boot sequence
 Locating IOS software
 The configuration register
 Recovering Passwords
 Backing Up the Cisco IOS
 Restoring or Upgrading the Cisco Router IOS
 Backing Up Router Configuration
 Restoring Router Configuration
 Cisco Discovery Protocol (CDP)
ROUTER BOOT SEQUENCE
1. The router performs a POST. The POST tests the hardware to
verify that all components of the device are operational and
present. For example, the POST checks for the different interfaces
on the router. The POST is stored in and run from ROM (read-only
memory)
2. The bootstrap looks for and loads the Cisco IOS software. The
bootstrap is a program in ROM that is used to execute programs.
The bootstrap program is responsible for finding where each IOS
program is located and then loading the file. By default, the IOS
software is loaded from flash memory in all Cisco routers.
3. The IOS software looks for a valid configuration file stored in
NVRAM. This file is called startup-config and is only there if an
administrator copies the running-config file into NVRAM.
4. If a startup-config file is in NVRAM, the router will load and run this
file. The router is now operational. If a startup-config file is not in
NVRAM, the router will start the setup-mode configuration upon
bootup.
LOCATING IOS SOFTWARE
CONFIGURATION REGISTER
 It is 16-bit software register that’s written into NVRAM.
 Used to control how the router boots up.
 The default configuration setting on Cisco routers is 0x2102.
 To know what is the current value of configuration register, use show
version command.
 You can change the default value by using this command.
 Router(config)#config-register 0x2142
 Notice that bit 6 can be used to ignore the NVRAM contents. If it is enabled.
RECOVERING PASSWORDS
Here are the main steps to password recovery:
1. Interrupting the Router Boot Sequence by pressing the Ctrl+Break
key combination when using HyperTerminal and while the router first
reboots. The command prompt will be like that.
rommon 1 >
2. Changing the Configuration Register to ignore NVRAM contents by
using this command
rommon 1 > confreg 0x2142
3. Reloading the Router and Entering Privileged Mode by this
command
rommon 1 > reset
The router will reload and ask if you want to use setup mode answer
NO.
4. Copy startup-config to running-config in Privileged Mode by using
this command
Router#copy start run
RECOVERING PASSWORDS
5. Change password by setting new password
Router#conf t
Router(config)#enable secret kkkk
6. Change the value of configuration register to enable NVRAM contents
Router(config)#config-register 0x2102
7. Save your work
Router#copy run start
8. Reload router to activate changing of configuration register
Router#reload
BACKING UP THE CISCO IOS
 Before you upgrade or restore a Cisco IOS, you really should copy
the existing file to a TFTP or FTP host as a backup just in case the
new image crashes and burns.
 To back up the Cisco IOS to a TFTP server, you use this command
Router#copy flash FTP OR
Router#copy flash TFTP
 This command requires only the source filename and the IP address
of the TFTP or FTP server.
 You can get the source filename by using Show flash command.
 The key to success in this backup routine is to make sure that you’ve
got good, solid connectivity to the TFTP server. Check this by pinging
the device from the router.
Router#ping FTP_server
RESTORING OR UPGRADING ROUTER IOS
 You can download the file from a TFTP or FTP server to flash memory
by this command
Router#copy FTP flash
 This command requires the IP address of the FTP server and the name
of the file you want to download.
 You are prompted to make sure that you really want to proceed with
erasing flash memory.
BACKING UP ROUTER CONFIGURATION
 To copy the router’s configuration from a router to a FTP server, you can
use these commands.
Router#copy run FTP
Router#copy start FTP
 Copying the Current Configuration to NVRAM
Router#copy run start
RESTORING ROUTER CONFIGURATION
 If you did copy the router’s configuration to a TFTP server
as a second backup, you can restore the configuration
Router#copy tftp run
 This command ask you about FTP_IP address, Source
filename and destination filename.
CISCO DISCOVERY PROTOCOL
 CDP is a proprietary protocol designed by Cisco to help administrators
collect information about both locally attached and remote devices.
 By using CDP, you can gather hardware and protocol information about
neighbor devices, which is useful info for troubleshooting and
documenting the network.
 The show cdp command gives you information about two CDP global
parameters that can be configured on Cisco devices:
how often CDP packets are transmitted to all
active interfaces.
CDP timer
the amount of time that the device will hold
packets received from neighbor devices.
CDP holdtime
Router#sh cdp
Global CDP information:
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
 Use the global commands cdp holdtime and cdp timer to configure the CDP
holdtime and timer on a router:
Router(config)#cdp timer 90
Router(config)#cdp holdtime 240
 Gathering Neighbor Information by using this command Router#sh
cdp nei
 Gathering Interface Traffic Information including the number of CDP packets
sent and received and the errors with CDP.
Router#sh cdp traffic
 Gathering Port and Interface Information including CDP status on router
interfaces or switch ports.
Router#sh cdp interface
 To turn off CDP on one interface on a router,
Router(config)#int s0
Router(config-if)#no cdp enable
CISCO DISCOVERY PROTOCOL (CDP)
Thank You

Contenu connexe

Tendances

Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorialIT Tech
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracerAnabia Anabia
 
CCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsCCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsEng. Emad Al-Atoum
 
CCNA ppt Day 7
CCNA ppt Day 7CCNA ppt Day 7
CCNA ppt Day 7VISHNU N
 
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
 
CCNA ppt Day 8
CCNA ppt Day 8CCNA ppt Day 8
CCNA ppt Day 8VISHNU N
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Netwax Lab
 
IOS Cisco - Cheat sheets
IOS Cisco - Cheat sheetsIOS Cisco - Cheat sheets
IOS Cisco - Cheat sheetsAlejandro Marin
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracerAnabia Anabia
 
CCNA ppt Day 5
CCNA ppt Day 5CCNA ppt Day 5
CCNA ppt Day 5VISHNU N
 
Router configuration
Router configurationRouter configuration
Router configuration97148881557
 
Packet Tracer Tutorial # 2
Packet Tracer Tutorial # 2Packet Tracer Tutorial # 2
Packet Tracer Tutorial # 2Abdul Basit
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environmentscooby_doo
 
Chapter 17 : static routing
Chapter 17 : static routingChapter 17 : static routing
Chapter 17 : static routingteknetir
 
Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)DH Da Lat
 

Tendances (20)

Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorial
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
Router commands
Router commandsRouter commands
Router commands
 
Router commands
Router commandsRouter commands
Router commands
 
CCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsCCNA - Routing & Switching Commands
CCNA - Routing & Switching Commands
 
Ccna day2
Ccna day2Ccna day2
Ccna day2
 
CCNA ppt Day 7
CCNA ppt Day 7CCNA ppt Day 7
CCNA ppt Day 7
 
Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccna
 
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
 
CCNA ppt Day 8
CCNA ppt Day 8CCNA ppt Day 8
CCNA ppt Day 8
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)
 
IOS Cisco - Cheat sheets
IOS Cisco - Cheat sheetsIOS Cisco - Cheat sheets
IOS Cisco - Cheat sheets
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
CCNA ppt Day 5
CCNA ppt Day 5CCNA ppt Day 5
CCNA ppt Day 5
 
Router configuration
Router configurationRouter configuration
Router configuration
 
Packet Tracer Tutorial # 2
Packet Tracer Tutorial # 2Packet Tracer Tutorial # 2
Packet Tracer Tutorial # 2
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environment
 
Chapter 17 : static routing
Chapter 17 : static routingChapter 17 : static routing
Chapter 17 : static routing
 
Basic Configurations on Router
Basic Configurations on RouterBasic Configurations on Router
Basic Configurations on Router
 
Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)
 

Similaire à Manage CISCO IOS

Similaire à Manage CISCO IOS (20)

Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccna
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccna
 
CCNA complete.ppt
CCNA complete.pptCCNA complete.ppt
CCNA complete.ppt
 
C C N A Day2
C C N A  Day2C C N A  Day2
C C N A Day2
 
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
 
Ccna day2
Ccna day2Ccna day2
Ccna day2
 
Ccna 2
Ccna 2Ccna 2
Ccna 2
 
Ccna day2
Ccna day2Ccna day2
Ccna day2
 
Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02
 
Ccna day2
Ccna day2Ccna day2
Ccna day2
 
Managing cisco internetwork
Managing cisco internetworkManaging cisco internetwork
Managing cisco internetwork
 
General lab documentation~cisco router configuration
General lab documentation~cisco router configurationGeneral lab documentation~cisco router configuration
General lab documentation~cisco router configuration
 
Cisco ios-cont
Cisco ios-contCisco ios-cont
Cisco ios-cont
 
Cisco Ios advanced
Cisco Ios advancedCisco Ios advanced
Cisco Ios advanced
 
Mod11
Mod11Mod11
Mod11
 
CCNA Router Startup and Configuration
CCNA Router Startup and ConfigurationCCNA Router Startup and Configuration
CCNA Router Startup and Configuration
 
lab1
lab1lab1
lab1
 
Chapter 07
Chapter 07Chapter 07
Chapter 07
 

Plus de 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 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
 
Cyber forensic 1
Cyber forensic 1Cyber forensic 1
Cyber forensic 1anilinvns
 

Plus de anilinvns (17)

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 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
 
Cyber forensic 1
Cyber forensic 1Cyber forensic 1
Cyber forensic 1
 

Dernier

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 

Dernier (20)

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

Manage CISCO IOS

  • 1. MANAGING CISCO IOS By Anil Kumar Vishwakarma MCA,MCTS,CCNA
  • 2. OVERVIEW  The router boot sequence  Locating IOS software  The configuration register  Recovering Passwords  Backing Up the Cisco IOS  Restoring or Upgrading the Cisco Router IOS  Backing Up Router Configuration  Restoring Router Configuration  Cisco Discovery Protocol (CDP)
  • 3. ROUTER BOOT SEQUENCE 1. The router performs a POST. The POST tests the hardware to verify that all components of the device are operational and present. For example, the POST checks for the different interfaces on the router. The POST is stored in and run from ROM (read-only memory) 2. The bootstrap looks for and loads the Cisco IOS software. The bootstrap is a program in ROM that is used to execute programs. The bootstrap program is responsible for finding where each IOS program is located and then loading the file. By default, the IOS software is loaded from flash memory in all Cisco routers. 3. The IOS software looks for a valid configuration file stored in NVRAM. This file is called startup-config and is only there if an administrator copies the running-config file into NVRAM. 4. If a startup-config file is in NVRAM, the router will load and run this file. The router is now operational. If a startup-config file is not in NVRAM, the router will start the setup-mode configuration upon bootup.
  • 5. CONFIGURATION REGISTER  It is 16-bit software register that’s written into NVRAM.  Used to control how the router boots up.  The default configuration setting on Cisco routers is 0x2102.  To know what is the current value of configuration register, use show version command.  You can change the default value by using this command.  Router(config)#config-register 0x2142  Notice that bit 6 can be used to ignore the NVRAM contents. If it is enabled.
  • 6. RECOVERING PASSWORDS Here are the main steps to password recovery: 1. Interrupting the Router Boot Sequence by pressing the Ctrl+Break key combination when using HyperTerminal and while the router first reboots. The command prompt will be like that. rommon 1 > 2. Changing the Configuration Register to ignore NVRAM contents by using this command rommon 1 > confreg 0x2142 3. Reloading the Router and Entering Privileged Mode by this command rommon 1 > reset The router will reload and ask if you want to use setup mode answer NO. 4. Copy startup-config to running-config in Privileged Mode by using this command Router#copy start run
  • 7. RECOVERING PASSWORDS 5. Change password by setting new password Router#conf t Router(config)#enable secret kkkk 6. Change the value of configuration register to enable NVRAM contents Router(config)#config-register 0x2102 7. Save your work Router#copy run start 8. Reload router to activate changing of configuration register Router#reload
  • 8. BACKING UP THE CISCO IOS  Before you upgrade or restore a Cisco IOS, you really should copy the existing file to a TFTP or FTP host as a backup just in case the new image crashes and burns.  To back up the Cisco IOS to a TFTP server, you use this command Router#copy flash FTP OR Router#copy flash TFTP  This command requires only the source filename and the IP address of the TFTP or FTP server.  You can get the source filename by using Show flash command.  The key to success in this backup routine is to make sure that you’ve got good, solid connectivity to the TFTP server. Check this by pinging the device from the router. Router#ping FTP_server
  • 9. RESTORING OR UPGRADING ROUTER IOS  You can download the file from a TFTP or FTP server to flash memory by this command Router#copy FTP flash  This command requires the IP address of the FTP server and the name of the file you want to download.  You are prompted to make sure that you really want to proceed with erasing flash memory.
  • 10. BACKING UP ROUTER CONFIGURATION  To copy the router’s configuration from a router to a FTP server, you can use these commands. Router#copy run FTP Router#copy start FTP  Copying the Current Configuration to NVRAM Router#copy run start
  • 11. RESTORING ROUTER CONFIGURATION  If you did copy the router’s configuration to a TFTP server as a second backup, you can restore the configuration Router#copy tftp run  This command ask you about FTP_IP address, Source filename and destination filename.
  • 12. CISCO DISCOVERY PROTOCOL  CDP is a proprietary protocol designed by Cisco to help administrators collect information about both locally attached and remote devices.  By using CDP, you can gather hardware and protocol information about neighbor devices, which is useful info for troubleshooting and documenting the network.  The show cdp command gives you information about two CDP global parameters that can be configured on Cisco devices: how often CDP packets are transmitted to all active interfaces. CDP timer the amount of time that the device will hold packets received from neighbor devices. CDP holdtime Router#sh cdp Global CDP information: Sending CDP packets every 60 seconds Sending a holdtime value of 180 seconds
  • 13.  Use the global commands cdp holdtime and cdp timer to configure the CDP holdtime and timer on a router: Router(config)#cdp timer 90 Router(config)#cdp holdtime 240  Gathering Neighbor Information by using this command Router#sh cdp nei  Gathering Interface Traffic Information including the number of CDP packets sent and received and the errors with CDP. Router#sh cdp traffic  Gathering Port and Interface Information including CDP status on router interfaces or switch ports. Router#sh cdp interface  To turn off CDP on one interface on a router, Router(config)#int s0 Router(config-if)#no cdp enable CISCO DISCOVERY PROTOCOL (CDP)