📄 cisco发现协议(cdp)理论与实践 理论 实践 协议 发现 cdp cdp 信息 is 接口 命令 路由器 _中国网管联盟_bitscn_com6.htm
字号:
Cisco Internetwork Operating System Software
IOS (tm) 3000 Software (IGS-I-L), Version 11.0(3), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1995 by cisco Systems, Inc.
Compiled Tue 07-Nov-95 15:04 by deannaw
R1# <DIV class=Elh427>BBS.bitsCN.com网管论坛</DIV> </PRE></TD></TR></TBODY></TABLE>
<DIV class=Elh427>www@bitscn@com</DIV>
<P></P>
<P> 查看CDP定时器,用DEBUG动态查看信息收集CDP的组播更新,在启动CDP时是即时发送更新包,还是等到定时器满才发送更新包,更新是从主机名是什么以及哪个接口发送而来的更新,可以从中查获CDP是否正常发送更新数据包。
<FONT color=#fafafd>[bitsCN.Com]</FONT> </P>
<P> 调试过程如下。
<P class=Elh427>bitsCN#com中国网管联盟</P>
<P></P>
<P> 首先我们回到交换机SW1上,进入交换机fa 0/1接口,输入命令no cdp enable关闭fa
0/1接口的CDP功能,回到R1中查看无任何信息显示,再次回到SW1上输入命令cdp enable启动fa
0/1的以太接口,再次回到R1中查看仍无任何SW1的更新包进入R1的直连接口,因此可证明CDP<A
href="http://www.bitscn.com/network/protocol/"><U>协议</U></A>按照定时器指定时间发送更新而非触发更新。
<FONT color=#fafafd>DL@bitsCN_com网管软件下载</FONT> </P>
<P> 当我们在SW1上关闭fa 0/1接口时fa
0/1接口就停止了发送CDP更新,但是它却没有机制告诉与它直连的接口禁止发送更新包,因此与交换机直连的路由器始终在定时器满时发送更新。
<FONT color=#fafafd>DL@bitsCN_com网管软件下载</FONT> </P>
<P>
<TABLE cellSpacing=1 cellPadding=0 width="80%" align=center
bgColor=#cccccc border=0>
<TBODY>
<TR>
<TD style="PADDING-LEFT: 3px" bgColor=#f2f2f2><PRE>R1#show cdp entry R2 pro
R1#show cdp entry R2 protocol
Protocol information for R2 :
IP address: 10.10.10.2
R1#show cdp entry R2 ver
R1#show cdp entry R2 version
Version information for R2 :
Cisco Internetwork Operating System Software
IOS (tm) 3000 Software (IGS-I-L), Version 11.0(3), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1995 by cisco Systems, Inc.
Compiled Tue 07-Nov-95 15:04 by deannaw
R1# <SPAN class=Elh427>BBS.bitsCN.com网管论坛</SPAN> </PRE></TD></TR></TBODY></TABLE>
<DIV class=Elh427>bbs.bitsCN.com</DIV>
<P></P>
<P> 若要关闭动态packet调试信息,可输入no debug cdp pac即可关闭。
<P class=Elh427>[bitsCN_com]</P>
<P></P>
<P>
<TABLE cellSpacing=1 cellPadding=0 width="80%" align=center
bgColor=#cccccc border=0>
<TBODY>
<TR>
<TD style="PADDING-LEFT: 3px" bgColor=#f2f2f2><PRE>R1#no debug cdp pac
CDP packet info debugging is off
R1# <DIV class=Elh427>DL@bitsCN_com网管软件下载</DIV> </PRE></TD></TR></TBODY></TABLE><SPAN
class=Elh427>bbs.bitsCN.com</SPAN> </P>
<P> <STRONG>★ CDP事件调试</STRONG>
<DIV class=Elh427>bbs.bitsCN.com中国网管论坛</DIV>
<P></P>
<P> 当启动了CDP事件调试命令的时候,CDP即会对相应所发生的事件做出反映。 <FONT
color=#fafafd>BBS.bitsCN.com网管论坛</FONT> </P>
<P> 启动CDP事件调试 <SPAN class=Elh427>bbs.bitsCN.com</SPAN> </P>
<P>
<TABLE cellSpacing=1 cellPadding=0 width="80%" align=center
bgColor=#cccccc border=0>
<TBODY>
<TR>
<TD style="PADDING-LEFT: 3px" bgColor=#f2f2f2><PRE>R1#debug cdp events
CDP events debugging is on <FONT color=#fafafd>bitsCN~com</FONT> </PRE></TD></TR></TBODY></TABLE><FONT
color=#fafafd>www_bitscn_com中国.网管联盟</FONT> </P>
<P> 当邻居设备启动CDP时,启动事件调试的一端会出现R1# CDP-EV: Bad version number in
header的提示信息,而在记时器到达更新的时候也会同样发出R1# CDP-EV: Bad version number in
header的提示信息。 <FONT color=#fafafd>[bitsCN_com]</FONT> </P><FONT
color=#fafafd>bbs.bitsCN.com中国网管论坛</FONT>
<P></P><BR>
<CENTER><STRONG>共6页: <A
href="http://www.bitscn.com/network/other/200711/117929_5.html">上一页</A>
<A
href="http://www.bitscn.com/network/other/200711/117929.html">[1]</A>
<A
href="http://www.bitscn.com/network/other/200711/117929_2.html">[2]</A>
<A
href="http://www.bitscn.com/network/other/200711/117929_3.html">[3]</A>
<A
href="http://www.bitscn.com/network/other/200711/117929_4.html">[4]</A>
<A
href="http://www.bitscn.com/network/other/200711/117929_5.html">[5]</A>
6 下一页 </STRONG><SPAN id=gg3></SPAN></CENTER></TD></TR>
<TR>
<TD align=middle><BR><INPUT class=button title=点击,复制本网址发给QQ/MSN好友分享! onclick=javascript:copyToClipBoard() type=button value=复制本网址推荐给QQ/MSN好友分享!>
</TD></TR>
<TR>
<TD align=middle height=30>【<A title=收藏本文
href="javascript:window.external.addFavorite('http://www.bitscn.com/plus/view.php?aid=117929','CISCO发现协议(CDP)理论与实践|中国网管联盟')"
target=_self>收藏本文</A>】【<A title=推荐好友
href="http://www.bitscn.com/plus/recommend.php?arcID=117929"
target=_blank>推荐好友</A>】【<A
href="http://www.bitscn.com/member/article_add.php"
target=_blank>欢迎投稿</A>】【<A title=打印本文
href="javascript:window.print();" target=_self>打印本文</A>】【<A
title=中国网管论坛 href="http://bbs.bitscn.com/"
target=_blank>网管论坛</A>】</TD></TR>
<TR>
<TD align=middle height=30>上一篇:<A
href="http://www.bitscn.com/network/other/200711/117928.html">IP骨干网BGP路由协议的扩展性</A>
下一篇:<A
href="http://www.bitscn.com/network/other/200711/117930.html">收藏学习:标准网络协议规范大全</A>
</TD></TR>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width="97%" align=center
border=0>
<TBODY>
<TR>
<TD bgColor=#f2f2f9
height=18> <STRONG>相关文章:</STRONG></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD style="PADDING-LEFT: 30px">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="50%"><SPAN class=articlelh18>·<A class=dlgreen2
title=IP骨干网BGP路由协议的扩展性
href="http://www.bitscn.com/network/other/200711/117928.html"
target=_blank>IP骨干网BGP路由协议的扩展性</A></SPAN> </TD>
<TD width="50%"><SPAN class=articlelh18>·<A class=dlgreen2
title=收藏学习:标准网络协议规范大全
href="http://www.bitscn.com/network/other/200711/117930.html"
target=_blank>收藏学习:标准网络协议规范大全</A></SPAN> </TD></TR>
<TR>
<TD width="50%"><SPAN class=articlelh18>·<A class=dlgreen2
title=Cisco标准的EBGP与IBGP协议的区别简介
href="http://www.bitscn.com/network/other/200711/117927.html"
target=_blank>Cisco标准的EBGP与IBGP协议的区别简介</A></SPAN> </TD>
<TD width="50%"><SPAN class=articlelh18>·<A class=dlgreen2
title=网络基础:UDP协议的几个基础特性
href="http://www.bitscn.com/network/other/200711/117931.html"
target=_blank>网络基础:UDP协议的几个基础特性</A></SPAN> </TD></TR>
<TR>
<TD width="50%"><SPAN class=articlelh18>·<A class=dlgreen2
title=路由选择原理笔记之协议比较
href="http://www.bitscn.com/network/other/200711/117926.html"
target=_blank>路由选择原理笔记之协议比较</A></SPAN> </TD>
<TD width="50%"><SPAN class=articlelh18>·<A class=dlgreen2
title=技术动态:MPLS技术支持移动IPv6
href="http://www.bitscn.com/network/other/200711/117932.html"
target=_blank>技术动态:MPLS技术支持移动IPv6</A></SPAN>
</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD>
<DIV class=cDRed
style="PADDING-LEFT: 10px; FONT-SIZE: 14px; PADDING-TOP: 5px">CISCO发现协议(CDP)理论与实践
评论:</DIV><A name=feedbk></A>
<DIV id=feedback>
<OL id=gbook><IMG
src="CISCO发现协议(CDP)理论与实践 理论 实践 协议 发现 CDP cdp 信息 is 接口 命令 路由器 _中国网管联盟_bitsCN_com6.files/ajax_load.gif"
align=absMiddle> 评论加载中… </OL></DIV></TD></TR>
<TR>
<TD height=60> <IMG
src="CISCO发现协议(CDP)理论与实践 理论 实践 协议 发现 CDP cdp 信息 is 接口 命令 路由器 _中国网管联盟_bitsCN_com6.files/tj.gif"
border=0>
<SCRIPT
src="CISCO发现协议(CDP)理论与实践 理论 实践 协议 发现 CDP cdp 信息 is 接口 命令 路由器 _中国网管联盟_bitsCN_com6.files/wangzhe.js"></SCRIPT>
<DIV
class=hr></DIV> 声明:刊登此文章是为了传递更多信息,文章内容仅供学习参考,转载请注明作者与出处。</TD></TR></TBODY></TABLE></TD>
<TD width=11> </TD>
<TD vAlign=top align=middle width=269><SPAN id=gg2></SPAN>
<DIV style="PADDING-TOP: 5px"></DIV>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=gray-bar-dl>本类热门排行:</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=gray-border-graybg style="PADDING-TOP: 5px"
vAlign=top>1.<A class=dlgreen2 title=路由器原理及常用的路由协议、路由算法
href="http://www.bitscn.com/network/other/200606/28217.html"
target=_blank>路由器原理及常用的路由协议、路由算法</A><BR>2.<A class=dlgreen2
title=Ethereal使用入门
href="http://www.bitscn.com/network/other/200606/28221.html"
target=_blank>Ethereal使用入门</A><BR>3.<A class=dlgreen2
title=EPON与GPON的综合比较
href="http://www.bitscn.com/network/other/200606/28219.html"
target=_blank>EPON与GPON的综合比较</A><BR>4.<A class=dlgreen2
title="OSI 开放系统互连模型的七层结构"
href="http://www.bitscn.com/network/other/200611/81418.html"
target=_blank>OSI 开放系统互连模型的七层结构</A><BR>5.<A class=dlgreen2
title=内部网关协议和外部网关协议
href="http://www.bitscn.com/network/other/200606/28220.html"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -