客户现场为MSR2630的路由器,现需要通过U盘自动配置的方式对设备进行配置,但是在实施时配置下发不成功。
Loading the main image files...
Loading file flash:/msr3600-cmw710-system-r0106.bin.........................
.........................Done.
Loading file flash:/msr3600-cmw710-boot-r0106.bin..........Done.
Image file flash:/msr3600-cmw710-boot-r0106.bin is self-decompressing.......
...Done.
System image is starting...
Startup configuration file does not exist.
Performing automatic configuration... Press CTRL_D to break.
Automatic configuration attempt: 1.
Not ready for automatic configuration: no interface available.
Waiting for the next...
Automatic configuration attempt: 2.
Not ready for automatic configuration: no interface available.
Waiting for the next...
Automatic configuration attempt: 3.
Not ready for automatic configuration: no interface available.
Waiting for the next...
Automatic configuration is running, press CTRL_D to break.
Automatic configuration is aborted.
Line aux0 is available.
<H3C>dir
Directory of flash:
0 -rw- 2296 Apr 26 2017 14:59:45 2670681.ak
1 drw- - Feb 07 2017 20:48:59 diagfile
2 -rw- 162 Jun 22 2017 13:12:04 ifindex.dat
3 drw- - Apr 26 2017 15:00:20 license
4 drw- - Apr 25 2017 14:04:58 logfile
5 -rw- 6380544 Feb 07 2017 20:46:55 msr26-cmw710-boot-r0304p15.bin
6 -rw- 2629632 Feb 07 2017 20:47:19 msr26-cmw710-data-r0304p15.bin
7 -rw- 349184 Feb 07 2017 20:47:17 msr26-cmw710-security-r0304p15.bin
8 -rw- 56223744 Feb 07 2017 20:47:17 msr26-cmw710-system-r0304p15.bin
9 -rw- 1689600 Feb 07 2017 20:47:18 msr26-cmw710-voice-r0304p15.bin
10 drw- - Feb 07 2017 20:48:59 seclog
262144 KB total (195320 KB free)
<H3C>dir usba3:/
Directory of usba3:
0 drw- - Jun 20 2017 14:08:54 RECYCLER
1 drw- - Jun 19 2017 10:32:54 System Volume Information
2 -rw- 2294 Jun 22 2017 13:31:16 autodeploy.cfg
15306624 KB total (15306540 KB free)
1.在实验室使用MSR2630的设备和USB3.0的U盘进行测试:
<H3C>dis version
H3C Comware Software, Version 7.1.059, Release 0305
Copyright (c) 2004-2015 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C MSR26-30 uptime is 0 weeks, 0 days, 0 hours, 25 minutes
Last reboot reason : Power on
在命令行使用dir查看,U盘已经正常识别为usba3,但是配置没有下发成功;
<MSR2630>dir ?
/all Display all files and directories in the current directory
/all-filesystems Display the files and directories in the root directories of all storage media
> Redirect it to a file
>> Redirect it to a file in append mode
STRING [drive][path][file name]
flash: Device name
slot0#flash: Device name
slot0#usba3: Device name
usba3: Device name
3.重新使用另外一个空U盘进行测试,U盘内只放了cfg的配置文件进行测试;U盘在设备里面识别为usba0;能正常配置成功;
<H3C>dir ?
/all Display all files and directories in the current directory
/all-filesystems Display the files and directories in the root directories of all storage media
flash: Device name
usba0: Device name
<H3C>dir usba0:/auto*.*
Directory of usba0:
0 -rw- 5914 Dec 10 2014 10:07:22 autodeploy.cfg
3904152 KB total (764052 KB free)
3.将设备识别为usba3的U盘内只留cfg文件进行测试,无法配置成功;
4.将设备识别为usba0的U盘内多放入一些跟配置无关的文件进行测试,设备也无法配置成功;
5.从以上测试的结果来看,配置能否成功跟U盘识别的类型以及U盘内是否有多余文件有关;U盘识别为usba0且U盘内没有多余文件时,能正常配置成功;
使用设备识别为usba0的U盘进行自动配置且U盘内没有多余文件。
1. U盘识别为usba3时,U盘自动配置是不成功的;
2.自动配置的U盘要专用,U盘内不要有多余的文件;
3.U盘识别为usba3的情况应该是U盘有隐藏分区造成的,U盘重新分区就可以解决。可以使用UdiskHelper软件重新分区:
软件使用方法如下:首先先选择U盘,然后在U盘第一分区大小里边写入最大的空间,文件系统一定要选FAT32,然后点击执行修改即可。
注意:重新分区时会格式化U盘,U盘里的文件要保存好。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作