F822开局-命令行操作

OLT设备上创建F822的方法,请参考:
F822分为24POTS+24ETH口和16POTS+16ETH的两种,设备面板丝印有F822的代表24POTS+24ETH,F822-16代表16POTS+16ETH,请以示区分。
之前添加的ZTE-F822统一作为24线的onu-type,ZTE-F822-16作为16线的onu-type。
注:添加的下发属性是auto-dispatch-set ZTE-F822 disable,禁止自动下发。
注:远程配置唯一一条路由(最好是到当地网管服务器的路由),切忌不要配置缺省路由,远程登录设备配置其它路由,配置好之后保存好。关闭自动下发的目的是方式OLT上的路由配置信息在ONU重启后覆盖新配置的路由信息,所以ONU上数据做完一定要保存。

ZXAN(config)#pon
ZXAN(config-pon)#onu-type epon F822-16 description 16:16 添加16口F822-ONU类型信息
ZXAN(config-pon)#onu-if ZTE-F822-16 eth_0/1-16 如果OLT系统里没有做此命令,那么在配置ONU宽带端口VLAN时就无法添加,会提示没有ETH_......
ZXAN(config-pon)#onu-if ZTE-F822-16 pots_0/1-16
ZXAN(config-pon)#onu-type epon F822-24 description 24:24 添加24口F822-ONU类型信息
ZXAN(config-pon)#onu-if ZTE-F822-24 eth_0/1-24
ZXAN(config-pon)#onu-if ZTE-F822-24 pots_0/1-24
ZXAN(config-pon)#onu-type epon F803 description 16FE
ZXAN(config-pon)#onu-if F803 eth_0/1-16
ZXAN(config-pon)#exit
ZXAN(config)#exit
ZXAN#write


张皓 137********

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】


2.F822的onu-type在OLT上默认是不存在的,需要创建一个新的ONU类型为F822,该ONU包括24个以太网,ONU类型名字为ZTE-F822,创建模块过程如下:
HYS-JFL-C200#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
HYS-JFL-C200(config)#pon
HYS-JFL-C200(config-pon)#onu-type epon ZTE-F822 description 24Fe,24Pots 【在Pon模式下,创建一个新的onu-type为ZTE-F822】
◎◎◎◎◎◎◎◎◎◎◎◎注意:创建完后,可以在show onu-type中看到新创建的ONU类型。◎◎◎◎◎◎◎◎◎◎◎◎
HYS-JFL-C200(config-pon)#onu-if ZTE-F822 eth_0/1-24 【给该ONU类型创建24个以太网口】
HYS-JFL-C200(config-pon)#onu-if ZTE-F822 pots_0/1-24 【给该ONU类型创建24个POTS口】
HYS-JFL-C200(config-pon)#auto-dispatch-set ZTE-F822 disable 【配置此ONU类型模板的自动下发属性为不自动下发】
◎◎◎◎◎◎◎◎◎◎◎◎模板如此配置表示对此类onu均执行此类操作,具体使用根据用户需求对单个onu或某类onu配置数据是否自动下发。◎◎◎◎◎◎◎◎◎◎◎◎


3.注册ONU,

使能ONU
HYS-JFL-C200(config)#interface epon-olt_0/3/1 【进入PON口】
HYS-JFL-C200(config-if)#onu 3 type ZTE-F822 mac xxxx.xxxx.xxxx 【根据mac注册】
HYS-JFL-C200(config-if)#show onu authentication epon_0/3/1 【查看第3块PON板第3个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:3 【进入内联口】
HYS-JFL-C200(config-if)#authentication enable 【使能ONU】
HYS-JFL-C200(config-if)#switchport mode trunk
HYS-JFL-C200(config-if)#switchport vlan 2047,324-347,1601 tag 【添加VLAN(网管、宽带业务、窄带业务)】
bandwidth upstream fixed 0 fixedpkt 64 assured 10000 maximum 100000 maxburst 16777215 priority 0
bandwidth downstream maximum 100000 maxburst 1555000 【配置上、下行带宽】


4.远程配置ONU管理IP,配置ONU宽带端口VLAN
HYS-JFL-C200(config)#pon-onu-mng epon-onu_0/3/1:3 【进入远程配置ONU模式】
HYS-JFL-C200(epon-onu-mng)#mgmt-ip onu-ip 172.31.0.86 255.255.255.0 6 2047 mgm-ip 61.187.0.0 255.255.0.0 172.31.0.1 status enable 【配置远程管理IP】
HYS-JFL-C200(epon-onu-mng)#isolation disable 【关闭端口保护】
HYS-JFL-C200(epon-onu-mng)#vlan port eth_0/1 mode tag vlan 324 priority 0 【配置宽带端口VLAN】
......
HYS-JFL-C200(epon-onu-mng)#vlan port eth_0/24 mode tag vlan 347 priority 0 【配置宽带端口VLAN】


5.保存数据
HYS-JFL-C200(epon-onu-mng)#exit
HYS-JFL-C200(config)#exit
HYS-JFL-C200#
HYS-JFL-C200#write 【保存OLT配置数据】

6.登录F822配置9806H窄带数据
telnet x.x.x.x 【远程登录,默认用户名/密码:admin/admin】
F822>enable
Please input password: 【enable密码默认为:admin】
F822#config
F822(config)#hostname HY-YJQX_1 【配置设备hostname】
HY-YJQX_1(config)#exit
HY-YJQX_1# erase voip-config 【擦除voip默认数据】
◎◎◎◎◎◎◎◎◎◎◎◎此操作必须,如果不擦除后续del-ips,del-slctermid可能会报DB数据库出

错,无法执行◎◎◎◎◎◎◎◎◎◎◎◎
HY-YJQX_1# reboot 【重启设备】
telnet x.x.x.x 【重新远程登录】
HY-YJQX_1>enable
Please input password:
HY-YJQX_1#config
HY-YJQX_1(config)# vlan1601 【创建语音业务vlan】
HY-YJQX_1(config-vlan)#exit
HY-YJQX_1(config)#interface inband-vlan 1601 【进入vlan接口】
HY-YJQX_1(config-if)#ip address 10.47.187.142 255.255.255.0 voip 【配置语音业务IP/掩码/语音VLAN/属于voip使用】
HY-YJQX_1(config-if)#exit
HY-YJQX_1(config)#ip route 0.0.0.0 0.0.0.0 10.47.187.1 【配置到设备语音地址的路由】
HY-YJQX_1(config)#interface gei_0/3/1 【进入上行口接口模式】
HY-YJQX_1(config-if)#switch vlan 1601 tag 【添加语音业务VLAN】
◎◎◎◎◎◎◎◎◎◎◎◎注意:这些配置好了,就可以ping通SS了。能通标识网络OK◎◎◎◎◎◎◎◎◎◎◎◎
del-ipstermid
del-slctermid beginslot 1 num 24
mod-mgbaseattr mgid 1 mgport 2944 domname HY.YBW.Z.822002 mginfo 1 【修改MG域名和域名注册方式,mg侧使用端口号】
【默认是有mgip的,这里需要根据实际情况修改】
HY-YJQX_1(ag)#mod-mgc mgcid 1 mgctype 2 mgcip 10.39.33.83 mgcport 2944 mgcinfo 0 【修改MGC的ip和ip注册方式,mgc类型为2代表华为ss,mg侧使用端口2944】
HY-YJQX_1(ag)#add-slctermid beginslot 1 beginindex 0 num 24 tmidfix aaln/ type 2 mgid 1 【配置termid,格式type2:USER0-USER47,前缀aaln】
HY-YJQX_1(ag)#add-ipstermid tmidfix RTP/ type 2 digitlen 3 mgid 1 【配置ips资源,格式type2:USER0-USER47,前缀RTP/】
HY-YJQX_1(ag)#mod-mgcattr mgctype 2 dmlong 5 dmshort 3 【修改改长短计时器】
HY-YJQX_1(ag)#add-voip-route nexthop 10.47.187.1 【用get-voip-config检查看nexthop,erase voip-config后改路由已经不存在,添加】
HY-YJQX_1(ag)#h248state 输出正常结果:H248-SS link status(H248Trkplink) : OK. MGCid is 1. 【检查h.248状态】
◎◎◎◎◎◎◎◎◎◎◎◎注意:至此窄带业务已经全部开通,但是后续配置也是必须的◎◎◎◎◎◎◎◎◎◎◎◎
mod-expar parid 1 dtmfrelaymode 1
mod-rtppar parid 1 modemmode 11
mod-slcattrib slot 1 faxmode 0
mod-rtppar

parid 1 faxmode 2 HY-YJQX_1(ag)#exit
copy running-config startup-config 保存配置数据】


升级F822步骤
ZXAN(config)#nvram boot-server 61.187.156.234
ZXAN(config)#nvram boot-username su3
ZXAN(config)#nvram boot-password su3
ZXAN(config)#show nvram running

ZXAN# version
ZXAN(version)#download version m24e_sv.bin 1597192
ZXAN(version)#download version bm24e.bin 336288
ZXAN(version)#download version m24e.bin 5976883
ZXAN(version)#show version
ZXAN# reboot .


1、查看单板运行状况,使用show card命令。单板运行正常时状态为Inservice。
2、查看系统配置show running-config。
3、通过ping命令确认到软交换的链路是正常的。
4、ag模式下使用 h248state 查看H248协议是否对接起来,正常结果:H248-SS link status(H248Trkplink) : OK. MGCid is 1.。
5、ag模式下使用get-voip-ipaddr确认媒体和控制的路由指向是语音网关,如果不是指向语音网关不会影响注册,9806H对端用户的语音要传递到9806H端需要通过这条路由。
正常结果:如果不正确请进行修改:mod-voip-route nexthop 10.41.6.1
mgid: 1 type: media
ipaddr: 10.47.187.142
submask: 255.255.255.0
destip: 0.0.0.0
destmask: 0.0.0.0
nexthop: 10.47.187.1
nexthopmac: not config
arptime: 10
--------------------------------------------------------------------------------
mgid: 1
type: control
ipaddr: 10.47.187.142
submask: 255.255.255.0
destip: 0.0.0.0
destmask: 0.0.0.0
nexthop: 10.47.187.1
nexthopmac: not config
arptime: 10
--------------------------------------------------------------------------------

2 rows are effected


60.167.151.47 7



















相关文档
最新文档