Notes
Slide Show
Outline
1
Interconnecting Cisco Networking Devices
  • Module 7
  • Managing Cisco Devices
2
Overview
  • Internal Components of a Cisco Router
  • Router Boot Sequence
  • Managing the Configuration Register
    • Resetting Passwords
  • Backing up and Restoring the Cisco IOS
  • Backing up and Restoring Cisco Router Configurations
  • Using Cisco Discovery Protocol (CDP)
  • Building a Host Table
  • Using DNS to Resolve Names
  • Checking Network Connectivity
3
Internal Components
4
Router Boot Sequence
  • Router performs a POST
  • Bootstrap locates the IOS software
  • IOS looks for valid configuration in NVRAM
  • If located, it will load and run this file, otherwise it starts the setup program


5
Configuration Register
  • 0x2102 indicates a normal boot
  • 0x2142 indicates a boot ignoring the NVRAM (startup-config)
  • show version to check the current value
  • Router(config)# config-register 0x2142
6
Resetting Passwords
  • Boot router and interrupt boot sequence w/ a break
  • Change the config register to 0x2142
    • > o/r 0x2142
  • Reload the router
    • > I
  • Enter Privileged Mode
    • Router> en
  • copy start run (merge start w/ run)
  • Change password
    • Router(config)# enable secret newpassword
  • Reset the config register to 0x2102
    • Router(config)# config-register 0x2102
  • copy run start (save the config)
  • Reload the router
    • Router# reload
7
Backing up and Restoring the IOS
  • Verify Flash Memory
    • Router# sh flash


  • Back up Cisco IOS
    • Router# ping 192.168.0.120
    • Router# copy flash tftp


  • Restore Cisco IOS
    • Router# ping 192.168.0.120
    • Router# copy tftp flash

8
Backing up and Restoring Configurations
  • Verify Configurations
    • Router# sh run
    • Router# sh start


  • Back up Cisco IOS
    • Router# ping 192.168.0.120
    • Router# copy run tftp


  • Restore Cisco IOS
    • Router# ping 192.168.0.120
    • Router# copy tftp run

9
Using Cisco Discovery Protocol (CDP)
  • Proprietary protocol designed to help administrators collect information about locally attached and remote devices
  • Independent of TCP/IP and routing
  • Router# sh cdp
    • Shows send timer and hold time
  • Router# sh cdp neighbors
    • Shows directly connected neighbors
  • Router# sh cdp neighbors detail
  • Router# sh cdp traffic
    • # of CDP packets sent and received and errors
  • Router# sh cdp interface
    • CDP status by interface
10
Disabling CDP
  • Disabling by interface
  • Router(config)# int s0
  • Router(config-if)# no cdp enable


  • Disabling for the whole router
  • Router(config)# no cdp run
11
Building a Host Table
  • Provides name resolution only on the router it was built upon.
  • Default port is 23 for telnet
  • Router(config)# ip host 1900switch 192.168.2.125


  • Router# sh hosts


  • Router# 1900switch (Opens telnet connection)


  • Router# sh sessions


  • Router# no ip host 1900switch
12
Using DNS to Resolve Names
  • Provides name resolution only for administrators logged into the router


  • Router(config)# ip domain-lookup
  • Router(config)# ip name-server 192.168.1.70
  • Router(config)# ip domain-name nhdc.com


  • Router# sh hosts
13
Checking Network Connectivity
  • Router# ping 192.168.1.5


  • Router# traceroute 192.168.1.5
14
Summary
  • Internal Components of a Cisco Router
  • Router Boot Sequence
  • Managing the Configuration Register
    • Resetting Passwords
  • Backing up and Restoring the Cisco IOS
  • Backing up and Restoring Cisco Router Configurations
  • Using Cisco Discovery Protocol (CDP)
  • Building a Host Table
  • Using DNS to Resolve Names
  • Checking Network Connectivity