Commands that affect the entire device are called global commands. The hostname and enable
password commands are examples of global commands.
User EXEC Mode
Privileged EXEC Mode
Global Configuration Mode
RouterX>enable
RouterX#configure terminal
RouterX(config) #
Ctrl??“z (end)
Exit
Configuration
Mode
Interface
Subinterface
Controller
Line
Router
RouterX(config??“if)#
RouterX(config??“subif)#
RouterX(config??“controller)#
RouterX(config??“line)#
RouterX(config??“router)#
Prompt
6 Chapter 1: Review of Cisco IOS for Routers and Switches
Commands that point to or indicate a process or interface that will be con?¬?gured are called major
commands. When entered, major commands cause the CLI to enter a speci?¬?c con?¬?guration mode.
Major commands have no effect unless you immediately enter a subcommand that supplies the
con?¬?guration entry. For example, the major command interface serial 0 has no effect unless you
follow it with a subcommand that tells what is to be done to that interface.
Table 1-1 provides examples of some major commands and subcommands that go with them.
Notice that entering a major command switches from one con?¬?guration mode to another.
Pages:
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35