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

路由命令的使用

龙狸 发布于2006-1-22 05:54 1152 次浏览 4 位用户参与讨论   [复制分享主题]
<P ><FONT face="Times New Roman">erase </FONT>擦除路由器里面的所有内容</P>
$ o" K0 f# |- Q1 Q$ U<P ><FONT face="Times New Roman">flash (</FONT>一般不用,会删掉路由器的整个系统<FONT face="Times New Roman">)</FONT></P>
* r+ y) x0 c3 ^3 O2 r0 c( \<P ><FONT face="Times New Roman">erase startup-config </FONT>清除<FONT face="Times New Roman">NVRAM</FONT>中的配置文件</P>
' G# ]6 u  w! a5 x- f<P ><FONT face="Times New Roman">configure terminal  </FONT>进入全局配置模式</P>' i1 F" ?' ^+ u/ k/ T3 w* V
<P ><FONT face="Times New Roman">hostname star1 </FONT>设置名称</P>
$ C+ Z  p, `; t<P ><FONT face="Times New Roman">exit </FONT>逐层退出</P>
8 A# ^3 u7 ^) s<P ><FONT face="Times New Roman">end </FONT>直接退出</P>
1 i& u' S& N, z* K6 s/ F<P >以太端口的设置:</P>' U: J- d% t2 z* B6 v: L
<P ><FONT face="Times New Roman">interface  </FONT>进入端口配置模式</P>5 M3 a- [9 v& y" i- c% n& e# i
<P ><FONT face="Times New Roman">interface eo  </FONT>配置端口<FONT face="Times New Roman">e0</FONT></P>8 r5 N  w1 g% }8 q& g, z' b
<P ><FONT face="Times New Roman">ip add   ip</FONT>地址<FONT face="Times New Roman"> </FONT>网关</P>+ @4 O& i7 G7 R0 p& o, c
<P ><FONT face="Times New Roman">no sh </FONT>端口启用</P>
" Y1 Y2 O9 T2 q6 i<P >广域网端口的设置:</P>( F; E6 t7 D  q$ H2 N4 j" y
<P ><FONT face="Times New Roman">interface  </FONT>进入端口配置模式</P>! l( v0 A" P' I/ a
<P ><FONT face="Times New Roman">interface s0 </FONT>配置端口<FONT face="Times New Roman">e0</FONT></P>
: a2 _; _9 t# {7 F  v- w<P ><FONT face="Times New Roman">ip add   ip</FONT>地址<FONT face="Times New Roman"> </FONT>网关</P>
- R% J7 H: r# w! [<P ><FONT face="Times New Roman">encap ppp </FONT>用<FONT face="Times New Roman">ppp</FONT>协议</P>4 }& M" D: ^2 ]4 G# a! V  p7 i
<P ><FONT face="Times New Roman">clock  rate 200000 </FONT>启用时用频率</P>
; l4 h: [) ?* R( G* U<P ><FONT face="Times New Roman">no sh </FONT>端口启用</P>

已有(4)人评论

AWP 发表于 2006-1-22 06:36:11 | 显示全部楼层
<P>哗~~~~</P>
# f5 e) i) X3 U, e( ~# @! z<P>好高深下喔~~~</P>
4 L7 N+ X1 @& y6 g0 D<P>完全看吾明......</P>
mc238 发表于 2006-1-22 08:41:24 | 显示全部楼层
<P>楼主呢篇野似乎无乜帮助啵,因为连接路由器后只要简单设置就可以几部电脑同时上网了.</P>2 S4 @/ F' g* E, `( T, ^% [
<P>如果有办法可以将路由器里的所有内网电脑都变成公网就好了.</P>
goacan 发表于 2006-1-22 10:23:12 | 显示全部楼层
<P>路由器有甘多功能架咩?</P>& e/ v# T4 b* m9 a; W7 l2 g( |
<P>真系未试过</P>
GZHAO 发表于 2006-1-25 23:45:49 | 显示全部楼层
<P>好似喺度解释英文一样~~</P>" C4 d& j' V5 K+ w* D9 u6 s. X
<P>冇用的~~</P>0 C3 E, i, P2 V( @/ t1 m# W
<P>真喺呱,</P>
; |: b' O( E( J- o0 Z<P>可以由内网变公网就最好的~~</P>
您需要登录后才可以回帖 登录 | 註冊

本版积分规则

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