Up arrow or last (previous) command line Down arrow or more recent command recall Entry completion Move back one word Move forward one word Show history Show command buffer Terminal history size Set command buffer size Terminal no editing Disable advanced editing features Terminal editing Re-enable advanced editing Examine router elements (RAM, ROM, CDP, show) Router Components ı RAM /DRAM Hint: Holds all running information when router is powered on, large around 8 to 32mb. Stores routing tables, ARP cache, fast switching cache, packet buffering (shared RAM), and packet hold queues. RAM also provides temporary and running memory for the router's configuration file while the router is powered on. RAM memory is cleared when the router is shutdown or reloaded. ı NVRAM Hint: Holds configuration file for router startup, small around 32k. Non volatile RAM stores the router's backup configuration file and retains information when the router is shutdown or reloaded. ı Flash -Hint: Holds IOS when router is powered down, large around 8 to 32mb. Erasable, reprograammabl ROM. Flash memory holds the operating system image and micro-code and allows the update of the IOS software without removing or replacing microchips. Flash content is retained when you power down or restart. Another note is that multiple copies of the IOS can be stored in flash memory if storage space permits. ı ROM Hint: Holds POST and BOOTSTRAP code when router is powering up. Contains power on diagnostics, a bootstrap program, and operating system software. Unfortunately, to upgrade one must remove and replace chips on the main board. ı Interfaces Hint: Where data moves in and out of the router. Network connections through which packets enter and exit the router. Interfaces are on the motherboard or on separate interface modules. Router Modes ı User EXEC mode A "read only" mode in that the user can view some information about the router, but cannot change anything or view specific configuration information. ı Privileged EXEC mode Supports the debugging and testing commands, detailed examination of the router, manipulation of configuration files, and access to configuration modes. All information is available to an administrator in this mode along with the ability to change system settings. Manage configuration files from the Privileged exec mode Configuration command summary Router configuration information can be displayed by several methods. “EXEC” mode commands can be used to configure from either a virtual terminal or a console terminal. Privileged mode commands can also be used to load a configuration from a network TFTP server meaning an administrator can maintain centralized configuration at a single site. Configure terminal Configure manually from the console terminal Configure memory Load configuration information from NVRAM Copy tftp running config Load configuration information from a network TFTP server. Copy run startup config Store the current configuration in RAM into NVRAM. Show running config Display the current configuration in RAM 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. Managing contents of NVRAM (Start Configuration) configure memory Loads configuration information from NVRAM. erase startup config or clear startupconnfig Erases the contents of NVRAM copy running config startup config Stores the current configuration in RAM into NVRAM show startup config Display the saved configuration, which is the contents of NVRAM NVRAM to RAM A current copy of the startup configuration in NVRAM can be copied to RAM using the “copy startupconnfi run” command. RAM to NVRAM A current copy of the running configuration stored in RAM can be copied to NVRAM using the “copy running-config start” command. TFTP server A current copy of the configuration currently in RAM can be stored on a TFTP Server using the “copy running-config tftp” command. You can configure the router by retrieving the configuration file stored on one of your network server by entering the “copy tftp running config command. Control router passwords, identification, and banner Passwords A system can be secured by using passwords to restrict local and network access. Passwords can be established both on individual commands and for the privileged mode and through various access methods such as the console port. Enable Password Router(config)# enable password admin Secret (Encrypted) Password Router(config)# enable secret admin Virtual Terminal Password Router(config)# line vty 0 4 Router(config line)# login Router(config line)# password cisco Console Password Router(config)# line console 0 Router(config)# login Router(config line)# password cisco Router Identification The prompt is automatically changed when the hostname of the router is changed UNLESS an overridding prompt is entered. If that is the case then the configured prompt string will always display unlesss in global configuration mode or below. Router Name Router(config)# hostname Chicago Chicago# Prompt String Router(config)# prompt Enter_Command_> Router(config)#exit Enter_Command_> Login Banner Login banners come in different forms and are displayed prior to login to a router. The two most common are the “Day-to-Day” banner also referred to as the MOTD or Message of the Day, and of course the LOGIN banner which unlike the MOTD would not usually be changed on a daily basis but would instead be more static. Prior to logging in, the MOTD is displayed before the login banner. Login Banner Chicago(config)# banner login z Welcome to the Chicago router. z Message of the Day Banner Chicago(config)# banner motd z Have a nice day and don’t forget to upgrade your IOS before 12/31/99! z Interface Description Per Interface Chicago(config)# interface e0 Chicago(config if)# description Chicago Accounting Department Identify the main Cisco IOS commands for router startup Commands Relating to Startup Show start up config or show config Display the backup configuration files Show running config Display the active configuration files Clear startup config Delete the backup configuration file in NVRAM Erase startup config Delete the backup configuration file in NVRAM Reload The reload command will reboot the router through the entire configuration process Setup The last command is used to enter setup mode from the privileged EXEC prompt Initializing the Router 1. The generic bootstrap loader executes from ROM on the CPU card 2. The operating system source is determined from the boot field of the configuration register 3. The operating system image is loaded into low addressed memory 4. The saved configuration file in NVRAM is loaded into main memory and executed sequentially 5. If no valid configuration file exists in NVRAM, the operating system enters SETUP mode, a prompt driven initial configuration routine Enter an initial configuration using the setup command The SETUP command issued from EXEC mode is a prompt driven configuration utility for basic router configuration. Advanced configuration must still be done from the standard configuration interface in config mode. Brackets [ ] indicate a defaulted value for the selection. Example #1 Router# setup ---System Configuration Dialog ---Continue with configuration dialog? [yes/no]: y At any point you may enter a question mark '?' for help. Use ctrl-c to abort configuration dialog at any prompt. Default settings are in square brackets '[]'. Basic management setup configures only enough connectivity for management of the system, extended setup will ask you to configure each interface on the system Would you like to enter basic management setup? [yes/no]: y Configuring global parameters: Enter host name [Router]: Chicago The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration. Enter enable secret [