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

📄 ntplab.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>Cisco Discovery Protocol 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><b><font size="4" color="green" face="Arial">Lab: &nbsp;Network Time Protocol (NTP)</font></b></p>
<p><font face="Arial"><i>Objective</i>: &nbsp;&nbsp;To understand how 
to setup NTP on Cisco Routers.<br>
<i>Lab Equipment</i>: &nbsp;&nbsp;We will be using  eRouter 1 &amp; 
 
eRouter 2 &nbsp;To 
select  eRouter 1 click 
on the button &quot;eRouter1&quot; at the top of your screen. &nbsp;</font></p>
<font face="Times New Roman">
<p>1)&nbsp; Setup the connection between eRouter 1 (hostname <b>eRouter1</b>), and Router 
2 (hostname <b>eRouter2</b>). eRouter 1 will have an IP address of 1.1.1.1 with a 
255.255.255.0 subnet mask .&nbsp; </p>
</font>

<font face="Arial, Helvetica">
<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1 enable</option>
    <option>eRouter#conf t</option>
    <option>eRouter(config)#hostname eRouter1</option>
    <option>eRouter1(config)#interface E0</option>
    <option>eRouter1(config-if)#ip address 1.1.1.1 255.255.255.0</option>
    <option>eRouter1(config-if)#no shut</option>
    <option>eRouter1(config-if)#end</option>
    </select></font></p>
</font>

<font face="Times New Roman">
<p>Now connect to eRouter 2 by clicking on the eRouter 2 button and give it an IP address of 1.1.1.2 with a 255.255.255.0 subnet mask.</p>
</font>

<font face="Arial, Helvetica">
<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>Router enable</option>
    <option>eRouter#conf t</option>
    <option>eRouter(config)#hostname eRouter2</option>
    <option>eRouter2(config)#interface E0</option>
    <option>eRouter2(config-if)#ip address 1.1.1.2 255.255.255.0</option>
    <option>eRouter2(config-if)#no shut</option>
    </select><br>
<br>
2)
Configure NTP between eRouter1 and eRouter2. R1 should be a client 
and learn the time from eRouter2.&nbsp; eRouter2 will be the master. On eRouter 2 set the 
clock.</p>
</font>
<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter2#clock set 09:21:33 October 5 2001</option>
    </select></font></p>
<font face="Times New Roman">
<p>3) Now set  eRouter 2 to act as the NTP MASTER.</p>
</font>

<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter2#conf t</option>
    <option>eRouter2(config)#ntp master 1</option>
    <option>eRouter2(config)# exit</option>
    </select></font></p>
<font face="Times New Roman">
<p>4) Connect to eRouter1 and make sure you can ping eRouter 2.&nbsp; </p>
</font>

<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1#ping 1.1.1.2</option>
    </select></font></p>
<font face="Times New Roman">
<p>5) Set the ip address of the NTP Server on eRouter 1.</p>
</font>

<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1#conf t</option>
    <option>eRouter1(config)#ntp server 1.1.1.2
    </option>
    </select></font></p>
<font face="Times New Roman">
<p>6 ) Ensure that the time becomes synchronized between the two routers.<br>
Verify that the NTP master is properly synched. </p>
</font>

<p><font face="Times New Roman"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1#show ntp status</option>
    </select></font></p>
<font face="Times New Roman">
<p>
<br>
7)
Verify NTP connectivity to the NTP master from eRouter 1. <br>
<br>
</font>

<font face="Arial, Helvetica">
<font face="Courier New"><select size="1" name="name">
    <option>- Click Here to View Answer -</option>
    <option>eRouter1#show ntp associations</option>
    </select></font><br>
<br>
<b>Did You Succeed?</b></p>
</font>

</font>

<font face="Times New Roman">
<p>On eRouter 1, you should be able to view the NTP associations. You will also 
see the IP address of eRouter 2 listed with an '*' to the left of it:</p>
</font>

<font face="Arial, Helvetica">
<p><font face="Terminal" size="2">eRouter1#sh ntp associations<br>
<br>
address ref clock st when poll reach delay offset disp<br>
*~1.1.1.2 .LOCL. 1&nbsp;&nbsp; 58&nbsp;&nbsp; 64&nbsp;&nbsp; 377&nbsp;&nbsp; 1.8&nbsp;&nbsp;&nbsp; 
-0.37&nbsp; 0.3<br>
* master (synced), # master (unsynced), + selected, - candidate, ~ configured<br>
eRouter1#</font></p>
</font>

<p><font face="Arial" size="2"><span class="724482219-24092001">Copyright (c) 
1998-2003 Boson Software, Inc.&nbsp; All Rights Reserved.</span></font></p>

</body>

</html>

⌨️ 快捷键说明

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