版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、排错手册:第一章排错基本操作:第一:必须了接用户网络并画出现有网络拓扑图包括:1. 物理接口2. 逻辑接口3. 生成树root和blocked接口4. 如果不能清楚描述evpcpo2vpc peer-link e1/1t 1/2 po101 domain 101vpc peer-link e1/1t 1/2 po102 domain 102vpc peer-link e1/z2/2 po100 domain 100n5kjx n5k-2n5k-3 n5k-4 t n5k5rstp root n7k-1 i n7k-2e3/1 e4/1 ;:e3/1 e4/1ie3/2©4/2e1/3
2、0e1/31e1/30e1/31vpc peer-keep e1/1 - e1/1第二:show tech-support使用传统show tech-support方式获取 该文件有时会非常大而且需要非常多的时间去生产 如果没有时间可以使用tac-pac命令生产一个zips到volatile:上。n5k-1# tac-pacn5k-1# dir vola|tile:180242 jan 28 4:37:26 2011 show tech outgzas of 5.0(3), there are 68n5k-1< show tech-support ?aaaaclmgr edjmgr ar
3、p escii-cfg a3soc_mgr bcm-usd bootvar brief btcm callhome cdpdisplay aaa informationacl commandsdisplay adjmgr informationdisplay arp infcrmationshow ascii-cfg information for technical support personnel gather detailed information for assoc_mgr troubleshooting gather detailed information for bcm us
4、d troubleshooting gather detailed information for bootui: troubleshooting display the switch summarygather detailed information for 3tcm componentcallhome troubleshooting informationgather information for cdp trouble shootingsession-mgr snap sockets 3pmsysmgrtiae-optimized track.vdcvpcvtpxmlgather i
5、nformation for troubleshooting session managergather info related to snmodisplay sockets status and configurationservice policy managergather detailed information for st? troubleshootinggather detailed inforaation for sysmgr troubleshootinggather tech-support faster, requires more memory & disk,
6、 space show track techinformationgather detailed information for vdc troubleshootinggather detailed information for vpc troubleshootinggather detailed information for vtp troubleshootinggather information for xml troushooting第三:查看日志使用show命令后面添加文件路径能够统一输出到同一文本里面。log your outputredirect and appendn5k-
7、1# show clock > bootflash:debug-file.txtn5k-丄# show mac address-table » bootflash:debug-file.txt n5k-1# show running-config i count >> bootflash:debug-file.txtn5k-1# show file bootflash:debug-file.txtnon apr 4 02:39:41 utc 2011<= output from show clocklegend:<= output from show m
8、ac address-table* - primary entry# g gateway mac# (r) routed mac, o overlay macage - seconds since last seenr + - primary entry using vpc peerlinkvlan mac addresstypeage secure ntfy portsv 990021.5ad8.c424dynamic0ffpo500* 10021.5ad8.c424dynamic250ffethl01/l/2£45<= output from show running-co
9、nfig i count查看logging的方式:show logging logfiletry using start -time or lastn5>:-1# show logging logfile start-time 2011 mar 9 20:00:002011 mar 9 20:17:18 esc-n5548-l %ethport-5-if_down_none: interface ethernetl/1 is down (no|ie)2011 mar 9 20:17:18 esc-n5548-l %ethport-5-if_down_none: interface eth
10、ernetl/3 is down (none)n5k丄< show<l-9999>logging last ?enter number of lines to displayshow accounting log能够查看修改配置的历史包括成功与失败的记录。show logging nvram永久的日志记录就算重启也能查看,帮助你査看crash和重启的记录。第二章操作系统概述nx-os操作系统分为以下3个部分 fsm mts crashes2.1 nx-os操作技巧2.1.1在操作命令时可以自动支持上一级操作命令,无需提出上一级。n5k3(config)# switch?swi
11、tchport configure switchport parameters <= matching in config-if moden5k3(config-if)# switchn?switchname configure system's host name <= matching in config mode2.1.2文件系统文件名能够自动补全nek-3# (config)# show file bootflash:s?bootflash:stplog1nek-3# (config)# install all system bootflash:n5<tab&
12、gt; bootflash:n5000-uk95.03.n11.binbc-otf lash: n5000-uk .n2.1 .bin2.1.3在命令列表里査看相应关键字的命令。n5k-3# show cli list | grep switchport show system default switchport san show interface switchport show interfa|ce <if-mr> switchport2.1.4 ctrl-c终结当前输出的信息。n5k-3# show tech-support show tech-support
13、 ctrl-c2.1.5查看nxos系统文件架构和使用情况如果/var/tmp满了将不能升级和想不到的记录 可以通过重启和思科tac来解决。 mounts could fill, watch /var/tmp - it is cleared by reload or with tacih! a full /var/tmp can cause upgrade errors, unexpected logsn5k丄* show systen internal flashmoant-onlk-blocksusedavailableuse%filesystea/2048001114609334055/
14、dev/root/proc0000proc/s/s0000none/isan1536000453760108224030none/v-ir/tap1310721081309641none/vr/sysmgr51200047005073001none/var/sysnigx/f tp2048004860415619624none/vr/sysragr/f tp/cores204800204800none/cmllhome327680327680none/dv/shm2621449593616620837none/volatile61440014400none/chbug2048420441non
15、e/dv/mqueue0000none/nnt/cfg/03925743323289812/dev/sda5/xxnt/cf g/13724243323098713/dev/sda6/vmr/sysmgr/startup-cfg1024003112992884none/dv/pts0000devpts/nnt/plog561921784544084/dev/mtdblock2/mat/pss3927360583118717/dev/sda4/botflash85984876844750495/dev/sda32.1.6 volatie 介绍和 debug 输出volatie:文件系统是虚拟的,
16、是临时的,但系统重启后将不会保存。log:文件系统在root/里下面是如何保存查看及清除debug信息的操作n5k-1# debug logfile ciscolive_debugsn5k-1# show debugoutput forwarded to file ciscolive_debugs (size: 4194304 bytes)debuglevelissettominor (1)n5k-1#dirlog0apr0401:14:012011ciscolive_debugs31mar1111:38:352011dmesg0mar1111:38:572011libfipf.4365791
17、01apr00:34:022011messages6670apr0400:06:012011startupdebugn5k-1#copylog:ciscolive debugs tftp:enter vrf: managemententer hostname for the tftp server: 34 trying to connect to tftp serverconnection to server established.itftp put operation was successfuln5kclear debug-logfile ciscolive_debu
18、gs-cr-一n5k-1# undebug all2.2 ns-os fsm 介绍fsm全面finite state machine有限的状态机制 用于记录nsos里很多重要的处理。 用它来记录当问题出现时的状态和debugging等信息。最重要是对比时间戳和内部进程加的 通信。它包括以下处理记录: ethpc -ethernet port client: responsible for talking to the mac and phy ethpm -ethernet port manager: responsible for translating between configurati
19、on and ethpc ethpc would in form ethpm that link is up, and then ethpm will! proceed to give instructions on what the configuration is for the port port-channel -port-channeling process responsible for aggregating physical links into logical channels lacp -802.3ad standard for aggregating links fwm
20、-forwarding manager; responsible for programming hardware according to the software configuration下而是关于el/3的记录查看流程:example: afex comes online after e1/3 is brought upnsk-1# show2005 feb 2 in mode fexlogg13:16:49fabricesc-n5020丄 %ethportif up:interface ethernetl/3 is up2005 feb 2 manager has 2005 feb
21、213:16:47 esc-n5020-l %sysmgr-fex100-5-module_online: system received notification of local rr.odule becoming online.13:16:47 esc-n5020-l %satctrl-fex100-2-satctrl: fex-100 module 1:cold boot a give n fex host in terface shows "port cfgn message indicates preparatio n to en able the in terface*
22、el/3 up at 13:16:49n:k-1* show platform software ethpc event-history interface el00/l/41) event if_pcfg_rsp/ len: q, at 243054 usees after wee feb 2 13:16:54 2011 sent port cfg message response to ethpm - id: 0x2ccl819z status: success port-cha nnel history shows an if_create eve nt n ear this time
23、this is all related to a fex coming online, while e 100/1/4 is con figured as a port-channel member and is coming upn5<-1# show port-channel internal event-history interface el00/l/4»»fsm: <ethernetl00/l/4> has 1 logged trans it ions««<1) fsm:<ethernetl00/l/4> t
24、ransition at 447889 usees after wed feb 2 13:16:54 20l1previous state: pcm_eth_port_st_init_downtriggered event: pcm_port_ev2lfcreatenext state: fsm_st_no_changet curr state: pcm eth port st init down2.3 nx-os mts 介绍:mts全称message and transaction service信息和交易系统用于和处理器通倍。 当排错一个进程的时候 我们可以查看特定的mts信息队列。mts信息会出现得很快或者队列会在顶部。一般用于检测以下错误时查看: high cpu unresponsivecli / timeout control-planedisrupt!on persists nt que
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025-2026学年大班科学找空气说课稿
- 2025-2026学年七年级政治教材说课稿
- 2025-2026学年壁画赏析课说课稿
- 2025-2026学年北京美术说课稿app
- 2025-2026学年华图中小学教综内部说课稿
- 船体拆解工安全教育水平考核试卷含答案
- 纺粘和熔喷精密组件清理工常识强化考核试卷含答案
- 热敏电阻器制造工安全理论强化考核试卷含答案
- 拖拉机锻造加工生产线操作调整工安全培训效果水平考核试卷含答案
- 栓皮制品工安全检查评优考核试卷含答案
- 2026年高校辅导员经典面试题(含答案)
- 2026年东阳市城管辅助人员招聘真题(附答案)
- 关于支付拖欠工程款的催办函(8篇)
- 2026八年级劳动国家质量监测考试卷含答案
- 冬季安全生产综合注意事项(防冻、防滑、防火、防爆、防中毒)课件
- ISO14644-5-2025洁净室及相关受控环境-第5部分运行中文版
- (2025年标准)抵押手表协议书
- 120急救车消毒规范与操作流程
- LY/T 2142-2013喷播用木质纤维
- LY/T 2091-2013极端干旱区荒漠生态系统定位观测指标体系
- 商界社会责任倡议(BSCI)行为守则标准解读验课件
评论
0/150
提交评论