1、文件传输错误导致包文件加载失败故障现象:MA5680T 补丁升级,补丁从 Software Version:MA5600V800R006C02 SPC108 升级为 Software Version:MA5600V800R006C02 SPC119。在加载包文件sculv8r6c00HP1119_gpon_new.bin 过程中,当加 载到 91%的时候提示包文件错误。服务器上的文件是从客户端上传过去,服务器为 linux 系统,客户端是 windows xp 系统。原因分析:分析判断可能原因:1、操作错误2、下载的原文件错误3、拆包错误4、网络丢包5、其他原因排查:1、首先看下操作步骤,ST
2、_TP_MA5680T(config)#display patch allSoftware Version:MA5600V800R006C02SPC100SPH108-Current Patch State:-Patch Name Patch State Delivery Attribute Dependency-SPC100 running common cold patch NOSPH108 running common hot patch NO-Total:2Last Patch State:-Patch Name Patch State Delivery Attribute Depen
3、dency-SPC100 running common cold patch NO-Total:1ST_TP_MA5680T(config)#load patch ftp 192.168.35.242 HP1016ST_TP_MA5680T(config)#The loading startsThe loading is successfulST_TP_MA5680T(config)#patch activate HP1016Patch operation in active board succeededST_TP_MA5680T(config)#patch run HP1016Patch
4、operation in active board succeededST_TP_MA5680T(config)#Patch operation in standby board succeededST_TP_MA5680T(config)#load patch ftp 192.168.35.242 SPH119ST_TP_MA5680T(config)#The loading is successfulST_TP_MA5680T(config)#patch activate SPH119Patch operation in active board succeededPatch operat
5、ion in standby board succeededST_TP_MA5680T(config)#patch run SPH119Patch operation in active board succeededST_TP_MA5680T(config)#Patch operation in standby board succeededST_TP_MA5680T(config)#display patch allSoftware Version:MA5600V800R006C02SPC100SPH119HP1016-Current Patch State:-Patch Name Pat
6、ch State Delivery Attribute Dependency-SPC100 running common cold patch NOHP1016 running common hot patch NOSPH119 running common hot patch YES-ST_TP_MA5680T(config)#load packetfile ftp|sftp|tftp :ftp 192.168.35.242 filename :sculv8r6c00HP1119_gpon_new.bin命令:load packetfile ftp 192.168.35.242 sculv8
7、r6c00HP1119_gpon_new.bin加载新的包文件将覆盖原有的包文件回滚功能将被取消, 请确认系统已经不需要回滚确实需要加载包文件? (y/n)n:y加载(备份,复制,.) 命令开始进行, 请耐心等待并注意结果进度显示加载(备份,复制,.) 进行过程中, 任何复位或倒换操作都会导致失败并引发不可预知的严重后果加载开始参数信息:框号:0,槽号:9,位置: -1,加载类型:发布包文件,加载对象:主用主控板ST_TP_MA5680T(config)#加载开始参数信息:框号:0,槽号:10,位置: -1,加载类型:发布包文件,加载对象:备用主 控板ST_TP_MA5680T(config)
8、#display progress load框号/槽号: 0/9板名称: H801SCUL操作类型: 加载文件类型: 发布包文件操作阶段: 文件从外部传向板内进度: 91%框号/槽号: 0/10板名称: H801SCUL操作类型: 加载文件类型: 发布包文件操作阶段: 文件从外部传向板内进度: 36%ST_TP_MA5680T(config)#加载失败参数信息:框号:0,槽号:9,位置: -1,加载类型:发布包文件,加载对象:主用主控板,失败原因 :包文件 错误ST_TP_MA5680T(config)#加载失败参数信息:框号:0,槽号:10,位置: -1,加载类型:发布包文件,加载对象:备用
9、主 控板,失败原因 :包文件错误操作过程按照升级步骤执行,不存在问题。2、下载的原文件错误文件下载用网络蚂蚁,下载过程中有中断过,然后通过续传继续下载, 怀疑续传有问题。删除原文件重新在华为 support 下载,拆包后传到服务器,重新给设备加载包文件。ST_TP_MA5680T(config)#load packetfile ftp|sftp|tftp :ftp 192.168.35.242 filename :sculv8r6c00HP1119_gpon_new2.binST_TP_MA5680T(config)#加载失败参数信息:框号:0,槽号:9,位置: -1,加载类型:发布包文件,加
10、载对象:主用主控板,失败原因 :包文件 错误ST_TP_MA5680T(config)#加载失败参数信息:框号:0,槽号:10,位置: -1,加载类型:发布包文件,加载对象:备用主 控板,失败原因 :包文件错误依然加载失败,排除原文件错误问题。3、怀疑拆包错误引起。拆包工具正确,包文件内容如下:把该文件拿到现场另一台 OLT 加载,补丁版本成功加 载:STYD_XXDL_MA5680T#display io-packetfile informationVersion of the board software packetfile:MA5600V800R006C02HP1119-Index F
11、ile Type Version File Length-0 H801ETHB BIOS 107 6126081 H801ETHB PROGRAM 126 37487362 H801GPBC BIOS 715 3660803 H801GPBC PROGRAM 668 49885444 H801FICB BIOS 108 42245 H801GICD BIOS 108 43526 H801GICE BIOS 108 44807 H801GICF BIOS 108 46088 H801GICG BIOS 108 47369 H801GICD CPLD 108 1075210 H801GICF CP
12、LD 108 1088011 H801GICE CPLD 107 998412 H801GICG CPLD 107 1011213 H801FICB PROGRAM 340 4608014 H801GICD PROGRAM 340 4620815 H801GICE PROGRAM 340 4633616 H801GICF PROGRAM 340 4646417 H801GICG PROGRAM 340 4659218 H801FICA PROGRAM 150 3225619 H801GICA PROGRAM 150 3225620 H801GICB PROGRAM 150 3225621 FA
13、N PROGRAM 156 780822 H801ESC PROGRAM 110 1881623 H802GPBD BIOS 106 52416024 H802GPBD PROGRAM 665 3804928-Status of the board software packetfile:activeSTYD_XXDL_MA5680T#display patch allSoftware Version:MA5600V800R006C02SPC100SPH119HP1016-Current Patch State:-Patch Name Patch State Delivery Attribut
14、e Dependency-SPC100 running common cold patch NOHP1016 running common hot patch NOSPH119 running common hot patch YES-Total:3Patches in the system cannot be rolled back排查拆包错误引起的推断。4、网络丢包。在 OLT 设备 上 ping 服务器:ST_TP_MA5680T(config)#ping -c 100 192.168.35.242Reply from 192.168.35.242: bytes=56 Sequence=
15、99 ttl=253 time=1 msReply from 192.168.35.242: bytes=56 Sequence=100 ttl=253 time=1 ms- 192.168.35.242 ping statistics -100 packet(s) transmitted100 packet(s) received0.00% packet lossround-trip min/avg/max = 1/25/100 ms排除了服务器与设备丢包问题。怀疑从客户端传到服务器时丢包,在客户端 ping 服 务器:C:Documents and SettingsAdministratorping 10.253.238.45 -tReply from 10.253.238.45: bytes=32 timeftpftp open 10.253.238.45Connected to 10.253.238.45.220 hoste10000g0 FTP server ready.