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

📄 telnetlab.htm

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

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

<body>

<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><font face="Arial, Arial, Helvetica" color="#008000" size="4"><b>Lab: 
Introduction to Telnet</b></font></p>
<p><font face="Arial"><i>Objective</i>:&nbsp; 
To become familiar with establishing a telnet session between two routers.<br>
<i>Lab Equipment</i>: We will be using eRouter 1 and 
eRouter 2 for this lab.&nbsp; To select &quot;eRouter 1&quot; click on the Router 
1 button on the top  of the screen.</font></p>
<p><b><font color="#FF00FF">1</font>.</b> Connect To eRouter 1. For this lab we will 
need to have the router accept telnet sessions and define the password we will 
use for these telnet sessions.&nbsp; On eRouter 1 get to Configuration mode and set 
the hostname to eRouter1.&nbsp; Then access the telnet lines. Each line in a router 
represents an active telnet session it can support. For our routers we support 5 
lines so the command you need to use is <font face="Terminal" size="2">line vty 0 4</font>. This will cover all 5 
lines.&nbsp; </p>
<p><select size="1" name="D1">
  <option selected>- Click here to View Answer -</option>
  <option>Router&gt;enable</option>
  <option>Router#conf t</option>
  <option>Router(config)#hostname eRouter1</option>
  <option>eRouter1(config)#line vty 0 4</option>
  <option>eRouter1(config-line)#</option>
</select></p>
<p><b><font color="#FF00FF">2</font>.</b> Now tell the router that we are going to allow 
logins.</p>
<p><select size="1" name="D1">
  <option selected>- Click here to View Answer -</option>
  <option>eRouter1(config-line)#login</option>
</select></p>
<p><b><font color="#FF00FF">3</font>. </b>
<span style="font-size: 12.0pt; font-family: Times New Roman">Next define the 
password that will be used to establish a telnet session</span></p>
<p><select size="1" name="D1">
  <option selected>- Click here to View Answer -</option>
  <option>eRouter1(config-line)#password boson</option>
</select></p>
<p><font color="#FF00FF"><b>4. </b></font>Now we have finished allowing telnet on 
eRouter 1. We need to setup an IP address for its Ethernet 0 interface. Get into 
the Ethernet 0 interface</p>
<p><select size="1" name="D1">
  <option selected>- Click here to View Answer -</option>
  <option>eRouter1(config-line)#exit</option>
  <option>eRouter1(config)#interface Ethernet 0</option>
</select></p>
<p><font color="#FF00FF"><b>5</b></font><b>.</b> Set an IP address of <b>34.25.67.18 
255.255.255.224</b> and enable the interface</p>
<p><select size="1" name="D1">
  <option selected>- Click here to View Answer -</option>
  <option>eRouter1(config-if)#Ip address 34.25.67.18 255.255.255.224</option>
  <option>eRouter1(config-if)#no shut</option>
</select></p>
<p><b><font color="#FF00FF">6</font>.</b>
<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;</span>Next connect 
to eRouter 2 and set its hostname to eRouter2. Then enter its Ethernet 0 interface</p>
<p><select size="1" name="D1">
  <option selected>- Click here to View Answer -</option>
  <option>Router&gt;en</option>
  <option>Router#conf t</option>
  <option>Router(config)#hostname eRouter2</option>
  <option>eRouter2(config)#interface Ethernet 0</option>
  <option>eRouter2(config-if)#</option>
</select></p>
<p><font color="#FF00FF"><b>7.</b></font> 
<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;</span>Set the IP 
address for this interface to: <b>34.25.67.2 255.255.255.224</b>.</p>
<p><select size="1" name="D1">
  <option selected>- Click here to View Answer -</option>
  <option>eRouter2(config-if)#Ip address 34.25.67.2 255.255.255.224</option>
  <option>eRouter2(config-if)#no shutdown</option>
</select></p>
<p><b><font color="#FF00FF">8</font>.</b><span style="font-style: normal; font-variant: normal; font-weight: normal">
</span>Now exit back to Privilege mode.</p>
<p><select size="1" name="D1">
  <option selected>- Click here to View Answer -</option>
  <option>eRouter2(config-if)#end</option>
</select></p>
<p><b><font color="#FF00FF">9</font>.</b> We will want to telnet to eRouter 1. The 
IP 
address we will use is the Ethernet 0抯 IP of <b>34.25.67.18</b></p>
<p><select size="1" name="D1">
  <option selected>- Click here to View Answer -</option>
  <option>eRouter2#telnet 34.25.67.18</option>
</select></p>
<p><b><font color="#FF00FF">10</font>.</b> The first thing you will notice is the screen 
will now ask you for a password. Enter in the password boson and press enter. 
The message box will tell you that we offer a limited support for telnet.&nbsp; You 
should notice the hostname of the router&nbsp; changed to 揺Router1

⌨️ 快捷键说明

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