winmp-qq 空间登陆
2023年4月6日发(作者:eset nod32 用户名和密码)
公司一个楼层交换机cisco2960的F0/21端口自己down了,一片怨声载道,人生鼎沸,
妈了个B的。
通过命令:shintf0/21看到如下结果:
cisco12#shintf0/21
FastEthernet0/21isdown,lineprotocolisdown(err-disabled)
HardwareisFastEthernet,addressis0024.1351.2e95(bia0024.1351.2e95)
MTU1500bytes,BW100000Kbit,DLY100usec,
reliability255/255,txload1/255,rxload1/255
EncapsulationARPA,loopbacknotset
Keepaliveset(10sec)
Auto-duplex,Auto-speed,mediatypeis10/100BaseTX
inputflow-controlisoff,outputflow-controlisunsupported
ARPtype:ARPA,ARPTimeout04:00:00
Lastinput19:29:25,output19:29:20,outputhangnever
Lastclearingof"showinterface"countersnever
Inputqueue:0/75/0/0(size/max/drops/flushes);Totaloutputdrops:0
Queueingstrategy:fifo
Outputqueue:0/40(size/max)
5minuteinputrate0bits/sec,0packets/sec
5minuteoutputrate0bits/sec,0packets/sec
130997686packetsinput,2bytes,0nobuffer
Received3733082broadcasts(0multicasts)
0runts,0giants,0throttles
38inputerrors,0CRC,0frame,0overrun,0ignored
0watchdog,3191174multicast,0pauseinput
0inputpacketswithdribbleconditiondetected
121355446packetsoutput,78684231708bytes,0underruns
0outputerrors,0collisions,1interfaceresets
0babbles,0latecollision,0deferred
0lostcarrier,0nocarrier,0PAUSEoutput
0outputbufferfailures,0outputbuffersswappedout
通过红色部分了解端口处于故障状态,然后通过命令shlogging看看日志,结果如下:
cisco12#shlogging
Sysloglogging:enabled(0messagesdropped,1messagesrate-limited,0flushes,0overruns,
xmldisabled,filteringdisabled)
Consolelogging:leveldebugging,219messageslogged,xmldisabled,
filteringdisabled
Monitorlogging:leveldebugging,0messageslogged,xmldisabled,
filteringdisabled
Bufferlogging:leveldebugging,219messageslogged,xmldisabled,
filteringdisabled
ExceptionLogging:size(4096bytes)
Countandtimestamploggingmessages:disabled
Filelogging:disabled
Traplogging:levelinformational,222messagelineslogged
LogBuffer(4096bytes):
hernet0/5,changedstatetodown
7w5d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetoup
7w5d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetoup
7w5d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetodown
7w5d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetoup
7w5d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetodown
7w5d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetodown
7w5d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetoup
7w5d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetoup
7w5d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetodown
7w5d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetodown
7w6d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetoup
7w6d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetoup
7w6d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetodown
7w6d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetoup
7w6d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetodown
7w6d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetoup
7w6d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetodown
7w6d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetodown
7w6d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetoup
7w6d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetoup
8w1d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetodown
8w1d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetodown
8w1d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetoup
8w1d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetoup
8w1d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetodown
8w1d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetodown
8w4d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetoup
8w4d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetoup
8w4d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetodown
8w4d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetodown
8w5d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetoup
8w5d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetoup
9w1d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetodown
9w1d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetodown
9w3d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetoup
9w3d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetoup
9w3d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetodown
9w3d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetodown
9w4d:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetoup
9w4d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/5,changed
statetoup
9w5d:%ETHCNTR-3-LOOP_BACK_DETECTED:Loop-backdetectedon
FastEthernet0/21.
9w5d:%PM-4-ERR_DISABLE:loopbackerrordetectedonFa0/21,puttingFa0/21in
err-disablestate
9w5d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/21,changed
statetodown
9w5d:%LINK-3-UPDOWN:InterfaceFastEthernet0/21,changedstatetodown
9w6d:%LINK-3-UPDOWN:InterfaceFastEthernet0/19,changedstatetoup
9w6d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/19,changed
statetoup
9w6d:%SYS-5-CONFIG_I:Configuredfromconsolebyvty0(192.168.200.254)
9w6d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/19,changed
statetodown
9w6d:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/19,changed
statetoup
红色部分知道了网络有loopbackerrordetected,日吧。
找到问题了,解决吧。进入config模式下通过命令:errdisablerecoverycauseloopback,
心急了用showerrdisablerecovery命令看看还有多少秒完成,日,修复个错误还要几分
钟。
至此,完成。我发誓再出现loopbackerror,我一定断他们的网,谁说都没用。
更多推荐
cisco2960交换机
发布评论