background image
Command-Line Interface
193
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.
Enter your selection [2]:0
The most interesting part of the Extended Setup is the options you get at
the end. You can go to CLI mode and discard the running-config (0); you can
go back to setup to do it all over again (1); or you can save this configuration
to NVRAM, which is known as startup-config (2). This file would then be
loaded every time the router is rebooted.
I'm going to choose 0 to go to the IOS--we're not going to save the file we
just created. Doing this will take us to the CLI.
You can exit setup mode at anytime by pressing Ctrl+C.
Command-Line Interface
B
ecause it's so much more flexible, the command-line interface (CLI)
is really the best way to configure a router. I sometimes refer to the CLI as
"Cash Line Interface" because if you can create advanced configurations on
Cisco routers and switches using the CLI, then you'll get the cash!
To use the CLI, just say No to entering the initial configuration dialog.
After you do that, the router will respond with messages that tell you all
about the status of each and every one of the router's interfaces.
Would you like to enter the initial configuration dialog?
[yes]:n
Would you like to terminate autoinstall? [yes]:[Enter]
Press RETURN to get started!
00:00:42: %LINK-3-UPDOWN: Interface Ethernet0, changed
state to up
00:00:42: %LINK-3-UPDOWN: Interface Serial0, changed
state to down
00:00:42: %LINK-3-UPDOWN: Interface Serial1, changed
state to down
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com