⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 context_help_lab.htm

📁 BOSON NETSIM是目前最好的路由器模拟软件
💻 HTM
字号:
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>6</title>
</head>


<script language="Javascript">
<!--
 
function printpage() {
  if (window.print)
    window.print()
  else
    alert("Sorry, your browser doesn't support this feature.");
}
 
//-->
</script>
<FORM>
<INPUT TYPE="button" VALUE="Print this page" onClick="printpage()">
</FORM>


<p><b><font size="4" color="green" face="Arial">Lab: &nbsp;Introduction to the router command line interface.</font></b></p>




<p><font face="Arial">Objective: &nbsp;&nbsp;To understand how 
the Cisco Command Line interface works, paying particular attention to the difference 
between user and privilege mode as well&nbsp; as context sensitive help and 
command auto-completion.</font></p>
<p>Lab Equipment: &nbsp;&nbsp;We will be using &quot;eRouter 1&quot; for the entire lab. &nbsp;To 
select &quot;eRouter 1&quot; click on the drop down box located in the top center 
of the screen.</p>
<p><font color="purple"><b>1</b>.</font> &nbsp;&nbsp;&nbsp; &nbsp;You are initially 
presented with:</p>
<p><font face="Terminal" size="2">Router con0 is now available<br>
Press RETURN to 
get started.</font></p>
<p>This tells you that you are connected to the router via the Console port located 
on the back on the router, called Console0 or just Con0. &nbsp;The name of the 
router at this point is just 'Router'. &nbsp;Press the <font color="#FF0000">Enter</font> key. &nbsp;What 
happens?</p>
<form name="form1">
    <p><select size="1">
    <option>- Click Here to View Answer -</option>
    <option>The prompt Changes to 'Router&gt;'</option>
    <option>and the cursor blinks, awating your input.</option>
    </select></p>
</form>
<p><font color="purple"><b>2.</b></font> &nbsp;&nbsp;&nbsp; &nbsp;What mode 
are you in? &nbsp;How can you tell?</p>
<form name="form1">
    <p><select size="1">
    <option>- Click Here to View Answer -</option>
    <option>You are in 'user' mode</option>
    <option>this is indicated by the '&gt;' symbol.</option>
    </select></p>
</form>
<p><font color="purple"><b>3.</b></font> &nbsp;&nbsp;&nbsp; &nbsp;What can you 
do to view all the commands available to you in user mode? &nbsp;Do this now. 
</p>
<form name="form1">
    <p><select size="1">
    <option>- Click Here to View Answer -</option>
    <option>Just type a '?' by itself.</option>
    <option>this will show you all the available commands for that mode.</option>
    </select></p>
</form>
<p><font color="purple"><b>4.</b></font>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;Type
<font color="#FF0000">exit</font> to exit user mode, how do you re-enter user mode?</p>
<form name="form1">
    <p><select size="1">
    <option>- Click Here to View Answer -</option>
    <option>Just press the 'Enter' key.</option>
    </select></p>
</form>
<p><font color="purple"><b>5.</b></font>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;View all the 
available commands for user mode (how do you do that?). &nbsp;&nbsp;Which command will 
turn on privileged commands? &nbsp;Enter this command and press <font color="#FF0000">
Enter</font>.</p>
<form name="form1">
    <p><select size="1">
    <option>- Click Here to View Answer -</option>
    <option>Type '?' to view all commands</option>
    <option>The ENABLE command take you to privlege mode.</option>
    </select></p>
</form>
<p><font color="purple"><b>6.</b></font>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;You are now in 
privilege mode, this is indicated by the '#' symbol. &nbsp;Now type a
<font color="#FF0000">?</font>, 
do you have more or less commands? &nbsp;Why?</p>
<form name="form1">
    <p><select size="1">
    <option>- Click Here to View Answer -</option>
    <option>You have more commands.</option>
    <option>Privilege mode allows more commands than user mode.</option>
    </select></p>
</form>
<p><font color="purple"><b>7.</b></font> &nbsp;&nbsp;&nbsp;Type the letter '<font color="#FF0000">d</font>' 
and press enter. &nbsp;&nbsp;Why do you think the message &quot;<font face="Terminal" size="2">% Ambiguous Command:</font>&quot; 
was displayed?</p>
<form name="form1">
    <p><select size="1">
    <option>- Click Here to View Answer -</option>
    <option>Because there are more than 1 command</option>
    <option value="that starts with the letter 'd'">Privilege mode allows more commands than user mode.</option>
    </select></p>
</form>
<p><font color="purple"><b>8.</b></font> &nbsp;&nbsp;&nbsp;We are going to use context 
sensitive help to determine all the commands that start with the letter 'd'. 
&nbsp;&nbsp;At the command prompt, type '. &nbsp;&nbsp;What commands 
are displayed?</p>
<form name="form1">
    <p><select size="1">
    <option>- Click Here to View Answer -</option>
    <option>disable and disconnect</option>
    </select></p>
</form>
<p><font color="purple"><b>9.</b></font> &nbsp;&nbsp;&nbsp;Routers allow you 
to abbreviate a command by typing enough letters of the command so that no other 
command have the same letters in common. &nbsp;Given the commands
<font face="Terminal" size="2">disconnect</font> 
and <font face="Terminal" size="2">disable</font><b> </b>what is the shortest we can type to execute the
<font face="Terminal" size="2">disable</font> 
command? &nbsp;Do it now.</p>
<form name="form1">
    <p><select size="1">
    <option>- Click Here to View Answer -</option>
    <option>the shortest you can type is 'disa'</option>
    </select></p>
</form>
<p><font color="purple"><b>10.</b></font> &nbsp;&nbsp;&nbsp;Please re-enter privilege mode by 
typing <font color="#FF0000">en</font><b> </b>and pressing enter. &nbsp;&nbsp;Routers can 
also help complete a command, on eRouter 1, type 
<font color="#FF0000" face="Terminal" size="2">disa</font> and press 
the <b>&lt;TAB&gt;</b> key, what happened?</p>
<form name="form1">
    <p><select size="1">
    <option>- Click Here to View Answer -</option>
    <option>The router 'auto-completed' the command</option>
    </select></p>
</form>
<p><font color="purple"><b>11.</b></font> &nbsp;&nbsp;&nbsp;In addition to auto-completing, 
routers can tell you what is allowed to be typed next, type
<font color="#FF0000" face="Terminal" size="2">show ?</font><b> </b>(note 
there is a &lt;SPACE&gt; after the 'w'). What happens?</p>
<form name="form1">
    <p><select size="1">
    <option>- Click Here to View Answer -</option>
    <option>The router shows you all the valid 'show' commands</option>
    </select></p>
</form>
<p><font color="purple"><b>12.</b></font> &nbsp;&nbsp;Now,  type
<font color="#FF0000" face="Terminal" size="2">show ip 
?</font>. What happens?</p>
<form name="form1">
    <p><select size="1">
    <option>- Click Here to View Answer -</option>
    <option>This shows you all the 'SHOW IP' commands.</option>
    </select></p>
</form>
<p><font color="purple"><b>13.</b></font> &nbsp;&nbsp;Now,  type
<font color="#FF0000" face="Terminal" size="2">exit</font>. 
What happens?</p>
<form name="form1">
    <p><select size="1">
    <option>- Click Here to View Answer -</option>
    <option>You are logged off the router.</option>
    </select></p>
</form>
<p>Repeat this exercise, until you understand context sensitive help.</p>
<p>This completes the lab.</p>
<p>&nbsp;</p>
<p><font face="Arial" size="2">Copyright Boson Software 1998-2003 - All Rights Reserved</font></p>

</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -