1、使用特殊的中兴串口线
登录:用户名:admin,密码:admin,enable 密码:admin
默认 MGMT IP地址:10.62.5.101/16
1、show card 命令:查看数据板状态;Status项为Inservice 为正常
9806(config)# show card
Slot Shelf Type Port HardVer SoftVer Status
----------------------------------------------------------------------
1 1 ASTEC 24 080701 V1.0.0T3 Inservice
2 1 VSTEH 24 091200 V1.0.0T3 Inservice
5 1 SCCBK 2 090100 V2.1.0P3 Inservice
----------------------------------------------------------------------
2、开始配置,主要是创建vlan,配置adsl-profile等操作以及查看操作指令
9806(config)#
2.1 创建VLANID=100
9806(config)# add-vlan 100
2.2 配置DSLAM 管理IP
2.2.1 设置带外管理IP===即MGMT eth管理IP)(基本配置)
9806(config)# ip host 19.168.20.100 255.255.0.0
2.2.2 设置带内vlan管理IP(基本配置)
9806(config)# ip subnet 192.168.88.249 255.255.255.0 100 name VLAN100-MGMTIP
2.3 创建ADSL模板,并设置模板带宽大小
9806(config)# adsl-profile 20M
9806(config)# adsl-profile 20M atuc-inp 1 atur-inp 1
设置ADSL模板带宽大小,注意配置带宽太大会导致DSL终端设备无法注册到DSLAM 局端上
9806(config)# adsl-profile 20M #adsl2+最大下载带宽在25M左右,上传最大1.5M
AtucConfRateMode(1-fixed,2-adaptAtStartup,3-adaptAtRuntime):[1]2
AtucConfRateChanRatio(0..100):[0]
AtucConfTargetSnrMgn(0..310(0.1dB)):[80]
AtucConfMaxSnrMgn(80..310(0.1dB)):[310]
AtucConfMinSnrMgn(0..80(0.1dB)):[0]
AtucConfDownshiftSnrMgn(0,0..80(0.1dB)):[0]
AtucConfUpshiftSnrMgn(0,80..310(0.1dB)):[0]
AtucConfMinUpshiftTime(0..16383):[0]
AtucConfMinDownshiftTime(0..16383):[0]
ConfProfileLineType(1-fast-only,2-interleaved-only):[2]1 #注意模式选择
AtucChanConfFastMaxTxRate(0..102400kbps):[1024]25600 #针对fast-only模式设置最大最小带宽
AtucChanConfFastMinTxRate(0..100000kbps):[1024]10240 #10M
AtucChanConfInterleaveMaxTxRate(0..102400kbps):[1024]25600 #针对interleave-only模式设置最大最小带宽
AtucChanConfInterleaveMinTxRate(0..100000kbps):[1024]10240 #10M
AtucChanConfMaxInterleaveDelay(0..255ms):[16]
其余配置默认即可
2.4 配置1/12端口
查看ADSL 槽1下12端口配置(第一槽第12端口以及端口配置)
9806(cfg-if-adsl-1/12)# show running-config interface 1/12
end
configure interface adsl 1/12
adsl profile 20M #绑定ADSL模板,主要添加绑定adsl带宽模板
atm pvc 1 vpi 0 vci 32 common #默认配置
atm pvc 2 vpi 8 vci 35 common #默认配置
pvid 100 pvc 1 #添加带宽VLANID100,DSLAM下行剥离VLANID
还可以设置 ADSL 通道 trans-mode 传输模式:
9806(cfg-if-adsl-1/12)# adsl trans-mode
Preferred modes:
[1] T1.413 G.dmt(fdm)
[2] T1.413 G.dmt(ec)
[3] Adsl2(fdm) Adsl2+(fdm) G.dmt(fdm) ReAdsl2(fdm)
[4] Adsl2(fdm) Adsl2+(ec) G.dmt(fdm) ReAdsl2(fdm)
[5] Adsl2(fdm) Adsl2+(fdm) G.dmt(fdm) ReAdsl2(fdm) T1.413
[6] Adsl2(fdm) Adsl2+(ec) G.dmt(fdm) ReAdsl2(fdm) T1.413
[7] Custom
[8] All Capability
Please choose one transmode to change to (1-8):[3] #默认是3
2.5 配置 VLANID绑定到 adsl端口上
2.5.1 ADSL槽1端口12下带宽vlan打上untag标签
9806(config)# vlan 100 1/12 untag pvc 1 #这样配置下行DSL终端上不需要配置任何vlan
或者多个端口
9806(config)# vlan 100 1/1-24 untag pvc 1
9806(config)# show running-config module vlan
end
configure
add-vlan 100
end
configure interface adsl 1/12
pvid 100 pvc 1
end
configure
vlan 1 1/1-24 untag pvc 1
vlan 1 1/1-24 untag pvc 2
**vlan 100 1/12 untag pvc 1**
vlan 1 2/1-24 untag pvc 1
vlan 1 5/1-2 untag
vlan 100 5/1-2 untag
2.5.2 ADSL槽1端口12下带宽vlan打上 tag标签
#这样配置下行DSL终端上需要配置 tag vlan100 业务才能通
9806(config)# vlan 100 1/12 tag pvc 1 #这里配置pvc1tag vlan,则在adsl 1/12 接口下不能配置 pvid 100 pvc 1 这条指令
9806(config)# show running-config module vlan
end
configure
add-vlan 100
vlan 1 1/1-24 untag pvc 1
vlan 1 1/1-24 untag pvc 2
vlan 100 1/1-24 tag pvc 1
vlan 1 2/1-24 untag pvc 1
vlan 1 5/1-2 untag
vlan 100 5/1-2 untag
9806(config)#
2.6 配置上联口,并绑定业务vlanID
9806(config)# vlan 100 5/1-2 untag
注:5/1:EPON口,5/2:GE口
设置上联口为主业务端口
uplink-mode cascade master-port 5/2 #默认
3. 其它指令
3.1 查看槽1下24个端口的带宽端口状态,端口显示UP状态则为在线
9806(config)# show interface 1/1-24 port-status
Port AdminStatus LinkStatus AtucTxRate(kbps) AturTxRate(kbps)
-----------------------------------------------------------------
1/1 enable down N/A N/A
1/2 enable down N/A N/A
1/3 enable down N/A N/A
1/4 enable down N/A N/A
1/5 enable down N/A N/A
1/6 enable down N/A N/A
1/7 enable down N/A N/A
1/8 enable down N/A N/A
1/9 enable down N/A N/A
1/10 enable down N/A N/A
1/11 enable down N/A N/A
1/12 enable up 1023 509
1/13 enable down N/A N/A
1/14 enable down N/A N/A
1/15 enable down N/A N/A
1/16 enable down N/A N/A
1/17 enable down N/A N/A
1/18 enable down N/A N/A
1/19 enable down N/A N/A
Press any key to continue (Q to quit)
3.2 如果用户在使用网络,则流量会增加
9806(config)# show interface 1/12 statistics
Interface : 1/12
------------------------------------------------------
ifHCInOctets : 0
ifHCInUcastPkts : 0
ifHCInMulticastPkts : 0
ifHCInBroadcastPkts : 0
ifHCOutOctets : 320092
ifHCOutUcastPkts : 1416
ifHCOutMulticastPkts : 0
ifHCOutBroadcastPkts : 2188
etherIfOutOctetRate : 128
etherIfOutPktRate : 2
etherIfInOctetRate : 0
etherIfInPktRate : 0
etherIfOutBandwidthUtil : 0
etherIfInBandwidthUtil : 0
dot3InPauseFrames : 0
dot3OutPauseFrames : 0
ifOutPkts : 3604
ifInOctetsCorrect : 0
ifOutOctetsCorrect : 320092
ifInOctetsError : 0
ifOutOctetsError : 0
9806(config)#
3.3 查看ADSL模板配置参数
9806(config)# show adsl profile 20M
查看设备各端口学习到的MAC情况,
9806# show mac-address-table
PORT MAC VID PVC TYPE
1/20 00-0E-F4-FD-28-2F 1 1 dynamic
擦除配置
9806# erase
configuration - Erase the configuration
operation-log - Erase the operation-log
version - Erase a version
voip-config - Erase the voip configuration
9806# erase
默认的ADSL 模板带宽 32-1024kb
9806(config)# show adsl profile DEFVAL
AtucConfRateMode : adaptAtStartup
AtucConfRateChanRatio : 0
AtucConfTargetSnrMgn : 80
AtucConfMaxSnrMgn : 310
AtucConfMinSnrMgn : 0
AtucConfDownshiftSnrMgn : 0
AtucConfUpshiftSnrMgn : 0
AtucConfMinUpshiftTime : 0
AtucConfMinDownshiftTime : 0
ConfProfileLineType : interleaved-only
AtucChanConfFastMaxTxRate : 1024
AtucChanConfFastMinTxRate : 32
AtucChanConfIntlvMaxTxRt : 1024
AtucChanConfIntlvMinTxRt : 32
AtucChanConfMaxIntlvDelay : 16
说明: ZXDSL9806H 默认不做任何配置 业务也是可以互通的
前提是在DSL-AP的WAN接口需配置如下信息:
vpi =0
vci=32
pvc=1
vlanID 不做设置
或者
vpi=8
vci=35
pvc=2
但是速率这块 有点低,默认是:32-1024(最大1M)
想要更改速率 就必须 设置 adsl- profile 最大 25M
注意:超过30M ADSL profile可能无法与 下行的DSL 终端进行注册认证
DSL-AP WAN接口配置,如下图
版权声明:本文为weixin_42353331原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。