通信人家园
标题: EPON9806H、F820、F822开局简明步骤 [查看完整版帖子] [打印本页]
时间: 2016-3-22 09:09
作者: netying
标题: EPON9806H、F820、F822开局简明步骤
EPON9806H、F820、F822开局简明步骤
一.开通9806H-IAD+ADSL
1:注册ONU,使能ONU
HYS-JFL-C200#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
HYS-JFL-C200(config)#
HYS-JFL-C200(config)#show onu unauthentication epon_0/3/1【查看第3块PON板第1个PON口下未注册的ONU】
HYS-JFL-C200(config)#interface epon-olt_0/3/1 【进入PON口】
HYS-JFL-C200(config-if)#onu 1 type ZTE-9806 macxxxx.xxxx.xxxx 【根据mac注册】
HYS-JFL-C200(config-if)#show onu authentication epon_0/3/1【查看第3块PON板第1个PON口下已注册的ONU】
HYS-JFL-C200(config-if)#exit
HYS-JFL-C200(config)#
HYS-JFL-C200(config)#show onu all-status epon-olt_0/3/1【查看第3块PON板第2个PON口下ONU的状态】
HYS-JFL-C200(config)#interface epon-onu_0/3/1:1 【进入内联口】
HYS-JFL-C200(config-if)#authentication enable 【使能ONU】
HYS-JFL-C200(config-if)#switchport mode trunkvport 1
HYS-JFL-C200(config-if)#switchport vlan 216 tag vport 1 【添加语音VLAN,如果要做QINGQ的话就不用做业务和网管VLAN了】
HYS-JFL-C200(config-if)# descriptionWSLanzhixiaoqu2qi-Bqu-4#3 【在OLT里给ONU命名】
bandwidth upstream fixed 0 fixedpkt 64 assured 10000 maximum100000 maxburst 16777215 priority 0
bandwidth downstreammaximum 100000 maxburst 1555000 【配置上、下行带宽】
HYS-JFL-C200#wr (保存OLT)
2:在现场开通9806的网管(都在config模式下配置)
add-vlan 5 (添加管理VLAN 5)
vlan 5 5/1-2 tag
ip subnet 172.16.102.3 255.255.255.0 5
ip route 0.0.0.0 0.0.0.0 172.16.102.1
3:开通9806AG
telnetx.x.x.x 【远程登录,默认用户名/密码:admin/admin】
9806>enable
Please input password: 【enable密码默认为:admin】
9806#config
9806(config)#system hostname DSGJJD-1 【配置设备的名字hostname】
DSGJJD-1(config)#add-vlan 216, 【增加语音VLAN】
DSGJJD-1(config)#vlan 216 5/1-2 tag
DSGJJD-1(config)#ip subnet 172.16.102.3255.255.255.0 216 voip 【配置语音IP/掩码/语音VLAN】
DSGJJD-1(config)#ip route 0.0.0.00.0.0.0 172.16.102.1 【语音路由要配置为全局的】
(以下就是在AG里做语音的相关命令)
DSGJJD-1(config)exit
DSGJJD-1#ag
DSGJJD-1(ag)#mod-mgc mgcid 1 mgctype 2 mgcip10.26.64.16 (固定不变的)
del-slctermid beginslot 1 num 192 (根据容量而定,192表示4块语音板)
add-slctermid beginslot 1 num 192 tmidfix A type 2 digitlen3 mgid 1 (192表示共192个端口)
del-ipstermid
add-ipstermid tmidfix RTP/ type 2 begno 0mgid 1
Mod-expar parid 1dtmfrelaymode 1 (设置二次拨号,参数为1)
Mod-mgcattr mgctype 2 dmlong 8
H248-SS link status(H248Trkplink) : OK. MGCid is 1. (如果是此状态就表示语音是好的)
4:开通9806宽带业务
9806(config)#system hostname DSGJJD-1
snmp com whr ro
Snmp com whw rw
add-vlan 45,1051-1146,2051-2146
vlan 45 5/1-2 tag
vlan 1051-1146 5/1-2 tag
vlan 2051-2146 5/1-2 tag
vlan 1051-1146 1-4/1-24 untag one-to-one pvc1 (4块用户板)
vlan 2051-2146 1-4/1-24 untag one-to-one pvc 2 (4块用户板)
vlan 45 1-4/1-24 untag pvc 3
adsl-profile WH512K
adsl-profile WH512K
adsl-profile WH1M
adsl-profile WH1M
adsl-profile WH2M
adsl-profile WH2M
adsl-profile WH3M
adsl-profile WH3M
adsl-profile WH4M
adsl-profile WH4M
interface range adsl1-4/1-24
atm pvc 1 vpi 8 vci 41
atm pvc 2 vpi 8 vci 45
atm pvc 3 vpi 8 vci 46
pvid 1051-1146 one-to-one pvc 1
pvid 2051-2146 one-to-one pvc 2
pvid 45 pvc 3
adsl profile WH2M
exit
copy running star (保存)
save (保存)
》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》
二:开通F820-IAD+ADSL
1.注册ONU,使能ONU
HYS-JFL-C200#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
HYS-JFL-C200(config)#
HYS-JFL-C200(config)#show onu unauthentication epon-olt_0/3/1 【查看第3块PON板第1个PON口下未注册的ONU】
HYS-JFL-C200(config)#interface epon-olt_0/3/1 【进入PON口】
HYS-JFL-C200(config-if)#onu 1 type ZTE-F820 macxxxx.xxxx.xxxx 【根据mac注册】
HYS-JFL-C200(config-if)#show onu authentication epon_0/3/1【查看第3块PON板第1个PON口下已注册的ONU】
HYS-JFL-C200(config-if)#exit
HYS-JFL-C200(config)#
HYS-JFL-C200(config)#show onu all-status epon-olt_0/3/1 【查看第3块PON板第1个PON口下ONU的状态】
HYS-JFL-C200(config)#interface epon-onu_0/3/1:1 【进入内联口】
HYS-JFL-C200(config-if)#authentication enable 【使能ONU】
HYS-JFL-C200(config-if)#switchport mode trunk vport 1 【固定不变】
HYS-JFL-C200(config-if)#switchport vlan 216tag vport 1 【添加语音VLAN,如果要做QINGQ的话就不用做业务和网管VLAN了】
HYS-JFL-C200(config-if)#description WSLanzhixiaoqu2qi-Bqu-4#3 【在OLT里给ONU命名】
bandwidth upstream fixed 0 fixedpkt 64 assured 10000 maximum100000 maxburst 16777215 priority 0
bandwidth downstream maximum 100000 maxburst1555000
2:进入以下模式下发管理IP及路由和开通F820的宽带
ZXAN(config)#pon-onu-mng epon-onu_0/3/1:1
HYS-JFL-C200(epon-onu-mng)#mgmt-ip onu-ip172.31.0.86 255.255.255.0 6 2047 mgm-ip 0.0.0.0 0.0.0.0 172.31.0.1 status enable (下发管理IP,F820可以设置为全局路由)
ZXAN(epon-onu-mng)#vlan port eth_0/1 mode tagvlan 1051 priority 7 (下发业务VLAN到F820的每个端口中)
.
.
.
ZXAN(epon-onu-mng)#vlanport eth_0/8 mode tag vlan 1058 priority 7
ZXAN(epon-onu-mng)#vlanport eth_0/9 mode tag vlan 1059 priority 7
.
.
.
ZXAN(epon-onu-mng)#vlanport eth_0/16 mode tag vlan 1066 priority 7 (如果是两块AD板就做16次)
HYS-JFL-C200#wr (保存OLT)
3:登陆(telnet网管IP)到F820里开通IAD
telnet X.X.X.X
ZXAN#con t
Enter configuration commands, one per line. End with CTRL/Z.
interface fei_0/5/1 (F820默认的虚拟的上联口为fei_0/5/1)
no negotiation auto
duplex full
switchport mode trunk
switchport vlan 216 tag
ZXAN(config)#voip 5
ZXAN(config-voip)#
mg net 1 ip-addres 10.29.222.132 mask 255.255.255.0 gateway10.29.222.1 vlan-option 1 vlan-id 225 vlan-prio 7
mg add 1 1 port 2427mid-flag 2 domain-name wuhu2122bekgy7.com(wuhu2122bekgy7.com为该设备的域名)
mgc add 1 ip-address10.26.64.16 port 2727 md5-profile 1 (设置主用SS地址和端口号,和省公司保持一致,芜湖这里固定不变)
mgc add 2 ip-address 10.26.64.144 port 2727 md5-profile 1(设置备用SS地址和端口号,和省公司保持一致,芜湖这里固定不变)
rtp parameter dtmf dtmf-relaymode 2 (设置二次拨号,芜湖这里固定不变)
rtp parameter ec msecho-enable 1 (芜湖这里固定不变)
rtp parameter voice vadval 0 silencetopcm 1 pcmtopkg-gain 14pkgtopcm-gain 14 (芜湖这里固定不变)
rtp parameter fax-modem t38-enable 1 fax-control 2 (芜湖这里固定不变)
ZXAN(config-voip)#save (同时语音板自动重起)
ZXAN(config-voip)#exit
ZXAN(config)#exit
ZXAN#wr (保存系统)
ZXAN#show mg info (如果是以下状态就表示语音是通的)
mgid 1
protocol-type mgcp
lines-number 16
line0 in service
line1 in service
line2 in service
line3 in service
line4 in service
line5 in service
line6 in service
line7 in service
line8 in service
line9 in service
line10 inservice
line11 inservice
line12 inservice
line13 inservice
line14 inservice
line15 inservice
mg-status in service
》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》
三:开通F822-IAD+ADSL
1:注册ONU,使能ONU
ZXAN(config)#pon
ZXAN(config-pon)#onu-type epon ZTE-F822-16description 16:16 (OLT里如果没有F822的注册类型时用到此命令)
ZXAN(config-pon)#onu-if ZTE-F822-16eth_0/1-16 (下发业务VLAN时如果提示无eth...下发不成功时用此命令)
ZXAN(config-pon)#onu-if ZTE-F822-16pots_0/1-16
ZXAN(config-pon)#onu-type epon ZTE-F822-24description 24:24
ZXAN(config-pon)#onu-if ZTE-F822-24 eth_0/1-24
ZXAN(config-pon)#onu-if ZTE-F822-24pots_0/1-24
ZXAN(config-pon)#onu-type epon F803description 16FE
ZXAN(config-pon)#onu-if F803 eth_0/1-16
ZXAN(config-pon)#exit
ZXAN(config)#exit
以上命令如果在OLT系统里做过一次以后就不用做了。
ZXAN#write
HYS-JFL-C200#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
HYS-JFL-C200(config)#
HYS-JFL-C200(config)#show onu unauthentication epon_0/3/1【查看第3块PON板第1个PON口下未注册的ONU】
HYS-JFL-C200(config)#interface epon-olt_0/3/1 【进入PON口】
HYS-JFL-C200(config-if)#onu 1 type ZTE-F822-24mac xxxx.xxxx.xxxx 【根据mac注册】
HYS-JFL-C200(config-if)#show onu authentication epon_0/3/1【查看第3块PON板第1个PON口下已注册的ONU】
HYS-JFL-C200(config-if)#exit
HYS-JFL-C200(config)#
HYS-JFL-C200(config)#show onu all-status epon-olt_0/3/1【查看第3块PON板第2个PON口下ONU的状态】
HYS-JFL-C200(config)#interface epon-onu_0/3/1:1 【进入内联口】
HYS-JFL-C200(config-if)#authentication enable 【使能ONU】
HYS-JFL-C200(config-if)#switchport mode trunkvport 1
HYS-JFL-C200(config-if)#switchport vlan 216 tag vport 1 【添加语音VLAN,如果要做QINGQ的话就不用做业务和网管VLAN了】
HYS-JFL-C200(config-if)#description WSLanzhixiaoqu2qi-Bqu-4#3 【在OLT里给ONU命名】
bandwidth upstream fixed 0 fixedpkt 64 assured 10000 maximum100000 maxburst 16777215 priority 0
bandwidth downstream maximum 100000 maxburst1555000 【配置上、下行带宽】
2:进入以下模式开通F822的宽带
ZXAN(config)#pon-onu-mng epon-onu_0/3/1:1
HYS-JFL-C200(epon-onu-mng)#mgmt-ip onu-ip172.31.0.86 255.255.255.0 6 2047 mgm-ip202.0.0.0 255.0.0.0 172.31.0.1 status enable (下发管理IP,注意F822的管理路由不能做成全局的!)
ZXAN(epon-onu-mng)#vlan port eth_0/1 mode tagvlan 1051 priority 7 (自动下发业务VLAN到F822的每个AD板端口中)
.
.
.
.
.
.
ZXAN(epon-onu-mng)#vlan port eth_0/24 mode tagvlan 1074 priority 7 (如果是24口的F822就做24次)
3:开通F822语音的相关命令
telnet x.x.x.x
ZXAN(config)# vlan 219
ZXAN(config)# interface gei_0/3/1 (F822的上联端口为0/3/1)
ZXAN(config-if)# switchport vlan 219 tag
ZXAN(config)# interface inband-vlan 219
ZXAN(config-if)# ip address 语音IP +子网掩码+VOIP(注意:如果此命令做不上去,那就进入VLAN 1里把里面的地址删掉就可以了)
ZXAN(config-if)# ex
ZXAN(config)# ip route 0.0.0.00.0.0.0 +语音网关
DSGJJD-1(config)exit
DSGJJD-1#ag
DSGJJD-1(ag)#mod-mgc mgcid 1 mgctype 2 mgcip10.26.64.16 (固定不变的)
del-slctermid beginslot 1 num 24 (1表示F822的1槽位为语音板,24表示F822的24个语音端口)
add-slctermid beginslot 1 num 24 tmidfix A type 2 digitlen 3mgid 1 (24表示共24个端口)
del-ipstermid
add-ipstermid tmidfix RTP/ type 2 begno 0mgid 1
Mod-expar parid 1 dtmfrelaymode 1 (设置二次拨号参数为1)
Mod-mgcattr mgctype 2 dmlong 8
ZXAN(config)# ex
ZXAN# ag
ZXAN(ag)# h248state
H248-SS link status(H248Trkplink) : OK. MGCid is 1. (如果是此状态就表示语音是好的)
保存 cop runn star
》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》
以上就是9806、F820、F822的开局步骤
另外QING在OLT里的做法如下(外层标签为51,内层为12,1024-2047)
ZXAN(config)#vlan-smart-qinq enable
ZXAN(config)#vlan database
ZXAN(vlan)#vlan 51 外层标签
ZXAN(config)#interface gei_0/6/1
ZXAN(config)# switchport vlan 4001-4096 untag(要在系统里查看具体的VLAN,帮助透传的vlan打untag标签)
ZXAN(config-if)#switchport vlan 51 tag (在OLT的上行口打TAG标签)
ZXAN(config)#interface epon-olt_0/3/1
ZXAN(config-if)#vlan-smart-qinq enable (在0/3/1里QINGQ使能)
ZXAN(config-if)#p2p mode full
ZXAN(config-if)#exit
ZXAN(config)#vlan-smart-qinq ingress-portepon-olt_0/3/1 cvlan 12 to 12 svlan 51 (51是外层标签,12为管理VLAN)
ZXAN(config)#vlan-smart-qinq ingress-portepon-olt_0/3/1 cvlan 1024 to 2047 svlan 51((51是外层标签,1024到2047为业务VLAN))
通信人家园 (https://www.txrjy.com/) |
Powered by C114 |