Print

S10506无法识别防火墙插卡

组网及说明

问题描述

现场S10506上面插着防火墙插卡,之前可以正常识别,但是插拔一下后就无法识别了,插到别的设备上可以正常识别。

过程分析

1、查看flash发现没有当前版本的bin文件:

Directory of flash:/

 

   0     -rw-  35668992  Nov 15 2019 16:39:15   s10500-cmw520-r1208p09.bin

   1     drw-         -  Nov 15 2019 16:54:13   logfile

   2     drw-         -  Nov 15 2019 16:54:13   seclog

   3     -rw-     16744  Apr 29 2020 11:32:32   startup.cfg

   4     -rw-    102784  Apr 29 2020 11:31:59   config.cwmp

   5     -rw-  10015304  Apr 29 2020 11:28:43   default.diag

   6     -rw-      1364  Apr 29 2020 11:32:17   system.xml

   7     -rw-   6813126  May 08 2020 11:04:24   20200508.diag

 

2、将bin文件导入设备后,插拔防火墙插卡,依然无法识别:

<s10508>dir

Directory of flash:/

 

   0     drw-         -  Nov 15 2019 16:54:13   logfile

   1     drw-         -  Nov 15 2019 16:54:13   seclog

   2     -rw-     16744  Apr 29 2020 11:32:32   startup.cfg

   3     -rw-    102784  Apr 29 2020 11:31:59   config.cwmp

   4     -rw-  10015304  Apr 29 2020 11:28:43   default.diag

   5     -rw-      1364  Apr 29 2020 11:32:17   system.xml

   6     -rw-  10351376  May 08 2020 11:06:47   20200508.diag

   7     -rw-  37054464  May 08 2020 13:53:25   s10500-cmw520-r1210p03.bin

 

125349 KB total (67657 KB free)

 

3、查看boot-loader发现启动文件与当前版本文件不一致:

<s10508>display  version

H3C Comware Platform Software

Comware Software, Version 5.20, Release 1210P03

Copyright (c) 2004-2017 Hangzhou H3C Tech. Co., Ltd. All rights reserved.

H3C S10508-V uptime is 101 weeks, 3 days, 3 hours, 5 minutes

<s10508>display  boot-loader

  The primary app to boot of board 5 at this time is: flash:/S10500-CMW520-R1208P09.BIN

  The primary app to boot of board 5 at next time is: flash:/s10500-cmw520-r1210p03.bin

  The slave app to boot of board 5 at next time is: flash:/s10500-cmw520-r1208.bin

解决方法

板卡识别的两个条件,flash中要有相关的bin文件,boot-loader中的版本文件要与当前设备运行的版本文件保持一致。