某省级大型国企业,某项目涉及到引擎切换测试。做了些记录还有心得与大家共享。注:现场实际环境
1,设备硬件
Cisco WS-C6509-E |
||
Component |
name |
Description |
板卡1 |
WS-X6724-SFP |
24 port 1000mb SFP |
板卡2 |
WS-X6748-GE-TX |
48 port 10/100/1000mb Ethernet |
板卡1 |
WS-X4648-GE-TX |
48 port 10/100/1000mb Ethernet |
引擎1 |
WS-SUP720-3B |
Supervisor Engine 720 Rev. 5.6 |
引擎2 |
WS-SUP720-3B |
Supervisor Engine 720 Rev. 5.6 |
电源 |
WS-CAC-3000AC*2 |
Power Supply ( AC 3000W ) |
IOS版本
风扇 |
cat4500e-entservices-mz.122-54.SG1.bin
WS-C6509-E-FAN |
Version 12.2(54)SG1
Enhanced 9-slot Fan Tray 1 |
2,主备引擎模式
主备引擎前提条件:相同的引擎与相同版本的IOS。
引擎冗余有两种模式,大家所知的RPR与SSO。SSO与NSF结合是最佳选项。
SSO的优点:含有的特性可以在主备引擎切换时,保持现有会话不会被中断,板卡包转发不中断,
提升网络稳定性能。SSO模式比RPR切换要快,减少路由收敛时间。NSF官方所说最主要优势特性:
减少引擎切换过程中的Routing flap,理能加强其网络稳定性。
3,配置
(1) en / conf t / redundancy / mode sso ( 对NSF了解不是很多,无相关经验,
此处没有用NSF特性。NSF配置:router ospf 100 / nsf //ospf eigrp bgp 下开启NSF )
以下是更改为SSO模式的提示:
*Nov 14 04:20:20.451: %C4K_IOSMODPORTMAN-6-MODULEONLINE: Module 4 (WS-X45-SUP6L-E S/N: JAE171404TZ Hw: 3.0) is online
*Nov 14 04:20:20.451: %C4K_REDUNDANCY-6-MODE: ACTIVE supervisor initializing for sso mode
*Nov 14 04:20:21.383: %C4K_REDUNDANCY-3-COMMUNICATION: Communication with the peer Supervisor has been established
*Nov 14 04:20:27.355: %C4K_REDUNDANCY-5-CONFIGSYNC: The bootvar has been successfully synchronized to the standby supervisor
*Nov 14 04:20:27.355: %C4K_REDUNDANCY-5-CONFIGSYNC: The config-reg has been successfully synchronized to the standby supervisor
*Nov 14 04:20:27.355: %C4K_REDUNDANCY-5-CONFIGSYNC: The startup-config has been successfully synchronized to the standby supervisor
*Nov 14 04:20:27.763: %C4K_REDUNDANCY-5-CONFIGSYNC: The private-config has been successfully synchronized to the standby supervisor
*Nov 14 04:20:28.703: %C4K_REDUNDANCY-5-CONFIGSYNC_RATELIMIT: The vlan database has been successfully synchronized to the standby supervisor
(2) show [module | redundancy] //查看状态
Mod Redundancy role Operating mode Redundancy status
----+-------------------+-------------------+----------------------------------
3 Active Supervisor SSO Active
4 Standby Supervisor SSO Standby hot //成功变为SSO模式
(3)en / conf t / redundancy switchover //切换 ,以下是提示
R6509#redundancy force-switchover
System configuration has been modified. Save ? [yes/no]: y
Building configuration...
1d18h: %PFINIT-SP-5-CONFIG_SYNC: Sync'ing the startup configuration to the standby Router. [OK]This will reload the active unit and force switchover to standby[confirm]
Preparing for switchover..
1d18h: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output.
1d18h: %RF-SP-5-RF_RELOAD: Self reload. Reason: Admin CLI
1d18h: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor
1d18h: %SYS-SP-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output.
1d18h: %SYS-SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output.
1d18h: %SYS-SP-5-RELOAD: Reload requested by Delayed Reload. Reload Reason: reload.
1d18h: %OIR-SP-6-CONSOLE: Changing console ownership to switch processor
System Bootstrap, Version 8.5(2)
Copyright (c) 1994-2007 by cisco Systems, Inc.
Cat6k-Sup720/SP processor with 524288 Kbytes of main memory
Autoboot: failed, BOOT string is empty
Autoboot executing command: "boot "
Initializing ATA monitor library...
string is bootdisk:s72033-advipservicesk9_wan-mz.122-33.SXI1.bin
Loading p_w_picpath, please wait ...
Initializing ATA monitor library...