28.06.2014 Views

Learning by Doing: CISCO Certified Network ... - SCN Research

Learning by Doing: CISCO Certified Network ... - SCN Research

Learning by Doing: CISCO Certified Network ... - SCN Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

outer#terminal history size 5<br />

17. Using this command will set the number of commands retained in the history<br />

buffer to 5. If you were to “show history” then you would see the previous 5<br />

commands. This number can range from 0 to 256. (Sounds like a good CCNA<br />

question doesn’t it?).<br />

18. Ok. We are still moving with our prompts. Before we can make any changes to<br />

our router we need to be at the configuration mode prompt.<br />

router#config<br />

Configuring from terminal, memory, or network [terminal]?<br />

router#terminal<br />

router(config)#<br />

Or we can just <strong>by</strong>-pass that second statement <strong>by</strong> combining the two statements:<br />

router#config t<br />

router(config)#<br />

19. Let’s change the name of our router. We do this from the privileged mode prompt<br />

using the command “hostname.” Let’s change it to our name.<br />

router(config)#hostname matt<br />

matt(config)#<br />

Notice how the prompt changes immediately to our new hostname.<br />

To leave the configuration mode, just type exit.<br />

matt(config)#exit<br />

matt#<br />

20. It would be a shame if the power were to suddenly get turned off because<br />

everything would be erased. We can save our work to the file that is loaded when<br />

our router starts. Right now our changes are in a file called “runningconfiguration.”<br />

Here we can type in some changes and see if those changes have<br />

the desired effects. If they don’t then we can reverse those changes or even<br />

reboot the router (which would load the “start-configuration” file). Suppose we<br />

like what we have done. Then we just have to copy our running-configuration file<br />

to our start-configuration file. True. It does over write our start-configuration<br />

file, but that is what we want to do. Let’s try it.<br />

matt#copy running-configuration start-configuration<br />

Boy is that a lot to type…just to make it easier you can also type this:<br />

164

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!