background image
Command-Line Interface
195
Router#disable
Router>
At this point, you can type logout to exit the console:
Router>logout
Router con0 is now available
Press RETURN to get started.
Or you could just type logout or exit from the privileged-mode prompt
to log out:
Router>en
Router#logout
Router con0 is now available
Press RETURN to get started.
Overview of Router Modes
To configure from a CLI, you can make global changes to the router by typ-
ing configure terminal (or config t for short), which puts you in global
configuration mode and changes what's known as the running-config. You
can type config from the privileged-mode prompt and then just press Enter
to take the default of terminal.
Router#config
Configuring from terminal, memory, or network
[terminal]? [Enter]
Enter configuration commands, one per line. End with
CNTL/Z.
Router(config)#
At this point, you make changes that affect the router as a whole, hence
the term global configuration mode.
To change the running-config--the current configuration running in
dynamic RAM (DRAM)--you use the configure terminal command, or
just config t. To change the startup-config--the configuration stored in
NVRAM--you use the configure memory command, or config mem for
short. If you want to change a router configuration stored on a TFTP host
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com