考试网 >> IT认证 >> Oracle >> Oracle指导 >> CCNA中文笔记-Router

CCNA中文笔记-Router

发布时间:2006-06-28 10:00     点击:
分页:上一页  1 2 3 4 [5] 6 7 8 9  下一页

  1.CDP timer:CDP包传给每个活跃接口的时间间隔,默认是60秒

  2.CDP holdtime:某设备从相邻设备收到的包的保持时间,默认是180秒

  如下:

  Router#sh cdp

  Global CDP information:

  Sending CDP packets every 60 seconds

  Sending a holdtime value of 180 seconds

  Router#

  可以修改默认的时间,分别在全局配置模式下使用cdp timer和cdp holdtime命令,如下:

  Router#conf t

  Router(config)#cdp timer 90

  Router(config)#cdp holdtime 240

  在所有接口上关闭CDP,在全局配置模式下使用no cdp run命令;关闭某个接口的CDP使用no cdp enable命令.再次打开分别使用cdp run和ccdp enable命令.如下:

  Router(config)#no cdp run

  Router(config)#int fa0/1

  Router(config-if)#no cdp enable

  Gathering Neighbor Information

  使用show cdp neighbour可以显示直接相连的设备的信息,如下:

  Router#sh cdp nei

  Capability Codes: R – Router, T – Trans Bridge,

  B – Source Route Bridge, S – Switch, H – Host,

  I – IGMP, r – Repeater

  Device ID Local Intrfce Holdtime Capability Platform Port ID

  1900Switch Eth 0 238 T S 1900 2

  2500B Ser 0 138 R 2500 Ser 0

  Router#

  一些选项的解释如下:

  1.Device ID:直接相连的设备的主机名

  2.Local Interface:接收CDP包的接口
分页:上一页  1 2 3 4 [5] 6 7 8 9  下一页
版权申明:未经书面授权请勿转载本站信息!!作品版权归所属媒体与作者所有!!
发表评论: 匿名发表 用户名: 查看评论
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容
本站提醒:不要进行人身攻击。谢谢配合。
在本站搜索相关信息
2003-2005 Ksw123.com All Rights Reserved. - TOP
Copyright © 2006 Ksw123.com. All rights reserved.中国考题网 版权所有