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

📄 cdp_theory.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>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="#008000" face="Arial">Basic Lab Overview</font></b></p>
<p><font face="Arial">This lab is designed to introduce the Cisco Discovery 
Protocol (CDP) and some of its available commands.</font></p>
<font face="Arial, Helvetica"><font face="Arial, Arial, Helvetica">
<h1><font color="#008000" size="4">The Cisco Discovery Protocol (CDP) Discovery Protocol</font></h1>
<p>CDP allows devices to share basic configuration information without even 
configuring any protocol specific information and is enabled by default
on all interfaces.</p>
<p>CDP is a Datalink Protocol occurring at Layer 2 of the OSI model.&nbsp;&nbsp;
<br>
This is important to understand because CDP is not routable and can only
traverse to directly connected devices.</p>
<p>CDP allows you to view information such Operating System Version, Protocol
Information, and much more.&nbsp;&nbsp; <br>
This can be very handy for
troubleshooting a variety of problems.</p>
<p>CDP Configuration by default it is enabled on the router and all interfaces.&nbsp;<br>
The
commands are simple:</p>
<p><font color="#008000" size="4"><strong>Global Configuration Commands:</strong></font></p>
</font></font>
<font face="Terminal">
<table borderColorDark="#999966" width="100%" borderColorLight="#cccc99" border="1">
  <tbody>
    <tr>
      <td width="36%">no cdp run</td>
      </font>
      <td width="64%"><font face="Arial">turn off CDP for the entire router</font></td>
    </tr>
      <font face="Arial, Helvetica">
<font face="Terminal">
<font face="Terminal" size="2">
    <tr>
      <td width="36%">cdp run</td>
      </font></font>
</font>
      <td width="64%"><font face="Arial">(default) turn it on for the entire router</font></td>
    </tr>
<font face="Terminal" size="2">
    <tr>
      <td width="36%">cdp timer 120</td>
      </font>
      <td width="64%"><font face="Arial">would change CDP to advertise every 120 seconds</font></td>
    </tr>
  </tbody>
</table>
      <font face="Arial, Helvetica"><font face="Arial, Arial, Helvetica">
<font face="Terminal">
<font face="Arial, Arial, Helvetica">
      <font face="Arial, Helvetica">
<p><font color="#008000" size="4"><strong>Interface Configuration Commands:</strong></font></p>
</font>
</font>
</font>
</font>
</font>
<font face="Terminal">
<table borderColorDark="#999966" width="100%" borderColorLight="#cccc99" border="1" height="47">
  <tbody>
    <tr>
      <td width="35%" height="18">cdp enable</td>
      </font>
      <td width="65%" height="18"><font face="Arial">(default) turn it on for the interface</font></td>
    </tr>
    <font face="Arial, Arial, Helvetica">
<font face="Arial, Helvetica">
<font face="Terminal" size="2">
    <tr>
      <td width="35%" height="17">no cdp enable</td>
      </font></font>
</font>
      <td width="65%" height="17"><font face="Arial">turn it off for interface</font></td>
    </tr>
  </tbody>
</table>
<font face="Arial, Arial, Helvetica">
<font face="Arial, Helvetica"><font face="Arial, Arial, Helvetica">
<p><font color="#008000" size="4"><strong>Show Commands:</strong></font></p>
</font></font>
</font>
<font face="Terminal">
<table borderColorDark="#999966" width="100%" borderColorLight="#cccc99" border="1">
  <tbody>
    <tr>
      <td width="35%">show cdp interface</td>
      </font>
      <td width="65%"><font face="Arial">view interface settings,</font></td>
    </tr>
    <font face="Arial, Arial, Helvetica">
<font face="Arial, Helvetica">
<font face="Terminal" size="2">
    <tr>
      <td width="35%">show cdp neighbor</td>
      </font></font>
</font>
      <td width="65%"><font face="Arial">view directly connected neighbors</font></td>
    </tr>
<font face="Arial, Helvetica"><font face="Arial, Arial, Helvetica">
      <font face="Arial, Arial, Helvetica">
<font face="Terminal" size="2">
    <tr>
      <td width="35%">show cdp neighbor detail</td>
      </font>
</font>
</font>
      </font>
      <td width="65%"><font face="Arial">view detailed information about neighbors</font></td>
    </tr>
<font face="Arial, Helvetica"><font face="Arial, Arial, Helvetica">
      <font face="Arial, Arial, Helvetica">
      <font face="Arial, Arial, Helvetica">
<font face="Terminal" size="2">
    <tr>
      <td width="35%">show cdp</td>
      </font>
</font>
</font>
</font>
      </font>
      <td width="65%"><font face="Arial">general information</font></td>
    </tr>
  </tbody>
</table>
<font face="Arial, Helvetica">
<font face="Arial, Helvetica">
<font face="Arial, Helvetica">
<font face="Arial, Helvetica">
<font face="Arial, Helvetica">
<font face="Arial, Helvetica">
<font face="Arial, Helvetica">&nbsp;</font></font></font></font></font></font></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 + -