Docsity

Configuring Router: Interface Setup, Passwords, Show Commands, and Host Tables, Slides of Computer Networks

Toggle sidebar
bg1
Configuring a Router
Semester 2 – Module 3
Module Objectives:
Name a router
Set passwords
Examine show commands
Configure a serial interface
Configure an Ethernet interface
Execute changes to a router
Save changes to a router
Configure an interface description
Configure a message-of-the-day banner
Configure host tables
Understand the importance of backups and documentation
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Configuring Router: Interface Setup, Passwords, Show Commands, and Host Tables and more Slides Computer Networks in PDF only on Docsity!

Configuring a Router

Semester 2 – Module 3

Module Objectives:

 Name a router

 Set passwords

 Examine show commands

 Configure a serial interface

 Configure an Ethernet interface

 Execute changes to a router

 Save changes to a router

 Configure an interface description

 Configure a message-of-the-day banner

 Configure host tables

 Understand the importance of backups and documentation Docsity.com

Router Modes

Show Commands

  • show interfaces – Displays statistics for all interfaces on a router
    • Router# show interfaces serial 0/
  • show hosts - Displays a cached list of host names and addresses
  • show users - Displays all users who are connected to the router
  • show history - Displays a history of commands that have been entered
  • show flash - Displays information about flash memory and what IOS files are stored there
  • show version - Displays information about the currently loaded software version along with hardware and device information.
  • show arp - Displays the ARP table of the router
  • show protocols - Displays the global and interface-specific status of any configured Layer 3 protocols
  • show startup-config - Displays the saved configuration located in NVRAM
  • show running-config - Displays the contents of the currently running configuration file or the configuration for a specific interface, or map class information.

Configuring a Serial Interface

  • To configure a serial interface follow these steps:
    • Enter global configuration mode.
    • Enter interface mode.
      • Router(config)# interface serial 0/
    • Specify the interface address and subnet mask.
    • Set clock rate if a DCE cable is connected. Skip this

step if a DTE cable is connected.

  • Router(config-if)# clock rate 56000
  • Turn on the interface.
  • Router(config-if)# no shutdown

Configuring an Ethernet Interface

  • To configure an Ethernet interface follow

these steps:

  • Enter global configuration mode.
  • Enter interface configuration mode.
    • Router(config)# interface e
  • Specify the interface address and subnet mask.
    • Router(config-if)# ip address nnn.nnn.nnn.hhh sss.sss.sss.sss
  • Enable the interface.
    • Router(config-if)# no shutdown

Configuration Standards

  • used to control of the number of

configuration files that must be maintained

  • how the files are stored
  • where the files are stored
  • The creation of standards for network

consistency helps reduce:

  • network complexity
  • unplanned downtime
  • events that may affect network performance.

Configuring an INT Description

  • The steps to configure an interface description are as

follows:

  • Use the configure terminal command to enter global

configuration mode.

  • Enter a specific interface mode such as interface ethernet 0.
  • Enter the command description followed by the information that

is to be displayed, such as XYZ Network, Building 18.

  • Use Ctrl-Z to exit interface mode and return to privileged EXEC

mode.

  • Use the copy running-config startup-config command to save

the configuration changes to NVRAM.

  • Example
    • interface ethernet 0
    • description LAN Engineering, Bldg.

Login Banners

  • a message that is displayed at login
  • can be seen by anyone
  • should warn users not to attempt login

unless they are authorize

  • can be used to convey messages that

affect all network users, such as

scheduled system shutdowns

Host Name Resolution

  • the process that a computer system uses

to associate a host name with an IP

address

  • Host Table Created
  • Host names, unlike DNS names, are

significant only on the router on which they

are configured

Configuring Host Tables

  • The procedure to configure a host table is as

follows:

  • Enter global configuration mode.
  • Enter the ip host command followed by the name of

the router and all IP addresses associated with the

router interfaces.

  • Repeat Step 2 until all routers in the network are

entered.

  • Save the configuration to NVRAM.
  • Viewing Host Table
  • Router# Show Hosts

Backup Config Commands

  • Backing Up to TFTP
    • Enter the copy running-config tftp

command.

  • Enter the IP address of the host where the

configuration file will be stored.

  • Enter the name to assign to the

configuration file.

  • Answer yes to confirm each choice.