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

Weitere ähnliche Inhalte

Was ist angesagt?

Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorial
IT Tech
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
Anabia Anabia
 
Router configuration
Router configurationRouter configuration
Router configuration
97148881557
 

Was ist angesagt? (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)
 

Ähnlich wie Manage CISCO IOS

Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccna
robertoxe
 
introduction-to-cisco-routers.ppt
introduction-to-cisco-routers.pptintroduction-to-cisco-routers.ppt
introduction-to-cisco-routers.ppt
RobelTsada
 
CCNA Router Startup and Configuration
CCNA Router Startup and ConfigurationCCNA Router Startup and Configuration
CCNA Router Startup and Configuration
Dsunte Wilson
 

Ähnlich wie 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
 

Mehr von anilinvns

Day 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOSDay 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOS
anilinvns
 
Disk management server
Disk management serverDisk management server
Disk management server
anilinvns
 
Windows 2008 basics
Windows 2008 basicsWindows 2008 basics
Windows 2008 basics
anilinvns
 
Cyber forensic 1
Cyber forensic 1Cyber forensic 1
Cyber forensic 1
anilinvns
 

Mehr von 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
 

Kürzlich hochgeladen

Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 

Kürzlich hochgeladen (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
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
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
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
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
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 ...
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 

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)