1.OLT登录用户名密码
登录用户名和密码均为zte,enable密码为zxr10;
2.查看OLT板卡信息
ZXAN#show card
Rack Shelf Slot CfgType RealType Port HardVer SoftVer Status
-------------------------------------------------------------------------------
1 1 1 GTGO GTGOG 8 V1.0.0 V2.1.0 INSERVICE
1 1 2 GTGO GTGOG 8 V1.0.0 V2.1.0 INSERVICE
1 1 3 PRAM PRAM 3 V1.0.0 V1.01 INSERVICE
1 1 4 SMXA SMXA 3 V1.0.0 V2.1.0 INSERVICE
由以上信息可知GPON板卡的槽位号为1/1,上联板卡的槽位号为1/4
3.新增一个DBA模板
ZXAN(config-gpon)#profile tcont zh type 4 maximum 1000000
查看新建的模板信息:
ZXAN(config-gpon)#show gpon profile tcont zh
Profile name :zh
Type FBW(kbps) ABW(kbps) MBW(kbps) PRIORITY WEIGHT
4 0 0 1000000 N/A N/A
4.添加ONT模板
ZXAN(config-pon)#onu-type zh gpon description 2GE+WIFI
ZXAN(config-pon)#onu-type zh gpon max-tcont 8
ZXAN(config-pon)#onu-type zh gpon max-gemport 32
ZXAN(config-pon)#onu-type zh gpon max-switch-perslot 1
ZXAN(config-pon)#onu-type zh gpon max-flow-perswitch 32
ZXAN(config-pon)#onu-type-if zh eth_0/1
ZXAN(config-pon)#onu-type-if zh eth_0/2
ZXAN(config-pon)#onu-type-if zh wifi_0/1
查看ONT模板信息:
ZXAN(config-pon)#show onu-type gpon zh
ZXAN(config-pon)#show onu-type-if zh
5.PON口下接一个HGU进行注册
a.开启OLT PON2口
ZXAN(config)#interface gpon-olt_1/1/2
ZXAN(config-if)#no shutdown
b.查看下接ONT自动发现信息
ZXAN(config-if)#show gpon onu uncfg
OnuIndex Sn State
---------------------------------------------------------------------
gpon-onu_1/1/2:1 TDTC35117228 unknown
c.ONT注册
ZXAN(config-if)#onu 1 type zh sn TDTC35117228
d.查看ONT详细信息
ZXAN(config-if)#show gpon onu detail-info gpon-onu_1/1/2:1
6.配置ONT DBA模板绑定以及业务流映射关系
ZXAN(config)#interface gpon-onu_1/1/2:1
ZXAN(config-if)#tcont 1 profile zh
ZXAN(config-if)#gemport 1 tcont 1
ZXAN(config-if)#service-port 1 vport 1 user-vlan 100 vlan 100
查询上述配置:
ZXAN(config)#show running-config interface gpon-onu_1/1/2:1
7.配置VEIP业务通道
ZXAN(config)#pon-onu-mng gpon-onu_1/1/2:1
ZXAN(gpon-onu-mng 1/1/2:1)#service 1 gemport 1
ZXAN(gpon-onu-mng 1/1/2:1)#switchport-bind switch_1/1 veip 1
ZXAN(gpon-onu-mng 1/1/2:1)#vlan-filter-mode veip 1 tag-filter vlan-filter untag-filter transparent
若配置的ONT类型为SFU,此处的配置如下(此处以SFU LAN4口进行举例,配置端口为hybrid模式,透传vlan100和995):
pon-onu-mng gpon-onu_1/2/5:1
service 1 gemport 1
vlan port eth_0/4 mode hybrid
vlan port eth_0/4 vlan 100,995
8.配置上联端口vlan
ZXAN(config)#interface gei_1/4/1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 100 tag
查看上联端口vlan配置:
ZXAN(config)#show running-config interface gei_1/4/1
业务实测:在HGU本地配置WAN连接,对应的vlan为100,业务可通
9.对ONT配置限速
a.新建一条限速模板
ZXAN(config)#traffic-profile zh ip cir 1000 pir 30000
查看新增的限速模板信息:
ZXAN(config)#show traffic-profile name zh
b.将限速模板绑定到ONT vport上
ZXAN(config)#interface gpon-onu_1/1/2:1
ZXAN(config-if)#traffic-profile ZH vport 1 direction ingress
ZXAN(config-if)#traffic-profile ZH vport 1 direction egress
查询限速配置:
ZXAN(config)#show running-config interface gpon-onu_1/1/2:1
实测限速生效。
10.配置并查看ONT端口状态
关闭和开启ONT端口:
ZXAN(gpon-onu-mng 1/1/1:1)#interface eth eth_0/4 state lock
ZXAN(gpon-onu-mng 1/1/1:1)#interface eth eth_0/4 state unlock
查看ONT端口状态:
ZXAN(config-if)#show gpon remote-onu interface eth gpon-onu_1/1/1:1
11.查看OLT告警信息
ZXAN(config)#show logging alarmlog level notifications
12.查看ONT光功率信息
ZXAN(config)#show pon power attenuation gpon-onu_1/1/2:1
13.查看ONT版本及分区信息
ZXAN(config)#show remote-unit information gpon-olt_1/1/2 1
14.通过OLT对ONT进行远程升级
将文件下载至olt
ZXAN#file download version-ru v2.1.9.4.img ftp ipaddress 192.168.3.128 user 123 password 123
Downloading from host(192.168.3.128)
Transfering file v2.1.9.4.img ...
......................................Successfully
选择需要升级的ONT进行升级
ZXAN#remote-unit update v2.1.9.4.img gpon-olt_1/1/1 1
查看ONT升级状态
ZXAN#show remote-unit update-status gpon-olt_1/1/1 1
gpon-onu_1/1/1: 1
Taskname : Manual
Action : Update
ImgLocation: Local
Status : In-progress
Progress : 1%
Failreason : None
Committime :
ZXAN#show remote-unit update-status gpon-olt_1/1/1 1
gpon-onu_1/1/1: 1
Taskname : Manual
Action : Update
ImgLocation: Local
Status : In-progress
Progress : 100%
Failreason : None
Committime :
ZXAN#show remote-unit update-status gpon-olt_1/1/1 1
gpon-onu_1/1/1: 1
Taskname : Manual
Action : Update
ImgLocation: Local
Status : Success
Progress : 100%
Failreason : None
Committime :
查看ONT当前版本及分区信息,此操作主要是观察不同分区对应的版本使用状态(commit和active状态),此时ONT运行的是分区2中的版本
ZXAN#show remote-unit information gpon-olt_1/1/1 2
gpon-onu_1/1/1: 2
RuVendorName : ACEG
RuType : B13104AN-09
Region 1
Vertag : V2.9.1.5
Commited : No
Activated : No
Valid : Yes
Region 2
Vertag : V2.9.1.5
Commited : Yes
Activated : Yes
Valid : Yes
对升级完成的ONT执行active操作,此操作后ONT会自动重启
ZXAN#remote-unit activate gpon-olt_1/1/1 2
等待ONT启动成功后再次查看版本信息
ZXAN#show remote-unit information gpon-olt_1/1/1 2
gpon-onu_1/1/1: 2
RuVendorName : ACEG
RuType : B13104AN-09
Region 1
Vertag : V2.9.1.5
Commited : No
Activated : Yes
Valid : Yes
Region 2
Vertag : V2.9.1.5
Commited : Yes
Activated : No
Valid : Yes
对升级完成的ONT执行commit操作
ZXAN#remote-unit commit gpon-olt_1/1/1 2
手动对ONT进行重启
ZXAN#configure terminal
ZXAN(config)#pon-onu-mng gpon-onu_1/1/1:2
ZXAN(gpon-onu-mng 1/1/1:2)#reboot
Confirm to reboot? [yes/no]:y
等待ONT启动成功后再次查看版本信息,此时ONT运行的是分区1中的版本(即此次升级的分区)
ZXAN(gpon-onu-mng 1/1/1:2)#show remote-unit information gpon-olt_1/1/1 2
gpon-onu_1/1/1: 2
RuVendorName : ACEG
RuType : B13104AN-09
Region 1
Vertag : V2.9.1.5
Commited : Yes
Activated : Yes
Valid : Yes
Region 2
Vertag : V2.9.1.5
Commited : No
Activated : No
Valid : Yes
15.组播相关配置
vlan 995
multicast-packet drop-unknown
igmp enable
igmp query-interval 30
igmp mvlan 995
igmp mvlan 995 max-group 4095
igmp mvlan 995 group 239.49.0.1 to 239.49.0.100
interface gpon-onu_1/4/4:5
sn-bind enable sn
tcont 1 name t1 profile 1G
gemport 1 name g1 unicast tcont 1 dir both queue 1
switchport mode hybrid vport 1
switchport vlan 46,995 tag vport 1
igmp mvlan 995 source-port gei_1/20/2
igmp mvlan 995 receive-port gpon-onu_1/4/4:5 vport 1
pon-onu-mng gpon-onu_1/4/4:5
gemport 1 flow 1
vlan port eth_0/1 mode tag vlan 46
multicast vlan add vlanlist 995
multicast vlan tag-strip port eth_0/1 enable