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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8. Once you have determined that your configuration is what you would like on your<br />

router you need to save it to your startup-configuration file. Otherwise if your<br />

router is re-booted or you loose power then your configuration will be lost.<br />

RouterA#copy ru start (or wr)<br />

9. Great. Now you know how to save your configuration. But what if someone else<br />

saved a configuration and you want to get rid of it? Do this:<br />

RouterA#erase start (to erase the startup-configuration file)<br />

RouterA#reload<br />

10. So what if you made a mistake when you are typing something? Some things you<br />

can just re-type and they will be changed (like hostname) and some others you<br />

can un-do just <strong>by</strong> typing the word “no” and repeating the errant command.<br />

RouterA(config)#hostname mark<br />

Mark(config)#hostname matt<br />

Matt(config)#<br />

matt(config)#line vty 0 4<br />

matt(config-line)#password csico<br />

matt(config-line)#no password csico<br />

matt(config-line)#password cisco<br />

(darn! We wanted “matt”)<br />

(just type in “matt”)<br />

(darn! We wanted “cisco”)<br />

Supplemental Lab or Challenge Activity:<br />

1. Don’t have a router to practice this on at home? Just practice writing out this<br />

script over and over on paper. Don’t forget to write the prompts…they are<br />

important to know too.<br />

Router>en<br />

Router#config t<br />

Router(config)#hostname RouterA<br />

RouterA(config)#line vty 0 4<br />

RouterA(config-line)#password cisco<br />

RouterA(config-line)#login<br />

RouterA(config-line)#exit<br />

RouterA(config)#line con 0<br />

RouterA(config-line)#logging synchronous<br />

RouterA(config-line)#exec-timeout 0 0<br />

RouterA(config-line)#exit<br />

RouterA(config)#enable secret cisco<br />

RouterA(config)#enable password class<br />

2. Security/Hacking Tip on VTY lines: Port scans (which are legal) on your network<br />

can reveal ports 2000, 2001, 4000, 4001, 6000, or 6001 ports in use. These are<br />

179

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

Saved successfully!

Ooh no, something went wrong!