中国网管论坛's Archiver

jxkssoft 发表于 2007-7-24 09:10

帮我看看“CCNA静态路由配置”那里出错了。

首先用Boson Network Designer绘出路由R1、R2和pc1、pc2,其中PC1接R1;pc2接R2;R1和R1串联。DCE为R2 Serial 0。现在当配置R1的eth 0时就出现%LINK-3-UPDOWN: Interface Ethernet0, changed state to up.这是什么原因导致的???谢谢


Press Enter to Start


Router>
Router>
Router>enable
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host R1
R1(config)#ena se c1
R1(config)#line vty 0 4
R1(config-line)#pass c2
R1(config-line)#int eth 0
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#no shut
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up怎么会出现这错误信息?
R1(config-if)#int se 0
R1(config-if)#ip add 10.0.0.1 255.0.0.0
R1(config-if)#no shut
%LINK-3-UPDOWN: Interface Serial0, changed state to up怎么会出现这错误信息?
%LINK-3-UPDOWN: Interface Serial0, changed state to down怎么会出现这错误信息?
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down怎么会出现这错误信息?
R1(config-if)#end
R1#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]



Press Enter to Start


Router>
Router>enable
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host R2
R2(config)#ena se c1
R2(config)#line vty 0 4
R2(config-line)#pass c2
R2(config-line)#int eth 0
R2(config-if)#ip add 192.168.2.1 255.255.255.0
R2(config-if)#no shut
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up怎么会出现这错误信息?
R2(config-if)#int se 0
R2(config-if)#ip add 10.0.0.2 255.0.0.0
R2(config-if)#clock rate 64000
R2(config-if)#no shut
%LINK-3-UPDOWN: Interface Serial0, changed state to up怎么会出现这错误信息?
R2(config-if)#end
R2#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]

lanfenglflf 发表于 2007-7-24 10:33

Interface Ethernet0, changed state to up.这个不是错误的提示信息!是你配置好E0口后,E0口由原来的关闭状态改为激活状态了,表明现在E0口已经启动!~同样S0 S1口这个提示也是正常的 表明串口已启动!~

jxkssoft 发表于 2007-7-24 10:44

在配R1的se 0时:
R1(config-if)#int se 0
R1(config-if)#ip add 10.0.0.1 255.0.0.0
R1(config-if)#no shut
%LINK-3-UPDOWN: Interface Serial0, changed state to up怎么会出现这错误信息?
%LINK-3-UPDOWN: Interface Serial0, changed state to down怎么会出现这错误信息?
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down怎么会出现这错误信息?
R1(config-if)#end
R1#copy run start

配好后up了一下。马上又down了。

yonx 发表于 2007-7-24 13:03

那个不是错误信息,是端口状态改变提示信息

串口要两边都设置好并在DCE端设置了clock rate才能最终up,不然就是先up一下,然后马上down了

你这是正常情况

tmacyao 发表于 2007-7-24 16:24

先配置全部再看最终情况..

linuxfanstian 发表于 2007-9-12 15:35

学习了

pengjh1015 发表于 2007-9-25 16:36

:handshake

yifei191016110 发表于 2007-10-13 21:58

上面的朋友说的很对,对DCE端口要设置clock rate

inter77 发表于 2007-10-15 15:04

顶楼上的朋友。还要加rip 或者igrp  或者eigrp这几个协议中的一种。不然也是不同的。

inter77 发表于 2007-10-15 15:05

其它的偶协议偶不会用。所以。嘿嘿。各位不要见笑啊。

iin_cc 发表于 2008-2-20 14:57

设置时钟:lol

页: [1]

Powered by Discuz! Archiver 6.1.0  © 1999-2008 bbs.bitsCN.com