第四章-CDP协议.ppt
《第四章-CDP协议.ppt》由会员分享,可在线阅读,更多相关《第四章-CDP协议.ppt(14页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、.1Cisco发现协议发现协议Cisco Discovery Protocol 2006,Shenzhen Polytechnic.All rights reserved.2教学目标(教学目标(Objectives )1.Cisco发现协议特征(发现协议特征(Feature of Cisco Discovery Protocol)2.CDP命令(命令(CDP Command)3.开启和关闭开启和关闭CDP(Enable and disable CDP)4.远程登录(远程登录(telnet)2006,Shenzhen Polytechnic.All rights reserved.3Cisco发
2、现协议(发现协议(Cisco Discovery Protocol)1.Cisco提供的专有的命令提供的专有的命令CDP runs on all Cisco equipment 2.获得直接连接的设备的信息摘要获得直接连接的设备的信息摘要The primary use of CDP is to discover all Cisco devices that are directly connected to a local device.3.运行在数据链路层运行在数据链路层Cisco Discovery Protocol(CDP)is a Layer 2 protocol 4.Cdp版本版本1
3、在在10.3版本后会自动启动版本后会自动启动CDP Version 1 is enabled by default with Cisco IOS(Release 10.3 later).5.cdp更新周期更新周期60秒秒CDP update timer is 60s6.cdp过期周期过期周期180秒秒CDP hold timer is 180s 2006,Shenzhen Polytechnic.All rights reserved.4信息摘要包括(信息摘要包括(Summary information includes):设备设备ID(Device ID)本地接口(本地接口(Local In
4、terface)保持时间(保持时间(Holdtime)功能(功能(Capability)平台(平台(Platform)端口端口ID(Port ID)VTP域名(域名(VTP Management Domain Name(CDPv2 only))本征本征VLAN(Native VLAN(CDPv2 only))全双工全双工/半双工(半双工(Full/Half-Duplex(CDPv2 only))CDPshow cdpCDPCDP用用CDP发现邻居(发现邻居(Discovering Neighbors with CDP)2006,Shenzhen Polytechnic.All rights r
5、eserved.5Using the show cdp neighbor CommandRouterA#sh cdp neighborsCapability Codes:R-Router,T-Trans Bridge,B-Source Route Bridge S-Switch,H-Host,I-IGMP,r-RepeaterDevice ID Local Intrfce Holdtme Capability Platform Port IDRouterB Ser 0 148 R 2522 Ser 1SwitchA Eth 0 167 T S 1900 2 SwitchBRouterARout
6、erBSwitchA10.3.3.210.3.3.110.1.1.110.1.1.210.2.2.110.2.2.2S0S1 2006,Shenzhen Polytechnic.All rights reserved.6Using the show cdp entry CommandRouterA#sh cdp entry*-Device ID:RouterB Entry address(es):IP address:10.1.1.2 Platform:cisco 2522,Capabilities:Router Interface:Serial0,Port ID(outgoing port)
7、:Serial1Holdtime:168 secVersion:Cisco Internetwork Operating System Software IOS(tm)2500 Software(C2500-JS-L),Version 12.0(3),RELEASE SOFTWARE(fci)Copyright(c)1986-1999 by cisco Systems,Inc.Compiled Mon 08-Feb-99 18:18 by phanguyeSwitchBRouterARouterBSwitchA10.3.3.210.3.3.110.1.1.110.1.1.210.2.2.110
8、.2.2.2S0S1 2006,Shenzhen Polytechnic.All rights reserved.7CDP其它命令(其它命令(Additional CDP Commands)RouterA#sh cdp trafficCDP counters:Packets output:56,Input:38Hdr syntax:0,Chksum error:0,Encaps failed:3No memory:0,Invalid packet:0,Fragmented:0RouterA#sh cdp interface BRI0 is administratively down,line
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 第四 CDP 协议
限制150内