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.

3. Configure the router’s name to be RouterA:<br />

Router(config)#hostname RouterA<br />

RouterA(config)#<br />

(note:the name changes<br />

immediately)<br />

4. Configure the vty lines with a password “cisco.” These are the available Telnet<br />

ports for use from the Internet or from other networking devices on your network.<br />

Without a password no one will be able to telnet into the router.<br />

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

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

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

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

5. Configure the console line so messages will not interrupt what you are typing and<br />

so your session does not time out:<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 />

Feeling frisky? Change exec-timeout to 0 1. This will cause your router session<br />

to time out every 1 second (it can take up to about 5 minutes to start though).<br />

There are only two ways to fix it: router recovery or press the “down” arrow key<br />

while you change the exec timeout to a higher number with your other hand at the<br />

same time. <strong>Doing</strong> this generates a continuous interrupt request to the CPU and<br />

the session, therefore, does not time out. Logging synchronous is a nice<br />

command. When you are configuring a router sometimes messages will interrupt<br />

your work. Without this command in your script when you are interrupted you<br />

will have to remember exactly what you typed when you were interrupted. With<br />

this command the router will “refresh” what you typed on the current line.<br />

6. Configure the secret password “cisco” and the enable password “class.” These are<br />

required to have telnet access into your router. If you do not want anyone to be<br />

able to telnet into your router, then not setting a password is one way to do it.<br />

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

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

7. To see what you have done so far you can always look at the runningconfiguration<br />

file:<br />

RouterA(config)#exit (or use control+Z to get all the way out)<br />

RouterA#sh ru (short for show run)<br />

178

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

Saved successfully!

Ooh no, something went wrong!