Configuring Routers: A Guide to Router Configuration and Management, Lecture notes of Computer Networks

Comprises of 12 modules plus 3 special modules. Learn Router and Routing Basics, and introduction to Ethical Hacking.

Typology: Lecture notes

2021/2022

Available from 06/18/2022

vernonde
vernonde 🇵🇭

13 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
All slides are customized by Engr. Vernon Degala. For educational purposes only.All slides are customized by Engr. Vernon Degala. For educational purposes only.
Module 3: Configuring a Router
inspired by Cisco Networking Academy
Computer Networks and Security
CCNA 2: Routers and Routing Basics
ORIGINAL COPY
All slides are customized by Engr. Vernon Degala. For educational purposes only.
pf3
pf4
pf5

Partial preview of the text

Download Configuring Routers: A Guide to Router Configuration and Management and more Lecture notes Computer Networks in PDF only on Docsity!

All slides are customized by Engr. Vernon Degala. For educational purposes only.All slides are customized by Engr. Vernon Degala. For educational purposes only.

Module 3: Configuring a Router

inspired by Cisco Networking Academy Computer Networks and Security CCNA 2: Routers and Routing Basics

ORIGINAL COPY

All slides are customized by Engr. Vernon Degala. For educational purposes only.

Overview

Some commands

• To go back a level - type exit

• To return to privileged EXEC mode – Press Ctrl-Z

• To execute a command – Press Enter / Return

• Enter privileged EXEC mode – Router > enable

• Enter global configuration mode – Router#configure terminal

• Enter hostname – Router(config)#hostname Tokyo

• Return to configuration mode: Tokyo(config)#exit then Tokyo#

All slides are customized by Engr. Vernon Degala. For educational purposes only.

Show commands

  • Router# Show?
    • To display all show commands
  • Router#show interfaces
    • Displays statistics for all router interfaces
  • Router#show interfaces serial 0/
    • Displays statistics for serial 0/1 interface only
  • Router#show controllers serial
    • Displays information-specific to the interface hardware
  • Router#show clock
    • Shows the time set in the router
      • Router#show hosts
        • Displays a cached list of host names and addresses
      • Router#show users
        • Displays all users who are connected to the router
      • Router#show history
        • Displays a history of commands that were entered
      • Router#show flash
        • Displays information about flash memory
        • Displays what IOS files are stored there
      • Router#show protocol
        • Displays status of any configured Layer 3 protocols
      • Router#show startup-configuration
        • Displays the saved configuration in NVRAM
      • Router#show running-configuration
        • Displays the configuration currently running in RAM

Configuring Serial and Ethernet Ports

• Both can be configured from console port or through a virtual terminal line (telnet)

Enter global configuration mode Router#config t Enter interface serial mode Router(config)#int s0/ Specify the interface ip address and subnet mask Router(config-if)#ip address If DCE cable set clock rate and bandwidth (not DTE) Router(config-if)#clock rate 56000 Router(config-if)#bandwidth 64 Turn on the interface Router(config-if)#no shutdown Save changes from RAM to NVRAM Router#copy running-config startup-config Save changes from RAM to TFTP server Router#copy running-config tftp Examine running configuration in RAM Router#show running-config Examine startup configuration in NVRAM Router#show start

All slides are customized by Engr. Vernon Degala. For educational purposes only.

To Make Changes

  • Use the word NO
  • To turn off the ip address and subnet mask
    • Router(config-if)#no ip address
  • To turn off the bandwidth
    • Router(config-if)#no bandwitdh
  • To turn off the clock rate
    • Router(config-if)#no clockrate
      • To turn on or enable an interface
        • Router(config-if)#no shutdown
      • To turn off or disable an interface
        • Router(config-if)#shutdown
      • Copy from RAM to TFTP server
        • Router#copy running-config tftp
      • Restore from TFTP to RAM
        • Router#copy tftp running- config
  • Force router to use the original configuration file in NVRAM
  • Router#copy startup-config running-config
  • Force router to use the configuration file on the tftp server
  • Router#copy tftp running-config
  • Erase the startup configuration file from NVRAM
  • Router#write erase OR - Router#erase start
  • Router#reload - Router#reload
  • Steps to configure host names
  • Router(config)#ip host Lab_A 172.51.1.
  • Router(config)#ip host Lab_B 180.101.21.