我在变电站帮他们调e1的电路,用的华三 msr3610,板卡是e1 f的板卡,现在链路没有问题,就是端口物理层和协议层都起不来,用命令fel unfraged物理层会起开,真的快急死了我,这是在一个串口下配置的,求求大家帮忙。。
(0)
最佳答案
看您这个串口跑的是以太网协议,这种一般用的是ppp协议。您确定一下您这个是ppp协议还是以太网协议。如果确定是以太网的话,建议打环测试。
2种经典打环测试方法
一.问题描述:
经常遇到用户说路由器接好线缆后,两边不能通信;或者通信正常过一段时间,现在突然不能用了;另外就是网络时断时通。在遇到这种情况时,我们一般会先让用户看一下两端的2
二.网络拓朴:
三.网络说明:
1.X
2.A
3.X
4.A
第一步
1.在X
[X-Serial2/1]loopback
2 <X>reset count interface
或[X]reset count interface
过几十秒后
<X>dis int s 2/1
Serial2/1 current state :UP
Line protocol current state :DOWN
Description : Serial2/1 Interface
The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is 192.168.2.2/24
Link layer protocol is PPP, loopback is detected
LCP closed
Output queue : (Urgent queue : Size/Length/Discards) 0/50/0
Output queue : (Protocol queue : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
Physical layer is synchronous, Loopback,Baudrate is 64000 bps
Interface is DCE, Cable type is V35
Last 300 seconds input rate 0.00 bytes/sec, 0.00 packets/sec
Last 300 seconds output rate 0.00 bytes/sec, 0.00 packets/sec
Input: 22 packets, 336 bytes Input 和Output 的都相等。
0 broadcasts, 0 multicasts
0 errors, 0 runts, 0 giants
0 CRC, 0 align errors, 0 overruns
0 dribbles, 0 aborts, 0 no buffers
0 frame errors
Output:22 packets, 336 bytes
0 errors, 0 underruns, 0 collisions
0 deferred
DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP
第二步
1.在A
过几十秒后
2.在端口上去掉打环。
[X-Serial2/1]undo loopback
<X>dis int s 2/1
Serial2/1 current state :UP
Line protocol current state :DOWN
Description : Serial2/1 Interface
The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is 192.168.2.2/24
Link layer protocol is PPP, loopback is detected
LCP closed
Output queue : (Urgent queue : Size/Length/Discards) 0/50/0
Output queue : (Protocol queue : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
Physical layer is synchronous, Loopback,Baudrate is 64000 bps
Interface is DCE, Cable type is V35
Last 300 seconds input rate 0.00 bytes/sec, 0.00 packets/sec
Last 300 seconds output rate 0.00 bytes/sec, 0.00 packets/sec
Input: 55 packets, 840 bytes Input 和Output 的都相等。
0 broadcasts, 0 multicasts
0 errors, 0 runts, 0 giants
0 CRC, 0 align errors, 0 overruns
0 dribbles, 0 aborts, 0 no buffers
0 frame errors
Output:55 packets, 840 bytes
0 errors, 0 underruns, 0 collisions
0 deferred
DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP
第三步
1.在B
过几十秒后
2.在A
<X>dis int s 2/1
Serial2/1 current state :UP
Line protocol current state :DOWN
Description : Serial2/1 Interface
The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is 192.168.2.2/24
Link layer protocol is PPP, loopback is detected
LCP closed
Output queue : (Urgent queue : Size/Length/Discards) 0/50/0
Output queue : (Protocol queue : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
Physical layer is synchronous, Loopback,Baudrate is 64000 bps
Interface is DCE, Cable type is V35
Last 300 seconds input rate 0.00 bytes/sec, 0.00 packets/sec
Last 300 seconds output rate 0.00 bytes/sec, 0.00 packets/sec
Input: 77 packets, 1176 bytes Input 和Output 的都相等。
0 broadcasts, 0 multicasts
0 errors, 0 runts, 0 giants
0 CRC, 0 align errors, 0 overruns
0 dribbles, 0 aborts, 0 no buffers
0 frame errors
Output:77 packets, 1176 bytes
0 errors, 0 underruns, 0 collisions
0 deferred
DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP
第四步
1.在B
2.在Y上的。
[Y-Sierial2]loopback
过几十秒后看X
<X>dis int s 2/1
Serial2/1 current state :UP
Line protocol current state :DOWN
Description : Serial2/1 Interface
The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is 192.168.2.2/24
Link layer protocol is PPP, loopback is detected
LCP closed
Output queue : (Urgent queue : Size/Length/Discards) 0/50/0
Output queue : (Protocol queue : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
Physical layer is synchronous, Loopback,Baudrate is 64000 bps
Interface is DCE, Cable type is V35
Last 300 seconds input rate 0.00 bytes/sec, 0.00 packets/sec
Last 300 seconds output rate 0.00 bytes/sec, 0.00 packets/sec
Input: 99 packets, 1512 bytes Input 和Output 的不相等。
0 broadcasts, 0 multicasts
0 errors, 0 runts, 0 giants
0 CRC, 0 align errors, 0 overruns
0 dribbles, 0 aborts, 0 no buffers
0 frame errors
Output:87 packets, 1480 bytes
10 errors, 0 underruns, 0 collisions
0 deferred
DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP
<X>
<X>
<X>t m
% Current terminal monitor is on
<X>t d
% Current terminal debugging is on
<X>debu ppp lcp pack int s 2/0
<X>
*0.1110711 X PPP/8/debug2:
PPP Packet:
Serial2/0 Output LCP(c021) Pkt, Len 18 ---à这是报文发出的方向
State reqsent, code ConfReq(01), id 7c, len 14
MRU(1), len 4, val 05dc
MagicNumber(5), len 6, val 001156e1
*0.1110990 X PPP/8/debug2:
PPP Packet:
Serial2/0 Input LCP(c021) Pkt, Len 18
State reqsent, code ConfReq(01), id 7c,
len 14 <---
MRU(1), len 4, val 05dc
MagicNumber(5), len 6, val 001156e1 可以看出红色部分的和绿色部分的完全相同,
*0.1111271 X PPP/8/debug2: 说明从接口发出的报文,完全给接口接收到了。证
PPP Packet: 明没有丢包,这段打环是没有问题的。
Serial2/0 Output LCP(c021) Pkt, Len 14
State reqsent, code ConfNak(03), id 7c, len 10
MagicNumber(5), len 6, val 0010f802
*0.1111510 X PPP/8/debug2:
PPP Packet:
Serial2/0 Input LCP(c021) Pkt, Len 14
State reqsent, code ConfNak(03), id 7c, len 10
MagicNumber(5), len 6, val 0010f802
*0.1111750 X PPP/8/debug2:
PPP Packet:
Serial2/0 Output LCP(c021) Pkt, Len 18
State reqsent, code ConfReq(01), id 7d, len 14
MRU(1), len 4, val 05dc
MagicNumber(5), len 6, val 00111233
*0.1112030 X PPP/8/debug2:
PPP Packet:
Serial2/0 Input LCP(c021) Pkt, Len 18
State reqsent, code ConfReq(01), id 7d, len 14
MRU(1), len 4, val 05dc
MagicNumber(5), len 6, val 00111233
1.
2.
3.
4.
[RTD]
[RTD]int s 0
[RTD-Serial0]loop
[RTD-Serial0]
[RTD-Serial0]qui
[RTD]info enable
[RTD]info con deb
[RTD]
[RTD]debu ppp packet int s 0
[RTD]
[RTD]
Serial0
PPP O LCP(c021) Pkt, Len 18 ---à这是报文发出的方向
State starting, code ConfReq(01), id 1, len 14
MRU(1), len 4, val 05dc
MagicNumber(5), len 6, val 081b09b2
Serial0
PPP I LCP(c021) Pkt, Len 18 <---这是报文接收的方向
State reqsent, code ConfReq(01), id 1, len 14
MRU(1), len 4, val 05dc
MagicNumber(5), len 6, val 081b09b2
Serial0 可以看出红色部分的和绿色部分的完全相同,
PPP O LCP(c021) Pkt, Len 14 说明从接口发出的报文,完全给接口接收到了。
State reqsent, code ConfNak(03), id 1, len 10 证明没有丢包,这段打环是没有问题的。
MagicNumber(5), len 6, val 6e925916
Serial0
PPP I LCP(c021) Pkt, Len 14
State reqsent, code ConfNak(03), id 1, len 10
MagicNumber(5), len 6, val 6e925916
2005-7-22
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论