text stringlengths 0 6.55k |
|---|
configure terminal |
Enable Mode |
End or Ctl-Z |
vlan x |
Global Config |
Mode line console 0 |
VLAN exit Mode |
Console Line exit Mode |
line vty 0 15 |
exit |
VTY Line |
Mode 4 |
End or Ctl-Z |
Figure 4-8 Navigation In and Out of Switch Configuration Modes |
You really should stop and try navigating around these configuration modes. If you have not yet decided on a lab strategy, install the Pearson Sim Lite software from the companion web-site. It includes the simulator and a couple of lab exercises. Start any lab, ignore the instruc-tions, and just get into configuration ... |
No set rules exist for what commands are global commands or subcommands. Generally, however, when multiple instances of a parameter can be set in a single switch, the command used to set the parameter is likely a configuration subcommand. Items that are set once |
for the entire switch are likely global commands. For example, the hostname command is a global command because there is only one hostname per switch. Conversely, the speed command is an interface subcommand that applies to each switch interface that can run at |
different speeds, so it is a subcommand, applying to the particular interface under which it is configured. |
Storing Switch Configuration Files |
When you configure a switch, it needs to use the configuration. It also needs to be able to retain the configuration in case the switch loses power. Cisco switches contain random- |
access memory (RAM) to store data while Cisco IOS is using it, but RAM loses its contents when the switch loses power or is reloaded. To store information that must be retained when the switch loses power or is reloaded, Cisco switches use several types of more permanent memory, none of which has any moving parts. By a... |
The following list details the four main types of memory found in Cisco switches, as well as the most common use of each type: |
■ RAM: Sometimes called DRAM, for dynamic random-access memory, RAM is used by the switch just as it is used by any other computer: for working storage. The running (active) configuration file is stored here. |
|||||||||||||||||||| |
|||||||||||||||||||| |
100 CCNA 200-301 Official Cert Guide, Volume 1 |
■ Flash memory: Either a chip inside the switch or a removable memory card, flash mem-ory stores fully functional Cisco IOS images and is the default location where the switch gets its Cisco IOS at boot time. Flash memory also can be used to store any other files, including backup copies of configuration files. |
■ ROM: Read-only memory (ROM) stores a bootstrap (or boothelper) program that is load-ed when the switch first powers on. This bootstrap program then finds the full Cisco IOS image and manages the process of loading Cisco IOS into RAM, at which point Cisco IOS takes over operation of the switch. |
■ NVRAM: Nonvolatile RAM (NVRAM) stores the initial or startup configuration file that is used when the switch is first powered on and when the switch is reloaded. |
Figure 4-9 summarizes this same information in a briefer and more convenient form for memorization and study. |
RAM |
(Working Memory and Running Configuration) |
Flash |
(Cisco IOS Software) |
ROM |
(Bootstrap Program) |
NVRAM |
(Startup Configuration) |
Figure 4-9 Cisco Switch Memory Types |
Cisco IOS stores the collection of configuration commands in a configuration file. In fact, switches use multiple configuration files—one file for the initial configuration used when powering on, and another configuration file for the active, currently used running configura-tion as stored in RAM. Table 4-5 lists the n... |
Table 4-5 Names and Purposes of the Two Main Cisco IOS Configuration Files |
Configuration Filename |
startup-config |
running-config |
Purpose |
Stores the initial configuration used anytime the switch reloads Cisco IOS. |
Stores the currently used configuration commands. This file changes dynamically when someone enters commands in configuration mode. |
Where It Is Stored |
NVRAM |
RAM |
Essentially, when you use configuration mode, you change only the running-config file. This means that the configuration example earlier in this chapter (Example 4-4) updates only |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.