H3C S5720交换机系统文件丢失一直重启的解决办法
2017-08-23 14:09
369 查看
一、故障描述:
公司买了两台交换机H3C S5120,由于小兄弟没经验,把flash:给格式化了,交换机不停的在重启,无法进入系统。
二、解决思路:
1.下载tftp软件。
2.从另外一台交换机的flash中下载一份系统文件。
3.装系统文件上传致故障交换机的flash中,重启交换机,故障解决。
三.详细配置过程如下:
1.下载tftp软件。
链接:http://pan.baidu.com/s/1qYqfsle 密码:751q (1)把电脑本地网卡配置: IP地址:10.10.10.2 子网掩码: 255.255.255.0 (2)打开tftp软件: 下载的软件目录data中已存有交换机的系统文件(s5720li-v200r010c00spc600.c) 如果在遇到相同型号的设备,可省略第2步。直接上传到故障交换机即可。
2.从另外一台交换机的flash中下载一份系统文件(s5720li-v200r010c00spc600.cc)。
(1)查看另一台交换机flash: <HUAWEI>dir Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 drw- - Aug 23 2016 03:00:52 dhcp
1 drw- - Aug 23 2016 03:00:24 user
2 drw- - Aug 23 2016 03:01:03 logfile
3 drw- - Aug 23 2016 03:00:12 $_install_mod
4 -rw- 836 Aug 23 2016 03:04:07 rr.bak
5 -rw- 836 Aug 23 2016 03:04:07 rr.dat
6 -rw- 28 Aug 23 2016 03:03:55 private-data.txt
7 drw- - Aug 23 2016 03:00:52 localuser
8 -rw- 64,011,164 Dec 15 2016 17:51:28 s5720li-v200r010c00spc600.cc
(2)配置交换机VLAN1 IP为10.10.10.1:
#interface Vlanif1
#ip address 10.10.10.1 255.255.255.0
(3)从交换机下载系统文件: <HUAWEI>tftp 10.10.10.2 put s5720li-v200r010c00spc600.cc
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...
100%
TFTP: Uploading the file successfully.
64011164 byte(s) sent in 1435 second(s).
<HUAWEI>
3.将系统文件上传致故障交换机的flash中,重启交换机,故障解决。 (1)机器重启生出现下面界面按Ctrl + B
INIT: version 2.88 bootingStarting udevStarting Bootlog daemon: bootlogd.Populating dev cacheINIT: Entering runlevel: 3ge = 5Stopping Bootlog daemon: bootlogd.
Wind River Linux 6.0.0.30 localhost console
localhost login: root (automatic login)login[1922]: root login on 'console'
Jan 23 2017, 19:21:20mknod: /dev/mvPP: File existsBootLoad version : 020a.0001Backup U-Boot ............................................................. done
Press Ctrl+B or Ctrl+E to enter BootLoad menu: 2
(2)进入下面启动菜单:
1)选择4
Enter your choice(1-8):
BootLoad Menu
1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter filesystem submenu
6. Enter password submenu
7. Clear password for console user
8. Reboot
(Press Ctrl+E to enter diag menu)
Enter your choice(1-8): 4
2)选择4
ETHERNET SUBMENU
1. Update BootROM system
2. Download file to Flash through ethernet interface
3. Upload Configuration file to Ftp through ethernet interface
4. Modify ethernet interface boot parameter
5. Return to main menu
Enter your choice(1-5): 4
3)选择1,配置下载文件,指定交换机的IP,及tftp服务器也就是电脑的IP
BOOTLINE SUBMENU
1. Set TFTP protocol parameters
2. Set FTP protocol parameters
3. Return to ethernet menu
Enter your choice(1-3): 1
'.' = clear field; '-' = go to previous field; 'Ctrl+D' = quit
Load File name : s5720li-v200r010c00spc600.cc
Switch IP address : 10.10.10.1
Server IP address : 10.10.10.2
Starting to write BOOTLINE into flash ... done
4)选择3 返回
BOOTLINE SUBMENU
1. Set TFTP protocol parameters
2. Set FTP protocol parameters
3. Return to ethernet menu
Enter your choice(1-3): 3
5)选择2 下载文件到flash中
ETHERNET SUBMENU
1. Update BootROM system
2. Download file to Flash through ethernet interface
3. Upload Configuration file to Ftp through ethernet interface
4. Modify ethernet interface boot parameter
5. Return to main menu
Enter your choice(1-5): 2
Use tftp to download file : s5720li-v200r010c00spc600.cc , please wait for a moment.
...........................................................................................................................................................................................................................................................................................................................................................................................
Download file successfully.
6)选择5 返回
ETHERNET SUBMENU
1. Update BootROM system
2. Download file to Flash through ethernet interface
3. Upload Configuration file to Ftp through ethernet interface
4. Modify ethernet interface boot parameter
5. Return to main menu
Enter your choice(1-5): 5
6)选择1 设置默认启动模式
BootLoad Menu
1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter filesystem submenu
6. Enter password submenu
7. Clear password for console user
8. Reboot
(Press Ctrl+E to enter diag menu)
Enter your choice(1-8): 1
Now, the current startup file is flash:/s5720li-v200r010c00spc600.cc
Info: Check signature, please wait............
System total memory is 0x15200000
Start to initialize the LSW ...
Initializing the LSW ...................................................... done
Initializing netlink ...................................................... done
Initializing fast netlink ................................................. done
Backup BootLoad ........................................................... done
Backup Kernel ............................................................. done
Backup RamDisk ............................................................ done
Stack status : enable
ECM Stack status : run
Initializing FSP task begin ...
Initializing DEV module ................................................... done
Initializing hardware system .............................................. done
Begin to start the system ...
Registering IPC and VP callback to platform ............................... done
Initializing VFS ..................................... Done
Checking startup system-software .......................................... done
Reading PAF file .......................................................... done
Initializing VOS monitor ............................. Done
CFM initialization advance ........................... done
Initializing PAT ..................................... Done
Initializing HA ...................................... done
VFS registering to HA ................................ Done
VRP root begin ...
VRP root end
CFG initialization begin ............................. done
CFM initialization begin ............................. done
CLI initialization begin ............................. done
Registering VRP all link command begin ............... Done
Creating task begin ...
Creating task end
Task initialization begin ...
Task initialization end
ECMM status : run
Cmd registering begin ...
Cmd registering end
Task awake begin ...
Task awake end
Recover configuration begin ...
Recover configuration end
Press ENTER to get started.
Login authentication
Username:admin
Password:
7)启动到输入用户名和密码的界面,证明交换机系统恢复完成。输入默认用户名和密码登录交换机:
用户名:admin
密码:admin@huawei.com
公司买了两台交换机H3C S5120,由于小兄弟没经验,把flash:给格式化了,交换机不停的在重启,无法进入系统。
二、解决思路:
1.下载tftp软件。
2.从另外一台交换机的flash中下载一份系统文件。
3.装系统文件上传致故障交换机的flash中,重启交换机,故障解决。
三.详细配置过程如下:
1.下载tftp软件。
链接:http://pan.baidu.com/s/1qYqfsle 密码:751q (1)把电脑本地网卡配置: IP地址:10.10.10.2 子网掩码: 255.255.255.0 (2)打开tftp软件: 下载的软件目录data中已存有交换机的系统文件(s5720li-v200r010c00spc600.c) 如果在遇到相同型号的设备,可省略第2步。直接上传到故障交换机即可。
2.从另外一台交换机的flash中下载一份系统文件(s5720li-v200r010c00spc600.cc)。
(1)查看另一台交换机flash: <HUAWEI>dir Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 drw- - Aug 23 2016 03:00:52 dhcp
1 drw- - Aug 23 2016 03:00:24 user
2 drw- - Aug 23 2016 03:01:03 logfile
3 drw- - Aug 23 2016 03:00:12 $_install_mod
4 -rw- 836 Aug 23 2016 03:04:07 rr.bak
5 -rw- 836 Aug 23 2016 03:04:07 rr.dat
6 -rw- 28 Aug 23 2016 03:03:55 private-data.txt
7 drw- - Aug 23 2016 03:00:52 localuser
8 -rw- 64,011,164 Dec 15 2016 17:51:28 s5720li-v200r010c00spc600.cc
(2)配置交换机VLAN1 IP为10.10.10.1:
#interface Vlanif1
#ip address 10.10.10.1 255.255.255.0
(3)从交换机下载系统文件: <HUAWEI>tftp 10.10.10.2 put s5720li-v200r010c00spc600.cc
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...
100%
TFTP: Uploading the file successfully.
64011164 byte(s) sent in 1435 second(s).
<HUAWEI>
3.将系统文件上传致故障交换机的flash中,重启交换机,故障解决。 (1)机器重启生出现下面界面按Ctrl + B
INIT: version 2.88 bootingStarting udevStarting Bootlog daemon: bootlogd.Populating dev cacheINIT: Entering runlevel: 3ge = 5Stopping Bootlog daemon: bootlogd.
Wind River Linux 6.0.0.30 localhost console
localhost login: root (automatic login)login[1922]: root login on 'console'
Jan 23 2017, 19:21:20mknod: /dev/mvPP: File existsBootLoad version : 020a.0001Backup U-Boot ............................................................. done
Press Ctrl+B or Ctrl+E to enter BootLoad menu: 2
(2)进入下面启动菜单:
1)选择4
Enter your choice(1-8):
BootLoad Menu
1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter filesystem submenu
6. Enter password submenu
7. Clear password for console user
8. Reboot
(Press Ctrl+E to enter diag menu)
Enter your choice(1-8): 4
2)选择4
ETHERNET SUBMENU
1. Update BootROM system
2. Download file to Flash through ethernet interface
3. Upload Configuration file to Ftp through ethernet interface
4. Modify ethernet interface boot parameter
5. Return to main menu
Enter your choice(1-5): 4
3)选择1,配置下载文件,指定交换机的IP,及tftp服务器也就是电脑的IP
BOOTLINE SUBMENU
1. Set TFTP protocol parameters
2. Set FTP protocol parameters
3. Return to ethernet menu
Enter your choice(1-3): 1
'.' = clear field; '-' = go to previous field; 'Ctrl+D' = quit
Load File name : s5720li-v200r010c00spc600.cc
Switch IP address : 10.10.10.1
Server IP address : 10.10.10.2
Starting to write BOOTLINE into flash ... done
4)选择3 返回
BOOTLINE SUBMENU
1. Set TFTP protocol parameters
2. Set FTP protocol parameters
3. Return to ethernet menu
Enter your choice(1-3): 3
5)选择2 下载文件到flash中
ETHERNET SUBMENU
1. Update BootROM system
2. Download file to Flash through ethernet interface
3. Upload Configuration file to Ftp through ethernet interface
4. Modify ethernet interface boot parameter
5. Return to main menu
Enter your choice(1-5): 2
Use tftp to download file : s5720li-v200r010c00spc600.cc , please wait for a moment.
...........................................................................................................................................................................................................................................................................................................................................................................................
Download file successfully.
6)选择5 返回
ETHERNET SUBMENU
1. Update BootROM system
2. Download file to Flash through ethernet interface
3. Upload Configuration file to Ftp through ethernet interface
4. Modify ethernet interface boot parameter
5. Return to main menu
Enter your choice(1-5): 5
6)选择1 设置默认启动模式
BootLoad Menu
1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter filesystem submenu
6. Enter password submenu
7. Clear password for console user
8. Reboot
(Press Ctrl+E to enter diag menu)
Enter your choice(1-8): 1
Now, the current startup file is flash:/s5720li-v200r010c00spc600.cc
Info: Check signature, please wait............
System total memory is 0x15200000
Start to initialize the LSW ...
Initializing the LSW ...................................................... done
Initializing netlink ...................................................... done
Initializing fast netlink ................................................. done
Backup BootLoad ........................................................... done
Backup Kernel ............................................................. done
Backup RamDisk ............................................................ done
Stack status : enable
ECM Stack status : run
Initializing FSP task begin ...
Initializing DEV module ................................................... done
Initializing hardware system .............................................. done
Begin to start the system ...
Registering IPC and VP callback to platform ............................... done
Initializing VFS ..................................... Done
Checking startup system-software .......................................... done
Reading PAF file .......................................................... done
Initializing VOS monitor ............................. Done
CFM initialization advance ........................... done
Initializing PAT ..................................... Done
Initializing HA ...................................... done
VFS registering to HA ................................ Done
VRP root begin ...
VRP root end
CFG initialization begin ............................. done
CFM initialization begin ............................. done
CLI initialization begin ............................. done
Registering VRP all link command begin ............... Done
Creating task begin ...
Creating task end
Task initialization begin ...
Task initialization end
ECMM status : run
Cmd registering begin ...
Cmd registering end
Task awake begin ...
Task awake end
Recover configuration begin ...
Recover configuration end
Press ENTER to get started.
Login authentication
Username:admin
Password:
7)启动到输入用户名和密码的界面,证明交换机系统恢复完成。输入默认用户名和密码登录交换机:
用户名:admin
密码:admin@huawei.com
相关文章推荐
- 系统启动时,提示hal.dll文件丢失的解决办法
- 系统System文件损坏或丢失的简单解决办法
- 关于Jetty锁定静态文件如JS,css外联文件的问题解决办法.;修改后不需要每次重启jetty服务器.适合window系统
- 用U盘安装系统提示Windows 无法安装所需的文件。文件可能损坏或丢失错误代码:0x80070570解决办法
- dns的配置文件重启后丢失的解决办法
- 关于系统文件注册表丢失或损坏,windows无法加载的解决办法
- nfs文件系统在linux下挂载不上的解决办法
- latex排版(CTeX winEdit输出“系统找不到指定的文件”的终极解决办法)
- 安装WP8 SDK出现“根据当前系统时钟或签名文件中的时间戳验证时要求的证书不在有效期内”的解决办法
- 嵌入式开发六:busybox编译根文件系统的一些错误解决办法
- 强力删除Avast后导致系统不断重启解决办法
- win8安装虚拟机导致电脑一直重启解决办法
- Linux系统CentOS7中,fstab出错,系统重启进入emergency mode的解决办法
- Xp下安装SQL2000或者其他软件系统提示之前有挂起的安装操作,要求重启系统的解决办法
- 血的教训硬盘、移动硬盘或U盘的文件系统变成了RAW格式的解决办法(转)
- 免安装版--- mysql 启动报错--发现系统错误2,系统找不到指定的文件。解决办法
- 文件系统不同步问题resource is out of sync with the file system的解决办法
- 96.系统自动重启的N种原因及解决办法
- VS2013Debug/Release时提示计算机中丢失XXXXXX.dll文件的解决办法
- VS2010 发布网站时文件丢失解决办法