欢迎来到天天文库
浏览记录
ID:49196231
大小:945.00 KB
页数:8页
时间:2020-03-01
《【精品】CDP协议.doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、网络拓扑PC010.1.1.2PC-PTPC4PC-PTPC660-24TTSwitch1PC-PTPCIPC-PT2621XM>?621XM10.1.1.1Router0960-24SwitcnO10.1.1.360-24TTSwitch2pc-pT192.168.1.2PC5192.168.2.210.2.2.210.2.2.3PC-PTPC2PC-PTPC32960-2192.168.2.1Switch3PC?192.168.2.3l.CDP配置(1)在交换机上禁用或启用CDP协议口回冈SwitchOSwitch>Switch>Switch>Switch>enableSwitc
2、h#configtEnterconfigurationcommands,oneperline.EndwithCNTL7Z.Switch(config)#Switch(config)#nocdprunSwitch(config)#cdprunSwitch(config)#end%Invalidinputdetectedatmarker.Switch(config)#endSwitch#%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleSwitch#showcdpGlobalCDPinformation:SendingCDPpacketsever
3、y60secondsSendingaholdtimevalueof180secondsSendingCDPv2advertisementsisenabledSwitch#copyrSwitch#copyrunning-configsSwitch#copyrunning-configstartup-configDestinationfilename[startup-config]?Buildingconfiguration...[OK]Switch#对于Switchl>Switch2>Switch3,配置与SwitchO相同2•在交换机上指定端口上禁用或启用CDP协议Switch#co
4、nftEnterconfigurationcommands,oneperline・EndwithCNTL/Z.Switch(config)#intfO/3Switch(config-if)#nocdpenableSwitch(config-if)#cdpenableSwitch(config-if)#endSwitch#%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleSwitch#showcdpintSwitch#showcdpinterfacefO/3FastEthernetO/1isup,lineprotocolisupSendingC
5、DPpacketsevery60secondsHoldtimeis180secondsSwitch#copyrSwitch#copyrunning-configsSwitch#copy「unning-configstartup-configDestinationfilename[startup-config]?Buildingconfiguration…[OK]Switch#Switch#对于Switch!、Switch2、Switch3,配置与SwitchO相同3•结果验证I.查看路由器ROUTER1的运行配置2.查看交换机1的邻居信息和接口信息3.查看路由器1的邻居信息和接口信息
6、;Router0
此文档下载收益归作者所有