USG6300 URL Signature database lost caused URL filter commands missing

Publication Date:  2015-10-28 Views:  631 Downloads:  0
Issue Description

After the USG 6310 restarted , the commands "  url-filter category pre-defined subcategory-id 159 "  and its related predefined commands get lost .

According to the screenshot below ,we can see after reboot , the  display Current configuration    doesn't have the commands "  url-filter category pre-defined subcategory-id 159" ,but for the  display saved configuration  ,the commands are there :

Alarm Information

None

Handling Process

a. by checking the version ,we can see the device just running about 4 minutes: 

 

===================================================

  ===============display version===============

===================================================

17:15:08  2015/10/22

HUAWEI Versatile Routing Platform Software

Software Version: USG6300 V100R001C20SPC700  (VRP (R) Software, Version 5.30)

Copyright (C) 2014-2015 Huawei Technologies Co., Ltd.

USG6310 uptime is 0 week, 0 day, 0 hour, 4 minutes

 

b. by checking the history commands ,and customer did not delete it .

 

=====================================================================

  ===============display history-command all-users===============

=====================================================================

17:15:20  2015/10/22

  Date       Time      User  Command

  10/22/2015 17:15:08  vt0   10.0.1.4        admin                          

  Cmd:display diagnostic-information  

  10/22/2015 17:14:38  vt0   10.0.1.4        admin                          

  Cmd:diagnose

 

  10/22/2015 17:14:36  vt0   10.0.1.4        admin                          

  Cmd:system-view

 

  10/22/2015 17:14:26  vt0   10.0.1.4        admin                          

  Cmd:display url-filter category pre-defined subcategory-id 159    // customer run 4 commands after devices reboot 

 

  10/22/2015 17:12:12  CFM   **              **                        //device finished starting and begin to load the configuration from 17:11 to 17:12  

 Cmd:ssl whitelist commit

 

  10/22/2015 17:12:12  CFM   **              **                             

  Cmd:multi-interface

 

  10/22/2015 17:12:12  CFM   **              **                              

  Cmd:quota-policy

……

 

c.  check if  the URL predefined  file exist or not

 

  ===============dir /all hda1:===============
==================================================
17:15:09  2015/10/22
Directory of hda1:/

   Idx Attr Size(Byte) Date        Time       FileName
   0   -rw- 175064514  Oct 19 2015 20:27:10   usg6000v100r001c20spc700.bin
   1   drwh         -  Oct 22 2015 16:11:04   default-sdb
   2   drw-         -  Oct 19 2015 20:35:02   conf
   3   drw-         -  Oct 19 2015 20:35:02   web
   4   drw-         -  Oct 22 2015 16:10:36   logo
   5   drw-         -  Oct 19 2015 20:35:02   log
   6   drw-         -  Oct 19 2015 20:35:04   patch
   7   drwh         -  Oct 22 2015 16:13:46   gpmbak
   8   drw-         -  Oct 19 2015 20:35:08   isp
   9   drwh         -  Oct 19 2015 20:35:28   hidepkirsakey
   10  -rw-      1268  Oct 19 2015 20:35:30   hostkey
   11  -rw-       548  Oct 19 2015 20:35:30   serverkey
   12  drwh         -  Oct 19 2015 20:35:36   hidehttpdcertkey
   13  -rw-       156  Oct 22 2015 16:10:52   lic_presis.dat
   14  drwh         -  Oct 22 2015 16:10:54   loc
   15  drwh         -  Oct 19 2015 20:37:44   update
   16  -rw-        37  Oct 22 2015 16:11:00   private-data.txt
   17  drw-         -  Oct 19 2015 20:37:48   svndb
   18  drwh         -  Oct 22 2015 16:11:46   umdb
   19  drw-         -  Oct 19 2015 20:38:38   uldb
   20  -rw-     57496  Oct 22 2015 16:08:12   gid_81688.cfg
   21  drw-         -  Oct 19 2015 20:44:58   download
   22  -rw-  22878466  Oct 22 2015 15:12:30   sym.tar.gz
   23  -rw-      4285  Oct 22 2015 14:21:44   licsecospaceusg6300v100r001_20151023i3gz60.dat
   24  -rw-     32768  Oct 22 2015 12:55:00   userinfo.db

 

here we cannot see any url.sdb file in  directory   hda1:/default-sdb/url.sdb  ,that's why the  command get lost .

Root Cause

 the url.sdb  database is not exist in the device ,by default ,the  url.sdb file is in directory hda1:/default-sdb/url.sdb  ,if the file doesn't exist , all the predefined  url-filter category  commands will be lost after reboot in the current configuration .

Solution
 Copy a  file from the same device and put it in the directory :  hda1:/default-sdb   ,  Then configure the commands “url-filter category pre-defined subcategory-id 159” manually   and save  .
Suggestions

the file  " url.sdb "  is installed in the device by default ,please don’t delete it or do any change to it .

END