[Cisco Networking Academy] Del Mar College
ITNW 1392-Beginning Router Configuration
Instructor:Michael P. Harris
Sem2Les9

Semester 2, Lesson 9 Notes:

Router Configuration

1. The commands 'configure terminal', 'configure memory', and 'copy tftp running-config' all load configuration information into_____?
RAM. Most of the configuration commands deal with moving information into and out from RAM.

2. The commands 'copy running-config tftp' and 'copy running-config startup-config' store the currently running configuration from RAM to_____and_____, respectively.
A network tftp server and NVRAM, respectively.

3. What do the prompts for 'User EXEC' mode, 'Privileged EXEC' mode, and 'Global configuration' mode look like?


 'User EXEC' mode:                      Router>
 'Privileged EXEC' mode:                Router#
  (used for copying and managing entire configuration files)

 
 "Global configuration' mode:           Router(config)#
  
  used for one-line commands and commands that change the entire
  router (affect the system as a whole). Use the privileged EXEC
  command "configure" to enter global configuration mode. When 
  you enter this command, the EXEC prompts for the source of the
  configuration commands. You can then specify the terminal, 
  NVRAM, or a file stored on a network server as the source.

Specific Configuration Modes:


 Interfaces                            Router(config-if)#
 Subinterfaces                         Router(config-subif)#
 Controller                            Router(config-controller)#
 Map-list                              Router(config-map-list)#
 Map-class                             Router(config-map-class)#
 Line                                  Router(config-line)#
 Router                                Router(config-router)#
 IPX-router                            Router(config-ipx-router)#
 Route-map                             Router(config-route-map)#

If you type "exit" the router will back out one level, pressing "Control-Z" leaves configuration mode completely and returns to privileged EXEC mode.

4. When configuring routers with Release 11.x methods, once you have typed 'show running-config' and displayed a desired configuration, what commands do you use to save changes to backup?

Use 'copy running-config startup-config' and 'copy running-config tftp'.

5. What are two basic tasks when first configuring a router?
(1) Password configuration and (2) naming the router (router identification configuration).

The router provides a "host name", "a banner", and "interface descriptions" to aid in identification.

Configuration command summary:

  • "configure terminal" - Configure manually from the console terminal.
  • "configure memory" - Load configuration information from NVRAM to RAM.
  • "copy tftp running-config" - Load configuration information from a network TFTP server to RAM.
  • "copy running-config startup config" - Store the current configuration in RAM into NVRAM.
  • "copy running-config tftp" - Store the current configuration in RAM on a network TFTP server.
  • show startup-config" - Display the saved configuration, which is the contents of NVRAM.
  • "erase startup-config" - Erase the contents of NVRAM.

You can use the "copy running-config tftp" command to store the current configuration in RAM on a network TFTP server. To do so, complete the following tasks:

  1. Enter the 'copy running-config tftp' command.
  2. Enter the IP address of the host you want to store the configuration file.
  3. Enter the name you would like to assign to the configuration file.
  4. Confirm your choices by answering "Yes".

These commands manage the contents of NVRAM:

  • "configure memory" - Load configuration information from NVRAM to RAM.
  • "erase startup-config" - Erase the contents of NVRAM.
  • "copy running-config startup-config" - Store the current configuration in RAM (the running configuration) into NVRAM (as the startup configuration).
  • "show startup-config" - Display the saved configuration, which is the contents of NVRAM.

IP Routing Protocol Mode:
Router(config)#       router?

bgp          Border Gateway Protocol (EGP)
egp          Enterior Gateway Protocol (EGP)
eigrp        Enhanced Interior Gateway Routing Protocol (EIGRP)
igrp         Interior Gateway Routing Protocol (IGRP)
isis         ISO IS-IS
iso-igrp     IGRP for OSI networks
mobile       Mobile routes
odr          On Demand stub Routes
ospf         Open Shortest Path First (OSPF)
rip          Routing Information Protocol (RIP)
static       Static routes

After a routing protocol is enabled by a global command, the router configuration mode prompt Router(config-router)# is displayed. Type a question question mark (?) to list the router configuration commands.


Router(config)#                    router rip
Router(config-router)#             ? 
Router configuration commands:
default-information                Control distribution of default
                                   information
distance                           Define an administrative 
				   distance
distribute-list                    Filter networks in routing 
                                   updates
exit                               Exit from routing protocol
                                   configuration mode

Many features are enabled on a per-interface basis. Interface configuration commands modify operation of an Ethernet, Token Ring, or serial port. Interface subcommands always follow an interface command; the interface command defines the interface type.


Configuration Methods:
1. Enter configuration statements
2. Save the changes to a backup the router will use when it starts up
3. Examine the changes you have made
4. If necessary, modify or remove configuration statements

You can secure your system by using passwords to restsrict access. Passwords can be established both on individual lines and in the privileged EXEC mode.

The "line console 0" command establishes a password on the console terminal.

The "line vty 0 4" command establishes password protection on incoming Telnet sessions.

The "enable-password" command restricts access to the privileged EXEC mode.

The "enable-secret password" from the System Configuration Dialog to setup global parameters uses a Cisco-proprietary encryption process to alter the password character string.

Password can be further protected from display through the use of the "service password-encryption" command. The encryption algorithm does not match the Data Encryption Standard (DES).

The "banner mode" command is used to configure a message of the day which is displayed at login and is useful for conveying messages that affect all network users, such as impending system shutdowns.


[Previous]Lesson 8         [Index]Index         [Next]Next

[Top of Page]     This page maintained by:   Michael P. Harris

[Viking Home Page] viking.delmar.edu
Last updated April 2
[E-mail] mpharris@surf.delmar.edu
Copyright © 1999