ADSL(WANA)数据配置步骤
1. 版本升级
(1)、接串口线,运行超级终端;或telnet登录
(3)、在PC机上运行TFTP,同时在TFTP上设置版本软件(core_b.bin)所在路径;注确保PC机的IP地址与ADSL网元的IP地址(带内或带外IP)在同一网段,并能够PING通ADSL网元的IP地址(带内或带外IP)
(4)、DSLAM>>tftp(回车,并根据提示输入TFTP SERVER IP地址(即PC机IP地址),和准备下载的版本软件名称);
(5)、当提示下载成功后,DSLAM>>version(回车,查看版本区中的版本号,特别需要确认主用版本区的版本是否是新下载的版本,若不是,要用命令chgver命令切换版本)
(6)、版本下载完毕后,断电重启(一定要断电重启)。
(7)、重启后,用showcard命令显示各板件,检查是否能识别WANA板。
#DSLAM>>showcard
2.设置带内网口IP地址,即网元IP地址:
#DSLAM>>ifconf (直接回车,显示命令用法)
usage: ifconf [ni_number] [[ipAddress] [netmask]]
ifconf -a
#DSLAM>>ifconf –a (显示所有地址:带内和带外网口地址、掩码、广播地址)
1
inet 136.2.7.7 netmask ffff0000 broadcast 136.2.255.255
2
inet 10.112.150.46 netmask fffffe00 broadcast 10.112.151.255
#DSLAM>>ifconf 2 10.112.150.46 255.255.254.0 (刺桐) (设置某网元的带内网口地址/掩码)
3.设置MAC地址:
#DSLAM>>showmac (显示所有网口的MAC地址)
outband Net interface : 00.D0.D0.92.01.03
inband Net interface: 00.D0.D0.92.01.04
#DSLAM>>
#DSLAM>>setmac (设置网口的MAC地址,下面[ ]中的值为当前值)
Network Interface(1:outband, 2:inband)? [1] (选择要设置的是带外(1) 或 带内(2)MAC地址)
MAC address byte 3 be(0x92~0x96)? [92] (16进制值)(该字节取值不变)
MAC address byte 4 be(0x00~0xff)? [1] (16进制值)()
MAC address byte 5 be(0x00~0xff)? [3] (16进制值)(该字节取值:各个网元各不相同,每个网元各有outband MAC和inband MAC地址,如:(01、02),(03、04),。。。。。。)
注:带内、带外的MAC地址都要更改
4.设置路由:
#DSLAM>>route (显示命令用法)
usage: route [-a] (显示路由表)
usage: route [add] [dest] [netmask] [gateway] (增加路由)
usage: route [del] [dest] [gateway] (删除路由)
Network Address Network Mask Gateway Flags
136.2.0.0 255.255.0.0 136.2.7.7 U
10.112.150.0 255.255.254.0 10.112.150.46 U
10.112.180.0 255.255.254.0 10.112.150.1 UG
注:① 上面第1条路由是设置带外网口IP地址后自动加入,第2条路由是设置带内网口IP地址后自动加入,这2条不可删除;
② 第3条路由是人工加入,表示发往10.112.180.0/255.255.254.0网段(网管IP所处的网段)的信息经10.112.150.1(网元IP的网关,与网元IP处同一网段)转发出去。
#DSLAM>>route add 10.112.180.0 255.255.254.0 10.112.150.1 (增加路由)/*所有网元都增加此路由*/
5.设置网管服务器IP地址:
#DSLAM>>showmgrip (显示所设置的网管服务器IP地址)
Manager IP Address: x.x.x.x
#DSLAM>>setmgrip (设置网管服务器IP地址)
New Manager IP Address(xxx.xxx.xxx.xxx): [136.1.88.88] 10.112.180.2 ([ ]中为当前网管服务器IP地址,可输入新设定值:10.112.180.2,此地址为网管服务器IP地址)
6.进入ATM模式,创建VCX
6.1 无级连情况:
带内网管VCX(createmvcx):光口1――――CORE /*因CORE板中已有1条默认的带内网管VCX,在创建带内网管VCX前,先用deletemvcx删除后再创建新的带内网管VCX*/
#DSLAM/ATM>>showmvcx
---------------------------------------------------------------------
SNMPVCX CONFIG PARAMETERS
---------------------------------------------------------------------
Card = 1
Port = 1
Vpi = 255
Vci = 65499
/*以上是出厂默认的带内网管VCX*/
#DSLAM/ATM>>deletemvcx /*删除带内网管VCX*/
Are you sure to Delete the SNMPVCX ? (Y)es or (N)o [n] y
Delete SNMPVCX Successfully!
#DSLAM/ATM>>createmvcx /*创建新的带内网管VCX*/
Card:( 1 - 33 ) [1] /*选择板号*/
Port( 1 - 2 ): [1] 2 /*选择端口号,若是双光口的WANA板一般选1,若是单光口的WANA1板一定要选2*/
VPI( 0 - 255 ): [0] /*带内网管的VPI*/
VCI( 32 - 65535 ): [32] /*带内网管的VCI*/
SNMPVCX Created!
#DSLAM/ATM>>showmvcx /*显示带内网管VCX*/
---------------------------------------------------------------------
SNMPVCX CONFIG PARAMETERS
---------------------------------------------------------------------
Card = 1
Port = 2
Vpi = 0
Vci = 32
---------------------------------------------------------------------
用户的VCX(vcxall、createvcx):光口1――――ATUCC /*vcxall是批命令,此命令只能从每块ATUCC板的第1个用户开始创建,若要创建某块ATUCC板的非第1个用户的VCX,只能用createvcx命令一条一条创建VCX*/
#DSLAM/ATM>>vcxall /*批命令创建用户的VCX*/
Atuc StartCard( 2 - 33 ): [2] /*起始ATUCC板板号*/
Atuc StartPort: [1] /*起始ATUCC板的端口号,此参数系统会自动选择1,不让调试者选择*/
ATUC VPI( 0 - 255 ): [8] /*用户端口侧的VPI*/
ATUC StartVCI( 32 - 65535 ): [81] 35 /*用户端口侧的VCI*/
Vcx Num( 1 - 8 ): [1] /*每个用户端口需要创建的VCX数目*/
Wan Port( 1 - 2 ): [1] 2 /*选择光口,若是双光口的WANA板一般选1,若是单光口的WANA1板一定要选2*/
WAN VPI( 0 - 255 ): [0] 1 /*光口侧的VPI,根据VPI/VCI资源表,输入各网元相应的数据*/
WAN StartVCI( 32 - 65535 ): [32] 33 /*光口侧的起始VCI,根据VPI/VCI资源表,输入各网元相应的数据*/
WAN EndVCI( 32 - 65535 ): [32] 212 /*光口侧的结束VCI,根据VPI/VCI资源表,输入各网元相应的数据*/
Low atmVclReceiveTrafficDescrIndex( 1 - 20 ): [1]
Low atmVclTransmitTrafficDescrIndex( 1 - 20 ): [1]
High atmVclReceiveTrafficDescrIndex( 1 - 20 ): [1]
High atmVclTransmitTrafficDescrIndex( 1 - 20 ): [1]
User Name: [] dongxiakeng /*VCX名称*/
注:若为单光口的WANA1板,只能选择光口2做数据
6.2 有级连情况:
本网元带内网管VCX(createmvcx):光口1――――CORE
下级网元用的带内网管VCX(createvcx):光口1――――光口2
本网元用户的VCX(vcxall、createvcx):光口1――――ATUCC
下级网元用户用的VCX(vcxcard):光口1――――光口2
vcxcard用来创建光口1与光口2间VCX的批命令
7.进入DSL模式,进行线路参数配置
7.1 创建线路参数集文件
用命令createprof创建线路参数集文件(文件名统一为:zte512.prf),根据提示选择创建线路参数集(而非线路告警参数集),根据提示,只更改:2个噪声余度值(1个是上行值,1个是下行值,默认值:60,可选范围值:0-310,更改为140)、2个时延数值(1个是上行值,1个是下行值,默认值:16,更改为32)、上下行输率(默认下行输率值8230(2个),默认上行输率值1000(2个),将这4个值都改为512);其他参数都不变。
#DSLAM/DSL>>createprof
please select profile type:
(1) Adsl Line Config
(2) Adsl LineAlarm Config
input your choice or (E)xit: [1]
Please input name of AdslLineConf Profile: [*.PRF] zte512
AtucRateMode(1-fixed 2-adaptAtStartup 3-adaptAtRuntime): [2]
AtucConfTargetSnrMgn(0..310): [60] 140 /*下行噪声余度*/
AtucConfMaxSnrMgn(0..310): [310] /*下行最大噪声余度值*/
AtucConfMinSnrMgn(0..310): [0] /*下行最小噪声余度值*/
AtucChanConfFastMaxTxRate [8320] 512 /*下行速率*/
AtucChanConfInterleaveMaxTxRate: [8320] 512 /*下行速率*/
AtucChanConfMaxInterleaveDelay(0..255): [16] 32 /*下行时延值*/
AturConfTargetSnrMgn(0..310): [60] 140 /*上行噪声余度*/
AturConfMaxSnrMgn(0..310): [310] /*上行最大噪声余度值*/
AturConfMinSnrMgn(0..310): [0] /*上行最小噪声余度值*/
AturChanConfFastMaxTxRate [1000] 512 /*上行速率*/
AturChanConfInterleaveMaxTxRate: [1000] 512 /*上行速率*/
AturChanConfMaxInterleaveDelay(0..255): [16] 32 /*上行时延值*/
(M)odify any of the above,(C)ontinue or(E)xit? [C]
Create AdslLineConf Profile successfully.
#DSLAM/DSL>>showprof
please select profile type:
(1) Adsl Line Config
(2) Adsl LineAlarm Config
iuput your choice or (E)xit: [1]
List of AdslLineConf Profile:
---------------------------------------------------
(1) DEFVAL.PRF
(2) ZTE512.PRF
---------------------------------------------------
Continue to view ? (C)ontinue or (E)xit: [E]
#DSLAM/DSL>>showprof
please select profile type:
(1) Adsl Line Config
(2) Adsl LineAlarm Config
iuput your choice or (E)xit: [1]
List of AdslLineConf Profile:
---------------------------------------------------
(1) DEFVAL.PRF
(2) ZTE512.PRF
---------------------------------------------------
Continue to view ? (C)ontinue or (E)xit: [E] c
please input Num of Profile : [1] 2
---------------------------------------------------
AdslLineConf Profile: ZTE512.PRF
---------------------------------------------------
AtucConfRateMode = AdaptAtStartUp
AtucConfTargetSnrMgn = 140
AtucConfMaxSnrMgn = 310
AtucConfMinSnrMgn = 0
AtucChanConfFastMaxTxRate = 512
AtucChanConfInterleaveMaxTxRate = 512
AtucChanConfMaxInterleaveDelay = 32
AturConfTargetSnrMgn = 140
AturConfMaxSnrMgn = 310
AturConfMinSnrMgn = 0
AturChanConfFastMaxTxRate = 512
AturChanConfInterleaveMaxTxRate = 512
AturChanConfMaxInterleaveDelay = 32
adslLineConfProfileRowStatus = 1
---------------------------------------------------
7.2 将线路参数集应用到各个用户线路上
用命令linecfg,根据提示选择:用户板号(2-33),用户端口号(1-12或a (a代表全选12个端口)),线路编码类型(默认值为g.dmt,不改变),线路类型(默认值为fastonly,将其改为Interleave),线路参数集文件(输入zte512.prf)。
#DSLAM/DSL>>linecfg
card num(2-33): [2] /*ATUCC板号*/
port num(1-12 or 'a' to select all): [] a /*用户端口号*/
LineCoding ( 2: g.dmt / 5: g.lite ): [2] /*线路编码*/
LineType ( 2: fastOnly / 3: interleaveOnly ): [2] 3 /*线路类型*/
name of AdslConf Profile(*.PRF): [ ] zte512 /*选择要应用的用户端口的Profile文件*/
8.保存:(应保存adsl、system、atm)
#DSLAM>>saveflash
All information in flash will be changed! (C)ontinue or (E)xit? [C]
Please select types:
(1)--adsl config information
(2)--system config information
(3)--atm config information
Enter your choice: [1] 2
[OK] g system config information......
/*此命令分别执行3次,将adsl flash、system flash、atm flash分别保存*/
注:保存数据后,一定要断电重启,查询数据的正确性,尤其要查询:1。Showcard、2。MAC地址(showmac)、3。带内网口IP地址(ifconf -a)、4。路由(route -a)、5。网管服务器IP地址(showmgrip)、6。带内网管VCX(showmvcx)7。若有级连,查下级网元需要的带内网管VCX,光口1――光口2的VCX,如:0/33、0/34等