华为MA5605开局参考脚本.doc_第1页
华为MA5605开局参考脚本.doc_第2页
华为MA5605开局参考脚本.doc_第3页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

rootadmin 用户名和密码enable 进入特权模式下#config terminal 进入全局配置模式下#(config)#(config)hostname YF_LDLT_HuangJingLangCunWei_MA5605 设备命名(根据局里要求来命名)huawei(config)#inter lan 0/0 进入主控板0框0槽huawei(config-lan-0)#vlan 61 添加网管VLANhuawei(config-lan-0)#vlan 1481huawei(config-lan-0)#vlan 1482. 添加业务VLAN (从1481到1544)-根据实际情况添加huawei(config-lan-0)#vlan 1481 to 1544 common 如果设备升级后可以批量添加VLANhuawei(config-lan-0)#exit huawei(config)#nms 61 设置带内网管VLANhuawei(config)#atmlan ip-add eth 172.16.7.228 255.255.255.0 设置IP地址(根据具体情况设置)huawei(config)#atmlan ip-route 172.16.1.0 255.255.255.0 172.16.7.1 设置路由网关huawei(config)#atmlan ip-route 202.104.197.96 255.255.255.224 172.16.9.1huawei(config)#atmlan ip-access 172.16.7.1 172.16.7.254 255.255.255.0 设置访问列表(根据各县市要求来添加)huawei(config)#atmlan ip-access 172.16.1.0 172.16.1.254 255.255.255.0huawei(config)#atmlan ip-access 202.104.197.97 202.104.197.126 255.255.255.224huawei(config)#traffic-profile 6144 8 增加流量表项huawei(config)#autosave 1440 设置设备自动保存时间为1440分钟/次huawei(config)#adsl line-profile add 2/3/4/5/6 建立速率模板,512K,1M,2M,4M,6Mhuawei(config)#adsl line-profile add 2 During input,press Q to quit,then settings at this time are neglected. Select the line profile type 1-adsl 2-adsl2+(12) 1: 2 都是选择2,表示长距离板 Will you set basic configuration for modem? (y/n) n: Will you set channel mode? (y/n) n: y Please select channel mode 0-interleaved 1-fast (01) 0: 1 Will you set interleave delay? (y/n) n: Please select form of transmit rate adaptation in downstream: 0-fixed 1-adaptAtStartup 2-adaptAtRuntime (02) 1: Will you set noise margin for modem? (y/n) n: Will you set parameters for rate? (y/n) n: y Min bit rate in down stream (3232000 Kbps) 32: Max bit rate in down stream (3232000 Kbps) 32000: 512/1M/2M/4M/6M Min bit rate in up stream (323000 Kbps) 32: Max bit rate in up stream (323000 Kbps) 3000: 512 Please input the profiles name : Add profile 2 successfully. huawei(config)#int adsl 0/1 2 3 4 进入每块单板,从1号槽位开始huawei(config-ADSL-0/1)#deactivate all 去激活该单板所有端口huawei(config-ADSL-0/1)#activate all 2 用2号模板激活该单板所有端口(根据实际需要选择模板)huawei(config-ADSL-0/1)#deactivate * 去激活该单板某个端口huawei(config-ADSL-0/1)#activate all * 2 用2号模板激活该单板某个端口huawei(config)#pvc adsl 0/1/1 0 35 lan 0/0 1481 1483b 0 on on 8 8 建立xDSLLAN的PVC,每个端口加两条 pvc adsl 0/1/2 0 35 lan 0/0 1482 1483b 0 on on 8 8 pvc adsl 0/1/3 0 35 lan 0/0 1483 1483b 0 on on 8 8 . 修改端口号及业务VLAN继续添加设备升级后必须这样添加PVC:pvc adsl 0/1/1 0 35 lan 0/0 1481 0 disable 1483b on on 8 8pvc adsl 0/1/2 0 35 lan 0/0 1482 0 disable 1483b on on 8 8pvc adsl 0/1/3 0 35 lan 0/0 1483 0 disable 1483b on on 8 8pvc adsl 0/1/4 0 35 lan 0/0 1484 0 disable 1483b on on 8 8pvc adsl 0/1/5 0 35 lan 0/0 1485 0 disable 1483b on on 8 8 。huawei(config)#snmp-server enable traps 允许设备发送Trap报文huawei(config)#snmp-server contact HUAWEI-075528560333 设置系统联系信息huawei(config)#snmp-server location YF_LD 设置系统位置信息huawei(config)#snmp-server community N2000 172.16.1.8(网管IP地址) public private notify 162 v1 增加团体名huawei(config)#save 保存数据huawei(config)#ping 172.16.7.1 ping网关检查是否与网管相通huawei(config)#terminal language 语言切换huawei(config)#show adsl line-profile all 查看所有的速率模板,1和33为系统自带的,尽量不要修改- - - - - - -profile operating channel min down max down min up max upindex mode mode rate rate rate rate(Kbps) (Kbps) (Kbps) (Kbps)- - - - - - -1 All Interleaved 32 6144 32 6402 All Fast 32 512 32 5123 All Fast 32 1024 32 5124 All Fast 32 2048 32 5125 All Fast 32 4096 32 5126 All Fast 32 6144 32 51233 All Interleaved 32 32000 32 3000-Total: 7huawei(config)# show board 0 查看所有单板状态 Slot ID Board Type Board Name Board State - - - - 0 FE H521MFOA Normal 1 ADCE H523ADCE Normal 2 Empty - - 3 Empty - - 4 Empty - - -huawei(config)# show board 0/1 查看第一块单板的状态 Frame Slot Board Type Board State Interface Type PVC Number - - - - - - 0 1 ADCE Normal - 32 - - - - - - Port State LineProfileId AlarmProfileId ExtLineProfileId - - - - - 1 Activating 4 1 - 2 Activating 4 1 - 3 Activating 4 1 - 4 Activating 4 1 - 5 Activating 4 1 - 6 Activating 4 1 - 7 Activa

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论