《MA5100开局配置脚本》由会员分享,可在线阅读,更多相关《MA5100开局配置脚本(3页珍藏版)》请在金锄头文库上搜索。
1、MA5100 开局配置/更改主机名称MA5100(config)#system name ( Will you set basic configuration for modem? (y/n) n:y ADSL operating mode: 0: All(G992.1, G992.2, T1.413) 1: Full rate(G992.1 or T1.413) 2: G992.2(g.lite) 3: T1.413 4: G992.1(g.dmt) 5: g.hs(Allows 992.1 and 992.2 with priority to 992.1) Please select (0
2、5) 0: Trellis coding 0-disable 1-enable (01) 1: Upstream channel bit swap 0-disable 1-enable (01) 0: 1 Downstream channel bit swap 0-disable 1-enable (01) 0: 1 Please select channel mode 0-interleaved 1-fast (01) 0: Set interleaved delay mode 0-manual 1-auto(01) 0: 1 Unit of interleaved delay 0-DMT
3、1-ms (01) 0: Will you set noise margin for modem? (y/n) n: Will you set parameters for rate? (y/n) n: y If you want the fixed rate, set the Min value equal to Max value. Min bit rate in downstream (328160 Kbps) 32: Max bit rate in downstream (328160 Kbps) 6144: 2048 Min bit rate in upstream (32896 K
4、bps) 32: Max bit rate in upstream (32896 Kbps) 640: Add template 4 successfully /解阻塞、激活和关闭用户端口 MA5100(config)#interface adsl 0/0 MA5100(config-ADSL-0/0)#no block all MA5100(config-ADSL-0/0)#activate all MA5100(config-ADSL-0/0)#disactivate all/改变 LAN 板的工作模式MA5100(config-LAN-0/13)#operation-modegenera
5、l,ipdslam,ipcascade,atm-group:ipcascade/添加业务小区 VLAN MA51000(config)#interface lan 0/13 MA5100 (config-LAN-0/13)#vlan add region 11 0 35 0x01 /添加网管 VLAN MA5100(config-LAN-0/13)#vlan add general 194 0x01 /设置上行口缺省 VLANID MA5100(config-LAN-0/13)#default-vlanid 0 1023 /关闭 LAN 板未使用的端口 MA5100(config-LAN-0/
6、13)#shutdown 1 MA5100(config-LAN-0/13)#shutdown 7 /添加带内网管 PVC MA5100(config)# pvc nms 1483b llc 33 lan 0/13 vlanId 194 off anyvport_l off 1 1 /添加业务整板 PVC MA5100(config)#multi-pvc lan 0/13 vlanid 4 off off adsl 0/4 0xffffffff region 1 1/限定每条 PVC 只学习一条 MAC地址(最好在 pvc 添加后再设置) MA5100(config-LAN-0/13)#max
7、-mac-count all 1 /复位单板端口MA5100(config)#interface adsl 0/5 chipset reset 1/保存数据 MA5100(config)#end MA5100#save /查看端口信息MA5100(config)#show location:00-e0-4c-81-02-0dFrame Slot Port0 2 10/查看端口流量MA5100(config)#show port traffic 0/1/27Please wait.Port 27 send traffic(kbps) : 0.3Port 27 receive traffic(kbps): 0.0/删除单板MA5100(config)#board delete 0/2