Specifications
2-7
Catalyst 4224 Access Gateway Switch Software Configuration Guide
OL-2031-02
Chapter 2 Configuring for the First Time
Using the Cisco IOS CLI
Timesaver Each command mode restricts you to a subset of commands. If you are having
trouble entering a command, check the prompt and enter the question mark (?) for
a list of available commands. You might be in the wrong command mode or using
the wrong syntax.
Global configuration From the privileged EXEC
mode, enter the configure
terminal command.
hostname
(config)#
The default is
router (config)#
To exit to privileged EXEC
mode, use the exit or end
command, or press Ctrl-Z.
Interface
configuration
From the global
configuration mode, enter
the interface type number
command, such as
FastEthernet int 0/0.
hostname
(config-if)#
The default is
router (config-if)#
To exit to global
configuration mode, use
the exit command.
To exit directly to
privileged EXEC mode,
press Ctrl-Z.
Dial-peer
configuration
From the global
configuration mode, enter
the dial-peer voice
command, such as
dial-peer voice 1
pots/voip.
hostname(config-
dial-peer)
The default is
router
(config-dial-peer)#
To exit to global
configuration mode, use
the exit command.
To exit directly to
privileged EXEC mode,
press Ctrl-Z.
Table 2-2 Common Command Modes (continued)
Command Mode Access Method
Gateway Prompt
Displayed Exit Method