马上注册,结交更多好友,享用更多功能,让你轻松玩转社区
您需要 登录 才可以下载或查看,没有账号?註冊
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> |
|