通信人家园

标题: [求助]新人寻求MA5303开局脚本,有中文注解的  [查看完整版帖子] [打印本页]

时间:  2007-12-2 13:54
作者: wlspml     标题: [求助]新人寻求MA5303开局脚本,有中文注解的

新人寻求MA5303开局脚本,有中文注解的       最好有详细中文注解的  谢谢 
时间:  2007-12-2 16:25
作者: mxyc

一、基本配置<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">L1H_T3gZ</font><br/>HUAWEI SmartAX MA5300 series Multi-service Access Module.<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">$z$m9o*|,~)VLg</font><br/>Copyright(C) 2001-2004 by Huawei Technologies Co., Ltd.<br/><span style="DISPLAY: none;">+kfM3W.D#R6wE2E</span>
        <font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">z;]5Zr.\k#@2\</font><br/>User Access Verification<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">S(per1v,z%WtUQ</font><br/>Username: root<br/><span style="DISPLAY: none;">u!LGF4F2}%XW</span> Password:admin&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; -进入用户模式,直接参照命令行默认用户/密码是:root / admin<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">9vyFpG0dX:i(I</font><br/>HongYuanXiaoQu_MA5303&gt; enable&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;-从普通用户模式进入特权模式<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">'KJ3WY?</font><br/>MA5303&gt;configure terminal&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;-从特权模式进入全局配置模式<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">;IA||#C8z(~ d&amp;|</font><br/>Termainal language <font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">W3G|f:H Qk</font><br/>MA5303&gt;hostname&nbsp;&nbsp;HongYuanXiaoQu_MA5303&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;-命名设备名称,根据实际局点名称分配<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">&amp;N Md@8Vt ?E</font><br/>HongYuanXiaoQu_MA5303(config)# terminal use password&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; -修改用户密码<br/><span style="DISPLAY: none;">Nui }oyO</span> User Name(&lt;=15chars): qdtele<br/><span style="DISPLAY: none;">5{"i }0m z</span> New Password(&lt;=15chars):<br/><span style="DISPLAY: none;">0B;Q.H@B[g'V</span> &nbsp;&nbsp;Confirm Password(&lt;=15chars):qdtele!@#<br/><span style="DISPLAY: none;">|`_/B'G)b</span> &nbsp;&nbsp;Once again? [Y|N]:n&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; <font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">f[\8W#`EJ</font><br/>注 :通过该命令可以修改命令行操作用户的口令。为了设备的安全,应该使用该命令经常更换用户口令。管理员可以修改任何用户的口令,修改口令时必须输入待修改的用户帐号,但不必输入原口令;非管理员只能修改自己的口令,并且要输入原口令。 一次可以修改多个用户的口令,直到管理员确认不再设置为止。 输入的口令在终端不会回显。<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">5K/WmCeuD%m C</font><br/>HongYuanXiaoQu_MA5303(config)# vlan 10&nbsp; &nbsp;<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">Vk9\Xt {P/QJ</font><br/>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; -添加管理vlan,所有局点采用相同管理vlan 10,具体请咨询数据,有个别局点不是vlan 10<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">][fwZ0K$^</font><br/>HongYuanXiaoQu_MA5303(config)# exit&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<br/><span style="DISPLAY: none;">Rr(? }v mG8WF</span> HongYuanXiaoQu_MA5303(config)#interface vlan-interface 10&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; -从全局配置模式进入到VLAN接口配置模式必须创建对应VLAN,才可以进入对应VLAN接口配置模式。<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">9aIOQ AzjZ)r ~z</font><br/>HongYuanXiaoQu_MA5303(config-if-Vlan-interface10)#ip address 222.173.126.249 255.255.255.224 -配置设备地址 根据工单分配,掩码多数是255.255.255.224,请跟数据进行确认掩码<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">Zn*t3Xyt</font><br/>HongYuanXiaoQu_MA5303(config-if-Vlan-interface10)#exit<br/><span style="DISPLAY: none;">3zMJ.`L FAe5^ H</span> HongYuanXiaoQu_MA5303(config)#ip route 0.0.0.0 0.0.0.0 222.173.126.225&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;-配置上行路由&nbsp;&nbsp;根据工单分配,请跟数据进行确认<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">9u;A&amp;jx/Z&amp;SiA2pX</font><br/>HongYuanXiaoQu_MA5303(config)#snmp-server enable traps snmp&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;-配置网管数据&nbsp;&nbsp;直接配置,所有局点相同<br/><span style="DISPLAY: none;">PiPy |6m</span> HongYuanXiaoQu_MA5303(config)#snmp-server community public ro&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;直接配置,所有局点相同<br/><span style="DISPLAY: none;">m|&amp;|4Xq%mXc$u?</span> HongYuanXiaoQu_MA5303(config)#snmp-server community private rw&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;直接配置,所有局点相同<br/><span style="DISPLAY: none;">d&amp;SP)r#Q:AC&amp;ilI$m</span> HongYuanXiaoQu_MA5303(config)#snmp-server host 219.146.4.2 private&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; 直接配置,所有局点相同<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">7} ic sT:Tx</font><br/>HongYuanXiaoQu_MA5303(config)#snmp-server trap-source Vlan-interface 10&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;若是管理vlan是10,若不是10,则根据数据分配,请跟数据确认。<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">!`_r'T{D</font><br/>HongYuanXiaoQu_MA5303(config)#board confirm 0&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;-确认单板,所有局点相同<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">x5I?k}$i!?</font><br/>HongYuanXiaoQu_MA5303(config)#adsl line-profile add 3&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;、&nbsp; &nbsp;-添加线路模板,添加下行1024,上行256的速率模板,所有局点相同<br/><span style="DISPLAY: none;">wL!eqz2Q$b_@/B"K</span> Start profile 3 adding.<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;"> |'|#C"v3h"e9oZ8`</font><br/>During input,press 'CTRL+C' to quit,then settings at this time are neglected.<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">kv^oDKi^</font><br/>&gt;&nbsp;&nbsp;please choose the type of template 0-ADSL 1-ADSL2+ (0~1)[0]: 0<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">_N+hV Ux</font><br/>&gt; Will you set basic configuration for modem? (y/n)[n]:y<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">?d;K:[4f~T4opF.b</font><br/>&gt; ADSL operating mode:<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">:Zk'AcN] zp&amp;z</font><br/>&gt;&nbsp;&nbsp;0: All(G992.1, G992.2, T1.313)<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">Q$[VRQ*y2G3hi</font><br/>&gt;&nbsp;&nbsp;1: Full rate(G992.1 or T1.313)<br/><span style="DISPLAY: none;">S(c6h a&amp;Z'IK[8q</span> &gt;&nbsp;&nbsp;2: G992.2(g.lite) (EADI can not support)<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">.HZax-}9esm</font><br/>&gt;&nbsp;&nbsp;3: T1.313 (EADI can not support)<br/><span style="DISPLAY: none;">%` fn%V(w)O</span> &gt;&nbsp;&nbsp;3: G992.1(g.dmt)<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">1Sb[Sd:F</font><br/>&gt;&nbsp;&nbsp;5: g.hs(G992.1 and G992.2,G992.1 is prior)<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">xcJ7].l7K</font><br/>&gt; Please select&nbsp;&nbsp;(0~5) [0]:<br/><span style="DISPLAY: none;">"YUk$OJ@0p-r`+I</span> &gt; Trellis coding 1-enable 2-disable (1~2) [1]:<br/><span style="DISPLAY: none;">n]1sp2KFE$_</span> &gt; Upstream channel bit swap 1-enable 2-disable (1~2) [2]:<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">6D6NPAa</font><br/>&gt; Downstream channel bit swap 1-enable 2-disable (1~2) [2]:<br/><span style="DISPLAY: none;">qt'oR-jkL$b</span> &gt; Will you set channel mode? (y/n)[n]:y<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">yy6D!Q;I/ii(UG5z</font><br/>&gt; Please select channel mode 0-interleaved 1-fast (0~1) [0]:<br/><span style="DISPLAY: none;">]6Fh Z9q#nQ#|4v2r</span> &gt; Will you set noise margin for modem? (y/n)[n]:y<br/><span style="DISPLAY: none;">w7h$M V hnKwB</span> &gt; Minimum noise margin in downstream (0~15 dB) [0]:<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">ZK V&amp;GZFc O;U</font><br/>&gt; Maximal noise margin in downstream (0~31 dB) [31]:<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">sKW.L*R"ux1[.qG L</font><br/>&gt; Target noise margin in downstream(0~15 dB) [12]:6&nbsp;&nbsp;噪声容限<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">Zp;iyvdJ</font><br/>&gt; Minimum noise margin in upstream (0~15 dB) [0]:<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">K `%O/h ]]U</font><br/>&gt; Maximal noise margin in upstream (0~31 dB) [31]:<br/><span style="DISPLAY: none;">yVRBuZ1O \</span> &gt; Target noise margin in upstream (0~15 dB) [12]:6<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;"> U#eaG[I</font><br/>&gt; Will you set parameters for rate? (y/n)[n]:y&nbsp; &nbsp; 速率参数<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">(NPri&amp;G4K5gX</font><br/>&gt; If you want the fixed rate, set the Minimum value equal to Maximum value.<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">5}+r6x7Yq</font><br/>&gt; Minimum bit rate in downstream (32~8160 Kbps) [32]:<br/><span style="DISPLAY: none;">L]8A!u"Q2Gl d</span> &gt; Maximum bit rate in downstream (32~8160 Kbps) [6133]:1024<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">Y6NswYM1H;f#TP</font><br/>&gt; Minimum bit rate in upstream (32~896 Kbps) [32]:<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">wTH/^~/w</font><br/>&gt; Maximum bit rate in upstream (32~896 Kbps) [630]:256<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">h/^@sh)ue@</font><br/>&nbsp;&nbsp;Add profile 3 successfully<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">Kb Li5g ^j</font><br/>HongYuanXiaoQu_MA5303(config)# adsl deactivate all&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;-去激活所有adsl端口,所有局点相同,有点时间,请耐心等30秒左右<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">&amp;N&amp;_:Wb u'WX Gk</font><br/>HongYuanXiaoQu_MA5303(config)#adsl activate&nbsp;&nbsp;all 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-绑定线路速率模板,所有局点相同,默认用1M的模板<br/>&nbsp;HongYuanXiaoQu_MA5303(config)#adsl pvc vpi 0 vci 35 all&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;-配置adsl终端vpi、vci值,所有局点相同<br/>&nbsp;HongYuanXiaoQu_MA5303(config)#matchslot 0 vlan 2400&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;-配置2号槽位板业务数据 根据现场确认是几号槽位,5300从0开始数&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; <font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">Ut$R&amp;W}fRYn</font><br/>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;5303从1开始数(业务vlan100-195,只是从100开始,剩余端口自动按照顺序增加,<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">vX5[,O8x%ll M#v#`y)X%A</font><br/>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;不必手工配置,数据分配的可能不够48个,例如32个,则请将剩余端口的vlan删除,删除方式利用no vlan 132 to 147即可,若是恰好48个,则不必进行删除操作)<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">0SW)f/}G</font><br/>HongYuanXiaoQu_MA5303(config)# interface Ethernet&nbsp;&nbsp;7/2/0&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;-从全局配置模式进入百兆以太网接口配置模式<br/>HongYuanXiaoQu_MA5303(config-if-Ethernet7/2/0)# switchport mode trunk&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;-配置trunk模式 <font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">0d [$F ad1pRm#k</font><br/>HongYuanXiaoQu_MA5303(config-if-Ethernet7/2/0)# switchport trunk allowed vlan 10&nbsp;&nbsp;2400 to 2447 -允许透传vlan ,根据工单透传网管vlan 10 和业务vlan <font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">U[_!rJ#[</font><br/>HongYuanXiaoQu_MA5303(config-if-Ethernet7/2/0)#descr&nbsp;&nbsp;TO SJDS_MA5200F&nbsp;&nbsp;22 port&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;-上行端口描述,根据工单配置<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">E%kx;W4CZ l</font><br/>HongYuanXiaoQu_MA5303(config)#exit<br/>&nbsp;HongYuanXiaoQu_MA5303#write&nbsp;<br/> 二、查看命令<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">k-P/Cb+s)R YO</font><br/>show board 0 -查看所有单板<br/>&nbsp;ping 222.173.126.1 -查看上行连接状态&nbsp;&nbsp;ping 的地址为网关地址<br/>&nbsp;show adsl port state -查看adsl端口状态<br/>show adsl line config -查看adsl端口线路配置<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">u5vd5l*Rk</font><br/>show interface eth 7/2/0&nbsp;&nbsp;-查看上行接口运行配置状态<br/>show interface vlan-interface&nbsp;&nbsp;-查看管理vlan接口地址,特别是vlan 10,看一下ip地址是否配置正确<font style="FONT-SIZE: 0px; COLOR: #e8f3fd;">&amp;ets*\0z z</font><br/>show ip route static -查看上行路由




通信人家园 (https://www.txrjy.com/) Powered by C114