




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Cisco发现协议发现协议Cisco Discovery Protocol深圳职业技术学院计算机系网络专业第1页/共14页教学目标(教学目标( Objectives ) 1. Cisco发现协议特征(Feature of Cisco Discovery Protocol ) 命令(CDP Command ) 3.开启和关闭CDP(Enable and disable CDP) 4. 远程登录(telnet ) 第2页/共14页Cisco发现协议(发现协议( Cisco Discovery Protocol ) 提供的专有的命令 CDP runs on all Cisco equipment 2
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 版本1在版本后会自动启动 CDP Version 1 is enabled by default with Cisco IOS (Release 10.3 later). 更新周期60秒 CDP update timer is 60s
3、 过期周期180秒 CDP hold timer is 180s第3页/共14页 信息摘要包括(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) )
4、CDPshow cdpCDPCDP用用CDP发现邻居(发现邻居(Discovering Neighbors with CDP)第4页/共14页Using 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 Po
5、rt IDRouterB Ser 0 148 R 2522 Ser 1SwitchA Eth 0 167 T S 1900 2 SwitchBRouterARouterBSwitchAS0S1第5页/共14页Using the show cdp entry CommandRouterA#sh cdp entry *-Device ID: RouterB Entry address(es): IP address: Platform: cisco 2522, Capabilities: Router Interface: Serial0, Port ID (outgoing p
6、ort): 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 phanguyeSwitchBRouterARouterBSwitchAS0S1第6页/共14页CDP其它命令(其它命令(
7、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 protocol is down Encapsulation HDLC Sending CDP packets
8、every 60 seconds Holdtime is 180 secondsSwitchBRouterARouterBSwitchAS0S1第7页/共14页1. 在全局配置模式下使用(no)cdp run 命令开启或关闭所由接口的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 b
9、e enabled on each of the devices interfaces by using the cdp enable command. 开启和关闭开启和关闭CDP(Enable and disable CDP)第8页/共14页配置周期(配置周期(Configuring Timer) Router(config)#cdp timer 5 Router(config)# cdp holdtime 15第9页/共14页用用telnet连接到远程主机连接到远程主机(Using Telnet to Connect to Remote Devices)Remote deviceSwitc
10、hBRouterARouterBSwitchAS0S1RouterA#telnet Trying . Open-Catalyst 1900 Management ConsoleCopyright (c) Cisco Systems, Inc. 1993-1998All rights reserved.Enterprise Edition SoftwareEthernet Address: 00-90-86-73-33-40PCA Number: 73-2239-06PCA Serial Number: FAA02359H8KModel Number: WS-C1924-ENS
11、ystem Serial Number: FAA0237X0FQ.RouterB第10页/共14页查看查看telnet连接(连接(Viewing Telnet Connections)SwitchBRouterARouterBSwitchAS0S1RouterA#sh sessionConn Host Address Byte Idle Conn NameRouterA#sh user Line User Host(s) Idle Location* 0 con 0 3 2 第11页/共14页挂起挂起telnet会话(会话(Suspending a Telnet Session)SwitchBRouterARouterBSwitchAS0S1RouterB# xRouterA#sh sessionConn Host Address Byte Idle Conn NameRouterA#resume 1RouterB#第12页/共14页RouterA#disconnect Closing connection to confirmRouterA#clear line 11confirm
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 文献资源建设考核试卷
- 玉石在新时代文化建设弘扬民族精神中的价值考核试卷
- 缝制机械的绿色设计理念考核试卷
- 珠海市高三上学期学业质量监测文综历史试题
- 辽宁政法职业学院《中学历史教学技能训练(Ⅱ)》2023-2024学年第二学期期末试卷
- 上海财经大学《港台文学专题》2023-2024学年第一学期期末试卷
- 吉林省松原市前郭尔罗斯蒙古族自治县重点达标名校2025届中考备考冲刺阶段(查缺补漏)生物试题含解析
- 凉城县2025届数学五年级第二学期期末监测模拟试题含答案
- 西安邮电大学《水处理生物学》2023-2024学年第二学期期末试卷
- 江苏省南京江北新区南京市浦口外国语校2024-2025学年初三下学期第一次诊断(期末)考试语文试题含解析
- 电力施工总承包合同范本2024年
- 海绵城市项目专项工程施工方案
- 同仁堂集团招聘笔试题库2024
- 2023年二级注册计量师考试题目及答案
- 化工1.4丁二醇介绍及生产流程设计书
- 急性冠脉综合征
- 公路水运工程施工企业主要负责人和安全生产管理人员考核大纲和模拟试题库1
- 办公耗材采购服务方案(技术方案)
- 泵、真空设备企业数字化转型策略
- 北师大版小学心理健康教材目录
- 幽门螺杆菌科普课件
评论
0/150
提交评论