资源描述:
《cisco发现协议》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Cisco发现协议CiscoDiscoveryProtocol深圳职业技术学院计算机系网络专业教学目标(Objectives)1.Cisco发现协议特征(FeatureofCiscoDiscoveryProtocol)2.CDP命令(CDPCommand)3.开启和关闭CDP(EnableanddisableCDP)4.远程登录(telnet)Cisco发现协议(CiscoDiscoveryProtocol)1.Cisco提供的专有的命令CDPrunsonallCiscoequipment2.获得直接连接的设
2、备的信息摘要TheprimaryuseofCDPistodiscoverallCiscodevicesthataredirectlyconnectedtoalocaldevice.3.运行在数据链路层CiscoDiscoveryProtocol(CDP)isaLayer2protocol4.Cdp版本1在10.3版本后会自动启动CDPVersion1isenabledbydefaultwithCiscoIOS(Release10.3later).5.cdp更新周期60秒CDPupdatetimeris60s6
3、.cdp过期周期180秒CDPholdtimeris180s信息摘要包括(Summaryinformationincludes):设备ID(DeviceID)本地接口(LocalInterface)保持时间(Holdtime)功能(Capability)平台(Platform)端口ID(PortID)VTP域名(VTPManagementDomainName(CDPv2only))本征VLAN(NativeVLAN(CDPv2only))全双工/半双工(Full/Half-Duplex(CDPv2only))
4、CDPshowcdpCDPCDP用CDP发现邻居(DiscoveringNeighborswithCDP)UsingtheshowcdpneighborCommandRouterA#shcdpneighborsCapabilityCodes:R-Router,T-TransBridge,B-SourceRouteBridgeS-Switch,H-Host,I-IGMP,r-RepeaterDeviceIDLocalIntrfceHoldtmeCapabilityPlatformPortIDRouterBSer
5、0148R2522Ser1SwitchAEth0167TS19002SwitchBRouterARouterBSwitchA10.3.3.210.3.3.110.1.1.110.1.1.210.2.2.110.2.2.2S0S1UsingtheshowcdpentryCommandRouterA#shcdpentry*-------------------------DeviceID:RouterBEntryaddress(es):IPaddress:10.1.1.2Platform:cisco2522,Ca
6、pabilities:RouterInterface:Serial0,PortID(outgoingport):Serial1Holdtime:168secVersion:CiscoInternetworkOperatingSystemSoftwareIOS(tm)2500Software(C2500-JS-L),Version12.0(3),RELEASESOFTWARE(fci)Copyright(c)1986-1999byciscoSystems,Inc.CompiledMon08-Feb-9918:1
7、8byphanguyeSwitchBRouterARouterBSwitchA10.3.3.210.3.3.110.1.1.110.1.1.210.2.2.110.2.2.2S0S1CDP其它命令(AdditionalCDPCommands)RouterA#shcdptrafficCDPcounters:Packetsoutput:56,Input:38Hdrsyntax:0,Chksumerror:0,Encapsfailed:3Nomemory:0,Invalidpacket:0,Fragmented:0
8、RouterA#shcdpinterfaceBRI0isadministrativelydown,lineprotocolisdownEncapsulationHDLCSendingCDPpacketsevery60secondsHoldtimeis180secondsSwitchBRouterARouterBSwitchA10.3.3.210.3.3.110.1.1.110.1.1.210.2.2