Cisco Systems 12010, 12810, 12410 manual Cisco IOS User Interface Command Modes

Page 15

Chapter 4 System Startup and Basic System Configuration

Cisco IOS User Interface

You can use the method that suits your operating style and your knowledge of network configuration requirements.

Whether you use the setup command facility or global configuration mode to configure the router to operate in your networking environment, be sure you know the:

Interfaces the router has.

Protocols the router is routing.

Network addresses for the protocols being configured.

Password scheme for your environment.

Cisco IOS User Interface

Cisco IOS software provides a command line interface that allows you to configure and manage your router. If you are not familiar with the Cisco IOS command line interface, you should read the “Using the Command Line Interface” chapter in the Configuration Fundamentals Configuration Guide. This section discusses the different command modes, context-sensitive help, and editing features of the interface.

Cisco IOS User Interface Command Modes

The Cisco IOS user interface is organized into several different modes. The available commands depend on which mode you are currently in. Entering a question mark (?) at the system prompt displays a list of commands available for the current command mode.

When you start a session on the router, you begin in user EXEC mode. Only a limited subset of the commands are available in EXEC mode. In order to have access to all of the commands, you must enter privileged EXEC mode which normally requires a password. From privileged EXEC mode, you can enter any EXEC command or enter global configuration mode. Most of the EXEC commands are 1-time commands, such as show commands, that show the current configuration status, and clear commands, that clear counters or interfaces. The EXEC commands are not saved across reboots of the router.

 

 

Cisco 12010, Cisco 12410, and Cisco 12810 Router Installation and Configuration Guide

 

 

 

 

 

 

OL-11496-01

 

 

4-15

 

 

 

Image 15
Contents System Startup and Basic System Configuration Sources of Cisco IOS Software Preconfiguration RequirementsBoot Process Overview Powering On the Router and Observing the Boot Process LED Display1 Meaning Source ProcessorPRI LED Display Meaning SourceMII Line Card Alphanumeric LED Displays-Partial View Shown Meaning SourceRomi OL-11496-01 Manually Booting the System Dir slot0 Booting from the Cisco IOS Software ImageDir bootflash Locating a Valid Cisco IOS Software ImageBoot flash Command PurposeConfiguring the Router Cisco IOS User Interface Cisco IOS User Interface Command ModesPrivileged Exec Mode User Exec ModeInterface Configuration Mode Global Configuration ModeSubinterface Configuration Mode Using Setup for Configuration ChangesMay enter a question mark ? for help SDCC1/0 No ip routing Configuring Global Parameters Using the Setup Facility Configuring Host Name Configuring Protocols Configuring Network InterfacesConfiguring Line Card Interfaces Milo# show version Enter the enable command and password if prompted Using Global Configuration ModeRouter# show running-config Verifying Running Configuration File SettingsMilo# configure terminal Milo# copy running-config startup-configSaving the Running Configuration Settings to Nvram Viewing the Running Configuration Settings Configuring the Software Configuration Register Bit Number Hexadecimal Value Meaning/Function Boot Field Setting Software Configuration SettingsCiscobootfieldvalue-processorname Changing Software Configuration Register Settings Miloconfig# config-register 0xvalue Reboot the systemLow-Order Bits in the Software Configuration Register Action/Filename Bit Bit Address net host High-Order Bits in the Software Configuration Register9600 Rommon 1 config-register Recovering a Lost PasswordEnter the initialize command to initialize the router Milo# show startup-config Installing and Removing a Flash Memory Card Using RP Flash Memory CardsOL-11496-01 Installing and Removing a Flash Memory Card Milo# format slot0 Formatting a New Flash Memory CardSpecifying a Cisco IOS Software Image to Boot the System Flash Memory Commands Pwd CommandCd Command Dir Command Delete CommandMilo# dir slot0 Milo# squeeze slot0 Squeeze CommandBooting from Flash Memory Miloconfig# boot system flash slot0myfile1Copying Image Files to or From Flash Memory Milo# copy tftpmyfile1 slot0myfile1 Milo# copy tftpfilename bootflashslot0slot1 filenameCopying a Cisco IOS Software Image into a Flash Memory Card Milo# copy tftpnew.image slot0new.image Milo# copy slot1image.new slot0image.new Copying Cisco IOS Software Images Between Flash Memory CardsMilo# configure terminal Copy startup-config slot0 slot1 filename Milo# show bootvarMilo# copy startup-config slot0myfile2 Milo# copy running-config slot0myfile2 Copy running-config slot0slot1filenameCopy slot0slot1filename startup-config Milo# copy slot0myfile startup-configMilo# copy startup-config running-config Recovering from Locked Blocks in Flash Memory Cards Post-Installation Procedures OL-11496-01