Download Chapter Introduction to the Cisco IOS and SDM
Transcript
47020.book Page 187 Wednesday, January 2, 2008 4:31 PM The IOS User Interface 187 And as I mentioned, when the IOS is loaded and up and running, a valid configuration called the startup-config will be loaded from NVRAM. But here’s where it differs from the default bootup of the ISR routers—if there isn’t a configuration in NVRAM, the router will broadcast looking for a valid one on a TFTP host. (This can only happen if the router senses carrier detect, or CD, on any interface.) If the broadcast fails, it will then go into what is called setup mode—a step-by-step process to help you configure the router. So you need to remember that, if you plug any interface of your router into your network and then boot your router, you may have to wait a couple minutes while the router searches for the configuration. You can have your ISR routers perform this boot cycle by erasing the startupconfig and reloading the router. This will give you a clean router with no default configuration. I’ll show you how to do this a little later in the chapter. You can also enter setup mode at any time from the command line by typing the command setup from something called privileged mode, which I’ll get to in a minute. Setup mode covers only some global commands and is generally just unhelpful. Here is an example: Would you like to enter the initial configuration dialog? [yes/no]: y At any point you may enter a question mark '?' for help. Use ctrl-c to abort configuration dialog at any prompt. Default settings are in square brackets '[]'. Basic management setup configures only enough connectivity for management of the system, extended setup will ask you to configure each interface on the system Would you like to enter basic management setup? [yes/no]: y Configuring global parameters: Enter host name [Router]:Ctrl+C Configuration aborted, no changes made. You can exit setup mode at any time by pressing Ctrl+C. I highly recommend going through setup mode once, then never again. You should always use the CLI or SDM.