网络互联技术梁广民王隆杰chp05cdp

上传人:w****i 文档编号:101081521 上传时间:2019-09-26 格式:PPT 页数:10 大小:242.50KB
返回 下载 相关 举报
网络互联技术梁广民王隆杰chp05cdp_第1页
第1页 / 共10页
网络互联技术梁广民王隆杰chp05cdp_第2页
第2页 / 共10页
网络互联技术梁广民王隆杰chp05cdp_第3页
第3页 / 共10页
网络互联技术梁广民王隆杰chp05cdp_第4页
第4页 / 共10页
网络互联技术梁广民王隆杰chp05cdp_第5页
第5页 / 共10页
点击查看更多>>
资源描述

《网络互联技术梁广民王隆杰chp05cdp》由会员分享,可在线阅读,更多相关《网络互联技术梁广民王隆杰chp05cdp(10页珍藏版)》请在金锄头文库上搜索。

1、Cisco发现协议 Cisco Discovery Protocol,深圳职业技术学院电子与通信工程学院,教学目标( Objectives ),1. Cisco发现协议特征 (Feature of Cisco Discovery Protocol ) 2. CDP查看命令 (CDP View Commands ) 3. 开启和关闭CDP (Enable and disable CDP) 4. 配置计时器 (Configure timers),Cisco发现协议( Cisco Discovery Protocol ),1.Cisco提供的专有的命令 CDP runs on all Cisco e

2、quipment 2.获得直接连接的设备的信息摘要 Discover all Cisco devices that are directly connected to a local device. 3.运行在数据链路层 Cisco Discovery Protocol (CDP) is a Layer 2 protocol 4.CDP默认自动启动 CDP is enabled by default. 5.CDP默认更新周期60秒 CDP update timer is 60s by default. 6.CDP默认过期周期180秒 CDP hold timer is 180s by defa

3、ult.,信息摘要包括: Summary information includes: 设备ID(Device ID) 本地接口(Local Interface ) 保持时间(Holdtime ) 功能(Capability ) 平台(Platform ) 端口ID(Port ID ) VTP域名(VTP Management Domain Name (CDPv2 only) ) 本征VLAN(Native VLAN (CDPv2 only) ) 全双工/半双工(Full/Half-Duplex (CDPv2 only) ),CDP,CDP,CDP,用CDP发现邻居 (Discovering N

4、eighbors with CDP),使用show cdp neighbor 命令 Using the show cdp neighbor Command,RouterA#show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID RouterB Ser 0 148

5、R 2522 Ser 1 SwitchA Eth 0 167 T S 1900 2,SwitchB,RouterA,RouterB,SwitchA,10.3.3.2,10.3.3.1,10.1.1.1,10.1.1.2,10.2.2.1,10.2.2.2,S0,S1,使用show cdp entry 命令 Using the show cdp entry Command,RouterA#sh cdp entry * - Device ID: RouterB Entry address(es): IP address: 10.1.1.2 Platform: cisco 2522, Capabil

6、ities: Router Interface: Serial0, Port ID (outgoing port): Serial1 Holdtime : 168 sec Version : 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 pha

7、nguye,SwitchB,RouterA,RouterB,SwitchA,10.3.3.2,10.3.3.1,10.1.1.1,10.1.1.2,10.2.2.1,10.2.2.2,S0,S1,CDP其它命令(Additional CDP Commands),RouterA#sh cdp traffic CDP counters : Packets output: 56, Input: 38 Hdr syntax: 0, Chksum error: 0, Encaps failed: 3 No memory: 0, Invalid packet: 0, Fragmented: 0 Route

8、rA#sh cdp interface BRI0 is administratively down, line protocol is down Encapsulation HDLC Sending CDP packets every 60 seconds Holdtime is 180 seconds,SwitchB,RouterA,RouterB,SwitchA,10.3.3.2,10.3.3.1,10.1.1.1,10.1.1.2,10.2.2.1,10.2.2.2,S0,S1,开启和关闭CDP(Enable and disable CDP),1. 在全局配置模式下使用(no)cdp r

9、un 命令开启或关闭所由接口的CDP功能。默认情况下,CDP被全局开启。 The cdp run command is used to enable CDP globally on the router. By default, CDP is globally enabled. 2.在接口模式下使用(no) cdp enable 命令可以开启或关闭某个特定接口的CDP功能。 CDP could be enabled on each of the devices interfaces by using the cdp enable command.,配置周期(Configuring Timer),Router(config)#cdp timer 5 Router(config)# cdp holdtime 15,思考题(Questions),1CDP有哪些特征? 2CDP的功能是什么? 3用CDP可以看到邻居的哪些信息? 4用什么命令可以在接口下控制CDP的启动? 5哪个符号是我们获得帮助时最常用的? 6telnet默认支持几个用户同时登录?,

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 高等教育 > 大学课件

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号