• 7
    积分
  • 1
    星梦
  • 0
    星券
  • 52
    帖子
  • 4
    主题
  • 0
    贡献
  • 0
    记录
  • 0
    日志
  • 0
    好友
  跳转到指定楼层   *输入需要访问的楼层直接跳转

路由命令的使用

龙狸 发布于2006-1-22 05:54 1204 次浏览 4 位用户参与讨论   [复制分享主题]

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区

您需要 登录 才可以下载或查看,没有账号?註冊

x
<P ><FONT face="Times New Roman">erase </FONT>擦除路由器里面的所有内容</P>3 a' d  G7 j8 _
<P ><FONT face="Times New Roman">flash (</FONT>一般不用,会删掉路由器的整个系统<FONT face="Times New Roman">)</FONT></P>
, Y! Q* }- S- R) f2 ]( i<P ><FONT face="Times New Roman">erase startup-config </FONT>清除<FONT face="Times New Roman">NVRAM</FONT>中的配置文件</P>
- U8 W) d3 y/ U7 z2 t<P ><FONT face="Times New Roman">configure terminal  </FONT>进入全局配置模式</P>
9 z: D5 G- Y8 |# l+ u2 t<P ><FONT face="Times New Roman">hostname star1 </FONT>设置名称</P>
5 E3 C1 X5 _  n. Y, R4 o<P ><FONT face="Times New Roman">exit </FONT>逐层退出</P>9 C# l8 e: s# y/ d$ W0 J8 Z9 o1 [" |
<P ><FONT face="Times New Roman">end </FONT>直接退出</P>9 F. x1 N/ i, Z( g
<P >以太端口的设置:</P>
. U# m& q) `$ ^! |4 i<P ><FONT face="Times New Roman">interface  </FONT>进入端口配置模式</P>$ F, I7 ~& M# B7 d2 b4 [- x
<P ><FONT face="Times New Roman">interface eo  </FONT>配置端口<FONT face="Times New Roman">e0</FONT></P>
; O" M! D. t% j' h<P ><FONT face="Times New Roman">ip add   ip</FONT>地址<FONT face="Times New Roman"> </FONT>网关</P>
) ?8 b& n6 U3 W<P ><FONT face="Times New Roman">no sh </FONT>端口启用</P>
$ G( l* \, V) u, I+ ^3 K<P >广域网端口的设置:</P>- ?5 @6 f  S% [" l  I
<P ><FONT face="Times New Roman">interface  </FONT>进入端口配置模式</P>
, w. r  A7 k) D<P ><FONT face="Times New Roman">interface s0 </FONT>配置端口<FONT face="Times New Roman">e0</FONT></P>
' C* Q# z( a: J<P ><FONT face="Times New Roman">ip add   ip</FONT>地址<FONT face="Times New Roman"> </FONT>网关</P>) o9 Q- A$ I: k2 `- A3 B/ O+ Y
<P ><FONT face="Times New Roman">encap ppp </FONT>用<FONT face="Times New Roman">ppp</FONT>协议</P>$ q' D8 s5 |9 M! n( f
<P ><FONT face="Times New Roman">clock  rate 200000 </FONT>启用时用频率</P>
2 E4 E1 @# L; ]: N<P ><FONT face="Times New Roman">no sh </FONT>端口启用</P>

已有(4)人评论

AWP 发表于 2006-1-22 06:36:11 | 显示全部楼层
<P>哗~~~~</P>
5 n! v; G2 j- r7 b1 Q0 M: J<P>好高深下喔~~~</P>
; h9 G5 y$ |; U( T<P>完全看吾明......</P>
mc238 发表于 2006-1-22 08:41:24 | 显示全部楼层
<P>楼主呢篇野似乎无乜帮助啵,因为连接路由器后只要简单设置就可以几部电脑同时上网了.</P>
1 `4 y- C; a4 r5 m<P>如果有办法可以将路由器里的所有内网电脑都变成公网就好了.</P>
goacan 发表于 2006-1-22 10:23:12 | 显示全部楼层
<P>路由器有甘多功能架咩?</P>
. p4 e4 G& W0 R- x: I<P>真系未试过</P>
GZHAO 发表于 2006-1-25 23:45:49 | 显示全部楼层
<P>好似喺度解释英文一样~~</P>
+ f" U0 A9 m( u8 ^* N<P>冇用的~~</P>
$ J& o/ a4 M! K! v<P>真喺呱,</P>3 Q! Z" i- D+ ~  O8 I: \
<P>可以由内网变公网就最好的~~</P>
您需要登录后才可以回帖 登录 | 註冊

本版积分规则

快速
回复
返回
列表
返回
顶部