热度 5|
2011-04-26宁德农行割接感想
主要任务:将原本的Cisco 7507(AR01、AR02)下架,更换为H3C SR6608,并进行调测。
1. 模块安装
2. 设备上架
3. 网络布线
4. IOS导入与主备slot IOS boot-loader设置
5. 设备调试
6. 割接前预配导入
7. 所有网点OSPF调测
8. 连通性测试
1. 模块安装
2. 设备上架
3. 网络布线
4. IOS导入与升级
设备slot情况:
Slot 0:
Cfa0:/ #cfa为内置CF卡,容量为252900 KB
Cfb0:/ #cfb为外置CF卡,容量为1021808 KB
Slot 1:
Cfa0:/ #cfa为内置CF卡,容量为252900 KB
Cfb0:/ #cfb为外置CF卡,容量为1021808 KB
情景需求:
① 使用TFTP,将IOS:SR6600-CMW520-R2420P06-RPE.bin导入到slot 0 cfb0:/中
② 把slot 0 cfb0:/中的IOS,copy到slot 1 cfb0:/
③ 内置CF内的IOS不做升级,只把IOS导入到外置CF卡内
④ 系统启动时,外置CF卡内的IOS为main,内置CF卡内的IOS为backup。只有main IOS无法加载时,才加载backup IOS。
⑤ 因为有双slot,设备启动时,先加载slot 0内的IOS,当slot 0无法使用时,才使用slot 1。
因此系统启动时顺序为:
Master Board(slot0):
The boot file used this time: cfb0:/sr6600-cmw520-r2420p06-rpe.bin attribute: main
The boot file used this time:cfa0:/main.bin attribute: backup
Slave Board(slot1):
The boot file used this time: cfb0:/sr6600-cmw520-r2420p06-rpe.bin attribute: main
The boot file used this time:cfa0:/main.bin attribute: backup
通过3COM TFTP开始导入:
<H3C>cd cfb0:/ #进入slot0 cfb0:/文件夹
<H3C>dir #查看当前文件夹的信息
% Device can't be found or file can't be found in the directory
1021808 KB total (1021808 KB free)
File system type of cfb0: FAT16
<H3C>system-view #进入系统试图模式
[H3C]interface g3/1/0 #进入G3/1/0接口
[H3C-GigabitEthernet3/1/0]ip address 1.1.1.1 255.0.0.0 #配置IP地址
[H3C-GigabitEthernet3/1/0]undo shutdown #开启接口
<H3C>ping 1.1.1.2 #检查设备与TFTP server的连通性
PING 1.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 1.1.1.2: bytes=56 Sequence=1 ttl=128 time=2 ms
Reply from 1.1.1.2: bytes=56 Sequence=2 ttl=128 time=1 ms
Reply from 1.1.1.2: bytes=56 Sequence=3 ttl=128 time=1 ms
Reply from 1.1.1.2: bytes=56 Sequence=4 ttl=128 time=1 ms
Reply from 1.1.1.2: bytes=56 Sequence=5 ttl=128 time=1 ms
--- 1.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/2 ms
<H3C>tftp 1.1.1.2 get SR6600-CMW520-R2420P06-RPE.bin #从TFTP server上下载IOS到slot 0 cfb0:/
File will be transferred in binary mode
Downloading file from remote TFTP server, please wait.../
TFTP: 76378988 bytes received in 135 second(s)
File downloaded successfully.
<H3C>copy cfb0:/sr6600-cmw520-r2420p06-rpe.bin slot1#cfb0:/ #将IOS从slot 0 cfb0:/拷贝到slot 1 cfb0:/
Copy cfb0:/sr6600-cmw520-r2420p06-rpe.bin to slot1#cfb0:/sr6600-cmw520-r2420p06-rpe.bin?[Y/N]:y
..................................................................................................................................................
%Copy file cfb0:/sr6600-cmw520-r2420p06-rpe.bin to slot1#cfb0:/sr6600-cmw520-r2420p06-rpe.bin...Done.
<H3C>boot-loader file cfb0:/sr6600-cmw520-r2420p06-rpe.bin slot 0 main #设置slot 0的boot-loader顺序,即开启加载IOS的顺序,本命令设置cfb0:/(即外置CF卡)内的IOS为main。
This command will set the boot file of the specified board. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 0!
<H3C>boot-loader file cfa0:/main.bin slot 0 backup
#设置slot 0的boot-loader顺序,即开启加载IOS的顺序,本命令设置cfa0:/(即内置CF卡)内的IOS为backup。
This command will set the boot file of the specified board. Continue? [Y/N]:y
The specified file will be used as the backup boot file at the next reboot on slot 0!
<H3C>boot-loader file slot1#cfb0:/sr6600-cmw520-r2420p06-rpe.bin slot 1 main
#设置slot 1的boot-loader顺序,即开启加载IOS的顺序,本命令设置cfb0:/(即外置CF卡)内的IOS为main。
This command will set the boot file of the specified board. Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot on slot 1!
<H3C>boot-loader file slot1#cfa0:/main.bin slot 1 backup
#设置slot 1的boot-loader顺序,即开启加载IOS的顺序,本命令设置cfa0:/(即内置CF卡)内的IOS为backup。
This command will set the boot file of the specified board. Continue? [Y/N]:y
The specified file will be used as the backup boot file at the next reboot on slot 1!
<H3C>display boot-loader #显示设备的boot-loader信息
Master Board(slot0):
The boot file used this time:cfa0:/main.bin attribute: main
The boot file used next time:cfb0:/sr6600-cmw520-r2420p06-rpe.bin attribute: main
The boot file used next time:cfa0:/main.bin attribute: backup
Failed to get the secure boot file used next time!
Slave Board(slot1):
The boot file used this time:cfa0:/main.bin attribute: main
The boot file used next time:cfb0:/sr6600-cmw520-r2420p06-rpe.bin attribute: main
The boot file used next time:cfa0:/main.bin attribute: backup
Failed to get the secure boot file used next time!
<H3C>save safely #保存配置
<H3C>reboot #重启设备
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Continue? [Y/N]:y
#Apr 26 17:19:24:746 2011 H3C DEVM/1/REBOOT:
Reboot device by command.
%Apr 26 17:19:24:746 2011 H3C DEVM/5/SYSTEM_REBOOT: System is rebooting now.
System start booting...
Booting Normal Extend BootWare....
****************************************************************************
* *
* H3C SR66 BootWare, Version 1.36 *
* *
****************************************************************************
Copyright (c) 2004-2010 Hangzhou H3C Technologies Co., Ltd.
Compiled Date : Sep 8 2010
CPU Type : MPC8548E
CPU L1 Cache : 32KB
CPU Clock Speed : 1000MHz
Memory Type : DDR2 SDRAM
Memory Size : 1024MB
Memory Speed : 400MHz
BootWare Size : 1024KB
Flash Size : 4MB
cfa0 Size : 247MB
cfb0 Size : 999MB
NVRAM Size : 128KB
BASIC CPLD Version : 2.0
EXTEND CPLD Version : 2.0
PCB Version : Ver.B
BootWare Validating...
Press Ctrl+B to enter extended boot menu...
Starting to get the main application file--cfb0:/sr6600-cmw520-r2420p06-rpe.
bin!........................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
.....................................................
The main application file is self-decompressing.............................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
................
Done!
Extend BootWare Version is not equal,updating? [Y/N]
Updating Extend BootWare.................Done!
BootWare **d,System is rebooting now.
System start booting...
Booting Normal Extend BootWare....
****************************************************************************
* *
* H3C SR66 BootWare, Version 1.37 *
* *
****************************************************************************
Copyright (c) 2004-2010 Hangzhou H3C Technologies Co., Ltd.
Compiled Date : Oct 14 2010
CPU Type : MPC8548E
CPU L1 Cache : 32KB
CPU Clock Speed : 1000MHz
Memory Type : DDR2 SDRAM
Memory Size : 1024MB
Memory Speed : 400MHz
BootWare Size : 1024KB
Flash Size : 4MB
cfa0 Size : 247MB
cfb0 Size : 999MB
NVRAM Size : 128KB
BASIC CPLD Version : 2.0
EXTEND CPLD Version : 2.0
PCB Version : Ver.B
BootWare Validating...
Normal Extend BootWare Version is newer than Backup Extend BootWare!
Begin to ** the Backup Extend BootWare...................Done!
Press Ctrl+B to enter extended boot menu...
Starting to get the main application file--cfb0:/sr6600-cmw520-r2420p06-rpe.
bin!........................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
.....................................................
The main application file is self-decompressing.............................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
................
Done!
System is starting...
Starting application at 0x00010000 ...
Mainboard 0 is master.
User interface con0 is available.
Press ENTER to get started.
[H3C]display version #显示IOS版本信息
H3C Comware Platform Software
Comware Software, Version 5.20, Release 2420P06
Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C SR6608 uptime is 0 week, 0 day, 0 hour, 1 minute
Slot 0: RPE-X1 uptime is 0 week, 0 day, 0 hour, 1 minute
CPU type: FREESCALE MPC8548 1000MHz
1024M bytes DDR2 SDRAM Memory
4M bytes Flash Memory
128K bytes NVRAM
PCB Version: Ver.B
Basic Logic Version: 2.0
Extend Logic Version: 2.0
Basic BootWare Version: 1.36
Extend BootWare Version: 1.37
[FIXED PORT] CON (Hardware)Ver.B, (Driver)1.0, (Cpld)2.0
[FIXED PORT] AUX (Hardware)Ver.B, (Driver)1.0, (Cpld)2.0
[FIXED PORT] MGE0/0/0 (Hardware)Ver.B, (Driver)1.0, (Cpld)2.0
Slot 1: RPE-X1 uptime is 0 week, 0 day, 0 hour, 1 minute
CPU type: FREESCALE MPC8548 1000MHz
1024M bytes DDR2 SDRAM Memory
4M bytes Flash Memory
4M bytes Flash Memory
5. 忙活了一天。标签机使用、模块安装、上架、布线、IOS升级、主备slot IOS boot-loader设置、设备调试、割接前预配导入、所有网点OSPF调测、连通性测试。 技术含量不高,学习到了更多H3C的新命令,鑫哥人不错、rr也很好。耶。so happy,努力摆脱paper IE的身份。
|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )
GMT+8, 2024-4-23 14:59 , Processed in 0.058624 second(s), 19 queries , Gzip On.