|
|
This chapter describes what you need to know about Cisco IOS software before you configure your Cisco 6400 universal access concentrator using command-line interface (CLI) commands. If you have never used Cisco IOS software or need a refresher, take a few minutes to read this chapter before you begin to configure your access concentrator.
This chapter includes the following:
You can get context-sensitive help in any of the command modes. The help available in the Cisco IOS software describes the command syntax or displays the complete command name. To get context-sensitive help, use the question mark (?) and arrow keys to help you enter commands.
Switch>?
Switch> sh? show
Switch> sh<Tab> Switch> show
Switch> show?
Refer to the chapter "Configuring the User Interface" in the Configuration Fundamentals Configuration Guide for more information about any aspect of working with the user interface in the Cisco IOS software. The Configuration Fundamentals Configuration Guide is part of the Cisco IOS documentation in Cisco IOS Releases 11.1 and later.
The Cisco IOS user interface is divided into many different modes. The commands available to you at any given time depend on which mode you are currently in. Entering a question mark (?) at the system prompt allows you to obtain a list of commands available for each command mode.
When you start a session on the router, you begin in user mode, often called EXEC mode. Only a limited subset of the commands are available in EXEC mode. In order to have access to all commands, you must enter privileged EXEC mode. Normally, you must enter a password to enter privileged EXEC mode. From privileged mode, you can enter any EXEC command or enter global configuration mode. Most of the EXEC commands are one-time commands, such as show commands, which show the current status of something, and clear commands, which clear counters or interfaces. The EXEC commands are not saved across reboots of the router.
The configuration modes allow you to make changes to the running configuration. If you later save the configuration, these commands are stored across router reboots. In order to get to the various configuration modes, you must start at global configuration mode. From global configuration mode, you can enter interface configuration mode, subinterface configuration mode, and a variety of protocol-specific modes.
ROM monitor mode is a separate mode used when the router cannot boot properly. If your router or access server does not find a valid system image when it is booting, or if its configuration file is corrupted at startup, the system might enter read-only memory (ROM) monitor mode.
Table 2-1 summarizes the main command modes of the Cisco IOS software.
| Command Mode | Access Method | Prompt | Exit Method |
|---|---|---|---|
Log in. | | Use the logout command. | |
From user EXEC mode, use the enable EXEC command. | | To exit back to user EXEC mode, use the disable command. To enter global configuration mode, use the configure terminal privileged EXEC command. | |
Global configuration | From privileged EXEC mode, use the configure terminal privileged EXEC command. | | To exit to privileged EXEC mode, use the exit or end command or press Ctrl-Z. To enter interface configuration mode, enter an interface configuration command. |
From global configuration mode, enter by specifying an interface with an interface command. | | To exit to global configuration mode, use the exit command. To exit to privileged EXEC mode, use the exit command or press Ctrl-Z. | |
From interface configuration mode, specify a subinterface with an interface command. | | To exit to global configuration mode, use the exit command. To enter privileged EXEC mode, use the end command or press Ctrl-Z. | |
From privileged EXEC mode, use the reload EXEC command. Press the Break key during the first 60 seconds while the system is booting. | rommon> | To exit to user EXEC mode, type continue. |
For more information regarding command modes, refer to the "Using the Command-Line Interface" chapter of the Configuration Fundamentals Configuration Guide.
Enter the copy system:running-config nvram:startup-config command to save your configuration changes to your startup configuration so that they will not be lost if there is a system reload or power outage. For example:
Switch# copy system:running-config nvram:startup-config Building configuration...
It might take a minute or two to save the configuration. After the configuration has been saved, the following output appears:
[OK] Switch#
Now that you have learned some Cisco IOS software basics, you are ready to configure your access concentrator using the command-line interface (CLI). For complete information regarding Cisco IOS software, refer to the section "Related Documentation" in the chapter "About This Guide."
Use the following helpful reminders when configuring your Cisco IOS software:
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Nov 15 12:45:20 PST 1999
Copyright 1989-1999©Cisco Systems Inc.