cisco路由器常用的查看端口和通道状况的命令.doc_第1页
cisco路由器常用的查看端口和通道状况的命令.doc_第2页
cisco路由器常用的查看端口和通道状况的命令.doc_第3页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

cisco路由器常用的查看端口和通道状况的命令下面以Cisco1800路由器为例,介绍一下常用的查看端口和通道状况的命令。 在MS-DOS窗口里敲入命令telnet+IP地址,回车,即可远程登录路由器。一般用路由器局域网口地址。1,用R1#sh ip int b命令查看端口状态R1#sh ip int bInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 100.100.100.226 YES NVRAM up upFastEthernet0/1 200.200.200.226 YES NVRAM up upSerial0/0/0 72.22.81.102 YES NVRAM up upSerial0/0/1 72.22.81.109 YES NVRAM up up正常情况下,思科1800路由器四个端口的Status和protocol都是up的。2,用R1#sh int s0/0/0查看链路状态和通道情况Serial0/0/0 is up, line protocol is up /接口与协议都已启动(正常)Serial0/0/0 is up, line protocol is down /接口启动,协议没有匹配成功(端口无物理故障,但通道不通)Serial0/0/0 is down, line protocol is down (notconnect)/接口与协议都DOWN掉,本端端口没有与对方建立物理连接,可能是对方设备没有开启,对方端口故障或者线路故障造成。Serial0/0/0 is down, line protocol is down /接口与协议都DOWN掉(协转没有工作)Serial0/0/0 is down,line protocol is down(disable)/端口出现物理性故障,需更换端口。Serial0/0/0 is administratively down,line protocol is down /接口关闭,可用命令打开。Serial0/0/0 is up, line protocol is down(looped) /此通道上有环(无论在协转、DDF架、SDH上做环,在路由器里看到的显示是一样的)。Serial0 is up, line protocol is downHardware is PowerQUICC SerialInterface is unnumbered. Using address of FastEthernet0/0 (172.22.128.193)MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,reliability 255/255, txload 1/255, rxload 1/255 /通道的可靠性Encapsulation PPP, LCP Listen, loopback not setLast input 00:00:27, output 00:00:27, output hang neverLast clearing of show interface counters 00:02:52 /上次计数器清零到现在的时间Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0Queueing strategy: weighted fairOutput queue: 0/1000/64/0 (size/max total/threshold/drops)Conversations 0/2/256 (active/max active/max total)Reserved Conversations 0/0 (allocated/max allocated)Available Bandwidth 1158 kilobits/sec5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec30 packets input, 420 bytes, 0 no bufferReceived 0 broadcasts, 0 runts, 0 giants, 0 throttles6552 input errors, 0 CRC, 4 frame, 0 overrun, 0 ignored, 0 abort/ 输入错误包数量60 packets output, 840 bytes, 0 underruns0 output errors, 0 collisions, 9 interface resets0 output buffer failures, 0 output buffers swapped out0 carrier transitionsDCD=up DSR=up DTR=up RTS=up CTS=up 通道的可靠性,正常值是255/255,如果低于254将会造成丢包。可靠性越低,通道越差,错误包越多。DCD 数据载体检测DTE CARrfer derectDSR 数据设置就绪DATA SET READYDTR 数据终端就绪DTE IS READYRTS 请求发送Reguest To SendCTS 清除发送Clear To send3,路由器端口计数器清零有故障的通道往往造成路由器接口的输入错误包数量很高,不便于比较查看。这时最好把接口数据包计数器清零,使其重新开始计数。用R1#clear coun命令清零。R1#clear coun4,判断以太网端口故障用R1#sh int f0/0 来检查以太网口及其链路的状态,如下所示:R1#sh int f0/0FastEthernet 0 is up,line protocol is up /连接正常Ethernet 0 is up,line protocol is down /连接故障,路由器没有连接到局域网Ethernet 0 is down,line protocol is down(disable) /接口故障Ethernet 0 is administratively down,line protocol is down /接口被关闭,可用命令打开5,查看相邻路由器用R2#sh cdp nei命令查看相邻路由器,输出如下:R2#sh cdp neiCapability Codes: R - Router, T - Trans Bridge, B - Source Route BridgeS - Switch, H - Host, I - IGMP, r - RepeaterDevice ID Local Intrfce Holdtme Capability Platform Port IDR1 Ser 0/0/0 133 R S I 1841 Ser 0/0/1S2_SW1 Fas 0/0 125 S I WS-C2960-2Fas 0/6S2_SW2 Fas 0/1 140 S I WS-C2960-2Fas 0/22R3 Ser 0/0/1 156 R S I 1841 Ser 0/0/0此命令可以查看到相邻的思科路由器和思科交换机,可以验证设备是否相通,以及连

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论