ImageVerifierCode 换一换
格式:DOC , 页数:5 ,大小:43.50KB ,
资源ID:3259079      下载积分:20 文钱
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,省得不是一点点
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.wenke99.com/d-3259079.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: QQ登录   微博登录 

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(cdp基本命令.doc)为本站会员(11****ws)主动上传,文客久久仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知文客久久(发送邮件至hr@wenke99.com或直接QQ联系客服),我们立即给予删除!

cdp基本命令.doc

1、1.show cdp 显示 cdp 更新时间及保持时间R1#sh cdp *Mar 1 00:14:28.951: %SYS-5-CONFIG_I: Configured from console by consoleR1#sh cdp neiCapability Codes: R - Router, T - Trans Bridge, B - Source Route BridgeS - Switch, H - Host, I - IGMP, r - RepeaterDevice ID Local Intrfce Holdtme Capability Platform Port IDR2 S

2、er 0/0 167 R S I 3640 Ser 0/02.show cdp neighors 显示每个接口的邻居信息R1#sh cdp neiR1#sh cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route BridgeS - Switch, H - Host, I - IGMP, r - RepeaterDevice ID Local Intrfce Holdtme Capability Platform Port IDR2 Ser 0/0 142 R S I 3640 Ser 03.

3、show cdp interface 显示各端口的 cdp 状态。R1#sh cdp intR1#sh cdp interface Serial0/0 is up, line protocol is upEncapsulation HDLCSending CDP packets every 60 secondsHoldtime is 180 secondsSerial0/1 is administratively down, line protocol is downEncapsulation HDLCSending CDP packets every 60 secondsHoldtime i

4、s 180 secondsSerial0/2 is administratively down, line protocol is downEncapsulation HDLCSending CDP packets every 60 secondsHoldtime is 180 secondsSerial0/3 is administratively down, line protocol is downEncapsulation HDLCSending CDP packets every 60 secondsHoldtime is 180 secondsFastEthernet1/0 is

5、administratively down, line protocol is downEncapsulation ARPASending CDP packets every 60 secondsHoldtime is 180 seconds4.show cdp traffic (显示 cdp 广播的数量统计) 本命令显示路由器已发送和接收了多少 cdp 报文。也显示收到了多少错误的 cdp 报文。R1#sh cdp traR1#sh cdp traffic CDP counters :Total packets output: 12, Input: 6Hdr syntax: 0, Chksu

6、m error: 0, Encaps failed: 0No memory: 0, Invalid packet: 0, Fragmented: 0CDP version 1 advertisements output: 0, Input: 0CDP version 2 advertisements output: 12, Input: 65.clear cdp counters 计数从 0 重新开始R1#clear cdp countersR1#6.clear cdp table 将清除路由器的 CDP 表。R1#clear cdp tableR1#7.cdp run 使用 cdp 应用到整

7、个路由器上,而应用 no cdp run 命令将废除任何 cdp 功能。因为缺省设置为应用 cdp,故在路由器配置总不在出现,本命令是全局模式R1(config)#cdp runR1(config)#R1(config)#no cdp runR1(config)#8.cdp enable 和 no cdp enable 在接口下启用 cdp 和关闭 cdpR1(config-if)#cdp enableR1(config-if)#R1(config-if)#no cdp enableR1(config-if)#9.cdp timer 本命令设置路由器发送 cdp 更新数据的间隔,缺省设置为 6

8、0s。本命令为全局模式下。Cdp holdtime 设置保持时间R1(config)#cdp timer 60R1(config)#R1(config)#cdp hR1(config)#cdp holdtime 180R1(config)#10.debug cdo packers 调试R1#debug cdp packets CDP packet info debugging is onR1#11.show cdp entry * 显示整个 cdp 信息R1#show cdp entry *-Device ID: R2Entry address(es): Platform: Cisco 364

9、0, Capabilities: Router Switch IGMP Interface: Serial0/0, Port ID (outgoing port): Serial0/0Holdtime : 134 secVersion :Cisco IOS Software, 3600 Software (C3640-IS-M), Version 12.4(10), RELEASE SOFTWARE (fc1)Technical Support: http:/ (c) 1986-2006 by Cisco Systems, Inc.Compiled Wed 16-Aug-06 04:04 by

10、 prod_rel_teamadvertisement version: 2VTP Management Domain: R1#*Mar 1 00:49:19.171: CDP-PA: Packet received from R2 on interface Serial0/0*Mar 1 00:49:19.175: *Entry found in cache*R1#*Mar 1 00:49:44.723: CDP-PA: version 2 packet sent out on Serial0/0cdp 更新时间的设置范围:R2(config)#cdp timer ?Rate at whic

11、h CDP packets are sent (in sec)cdp 保持时间的设置范围:R2(config)#cdp holdtime ?Length of time (in sec) that receiver must keep this packetshow cdp entry * protocols 显示每个直连邻居的 ip 地址R2#sh cdp entry * protocol Protocol information for R1 :IP address: 192.168.1.1show cdp entry * version 显示邻居打的 ios 版本R2#sh cdp en

12、try * version Version information for R1 :Cisco IOS Software, 3600 Software (C3640-IS-M), Version 12.4(10), RELEASE SOFTWARE (fc1)Technical Support: http:/ (c) 1986-2006 by Cisco Systems, Inc.Compiled Wed 16-Aug-06 04:04 by prod_rel_teamShow cdp entry * 和 show cdp neighbors detail 命令一样R2#sh cdp neig

13、hbors detail -Device ID: R1Entry address(es): IP address: 192.168.1.1Platform: Cisco 3640, Capabilities: Router Switch IGMP Interface: Serial0/0, Port ID (outgoing port): Serial0/0Holdtime : 136 secVersion :Cisco IOS Software, 3600 Software (C3640-IS-M), Version 12.4(10), RELEASE SOFTWARE (fc1)Techn

14、ical Support: http:/ (c) 1986-2006 by Cisco Systems, Inc.Compiled Wed 16-Aug-06 04:04 by prod_rel_teamadvertisement version: 2VTP Management Domain: R2#sh cdp entR2#sh cdp entry *-Device ID: R1Entry address(es): IP address: 192.168.1.1Platform: Cisco 3640, Capabilities: Router Switch IGMP Interface:

15、 Serial0/0, Port ID (outgoing port): Serial0/0Holdtime : 176 secVersion :Cisco IOS Software, 3600 Software (C3640-IS-M), Version 12.4(10), RELEASE SOFTWARE (fc1)Technical Support: http:/ (c) 1986-2006 by Cisco Systems, Inc.Compiled Wed 16-Aug-06 04:04 by prod_rel_teamadvertisement version: 2VTP Management Domain: Device ID 直连设备的主机名Local Interface 要接收 cdp 数据包的端口或接口Holdtime 如果没有接收到其他 CDP 数据包,路由器在丢弃接收到的信息之前将要保存的时间量。Capability 邻居设备的性能,如路由器、交换机或中继器。性能代码在命令中输出的顶端 列出Platfirm 直连的 Cisco 设备类型。Port ID 组播 cdp 数据包的相邻设备的端口或接口。

Copyright © 2018-2021 Wenke99.com All rights reserved

工信部备案号浙ICP备20026746号-2  

公安局备案号:浙公网安备33038302330469号

本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。