首页>计算机>软件水平考试>复习指导>正文
CISCO发现协议CDP详解

www.zige365.com 2010-7-21 8:40:17 点击:发送给好友 和学友门交流一下 收藏到我的会员中心

  Sending CDP packets every 60 seconds

  Holdtime is 180 seconds

  Serial0 is up, line protocol is up, encapsulation is HDLC

  Sending CDP packets every 60 seconds

  Holdtime is 180 seconds

  Serial1 is administratively down, line protocol is down, encapsulation is HDLC

  Sending CDP packets every 60 seconds

  Holdtime is 180 seconds

  R1#

  保持时间是如何计时与清除超时信息的。

  我们知道CDP过了保持时间以后会自动被清除,那么保持时间是如何被清除的可见如下实验。

  首先我们先到交换机SW1上去关闭交换机与路由器R1的直连端口fastethernet 0/1

  SW1#conf t

  Enter configuration commands, one per line. End with CNTL/Z.

  SW1(config)#int fa 0/1

  SW1(config-if)#no cdp enable

  SW1(config-if)#exi

  SW1(config)#

  然后我们到路由器R1上查看保持时间。

  R1#show 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     Holdtme    Capability Platform Port ID

  SW1                 Eth 0          6            T S       WS-C2912-XFas 0/1

  R2                  Ser 0          136           R        2500      Ser 0

  R1#show 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     Holdtme    Capability Platform Port ID

  SW1                 Eth 0          0            T S       WS-C2912-XFas 0/1

  R2                  Ser 0          130           R        2500      Ser 0

  R1#show 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     Holdtme    Capability Platform Port ID

  R2                  Ser 0          126           R        2500      Ser 0

本新闻共5页,当前在第4页  1  2  3  4  5  

我要投稿 新闻来源: 编辑: 作者:
相关新闻