이 문서에서는 VSS(Virtual Switching System) 모드에서 실행되는 Cisco Catalyst 4500 Series 스위치의 스위치 교체 절차에 대해 설명합니다.
다음 주제에 대한 지식을 보유하고 있으면 유용합니다.
이 문서의 정보는 Cisco IOS® 버전 03.05.01이 포함된 WS-C4500X-32를 기반으로 합니다. 그러나 Supervisor 7 Engine(Sup7)이 있는 4500 섀시에 동일한 프로세스를 적용할 수 있습니다.
이 문서의 정보는 특정 랩 환경의 디바이스를 토대로 작성되었습니다.이 문서에 사용된 모든 디바이스는 초기화된(기본) 컨피그레이션으로 시작되었습니다.현재 네트워크가 작동 중인 경우, 모든 명령어의 잠재적인 영향을 미리 숙지하시기 바랍니다.
첫 번째 단계는 교체해야 하는 스위치를 식별하는 것입니다.이 예에서는 활성 스위치(스위치 1)를 교체해야 합니다.show switch virtual 명령은 활성 및 대기 정보를 제공합니다.
4500X-VSS#show switch virtual
Executing the command on VSS member switch role = VSS Active, id = 1
Switch mode : Virtual Switch
Virtual switch domain number : 100
Local switch number : 1
Local switch operational role: Virtual Switch Active
Peer switch number : 2
Peer switch operational role : Virtual Switch Standby
Executing the command on VSS member switch role = VSS Standby, id = 2
Switch mode : Virtual Switch
Virtual switch domain number : 100
Local switch number : 2
Local switch operational role: Virtual Switch Standby
Peer switch number : 1
Peer switch operational role : Virtual Switch Active
이제 어떤 스위치가 액티브(스위치 1)이고 어떤 스위치가 스탠바이 상태(스위치 2)인지 알 수 있습니다. 다음 단계는 스위치 1의 교체를 준비할 수 있도록 컨트롤 플레인 권한을 스위치 2로 페일오버하는 것입니다. redundancy force-switchover 명령은 필요한 작업을 수행합니다.
4500X-VSS#redundancy force-switchover
This will reload the active unit and force switchover to standby[confirm]
Preparing for switchover..
*Mar 2 13:38:06.553: %SYS-5-SWITCHOVER: Switchover requested by Exec. Reason:
Stateful Switchover.
<Sun Mar 2 13:38:09 2014> Message from sysmgr: Reason Code:[3] Reset Reason:
Reset/Reload requested by [console]. [Reload command]
결함이 있는 스위치를 제거하기 전에 시스템이 완전히 장애 조치되었는지 확인해야 합니다.이중화 상태를 확인하려면 show redundancy 명령을 입력합니다.
4500X-VSS#show redundancy
Redundant System Information :
------------------------------
Available system uptime = 1 week, 3 days, 22 hours, 37 minutes
Switchovers system experienced = 8
Standby failures = 0
Last switchover reason = user_forced
Hardware Mode = Duplex
Configured Redundancy Mode = Stateful Switchover
Operating Redundancy Mode = Stateful Switchover
Maintenance Mode = Disabled
Communications = Up
Current Processor Information :
------------------------------
Active Location = slot 2/1
Current Software state = ACTIVE
Uptime in current state = 55 minutes
Image Version = Cisco IOS Software, IOS-XE Software, Catalyst
4500 L3 Switch Software (cat4500e-UNIVERSAL-M),
Version 03.05.01.E RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Sat 23-Nov-13 00:46 by prod_re
BOOT = bootflash:cat4500e-universal.SPA.03.05.01.E.152-1.E1.bin,1;
Configuration register = 0x2102
Peer Processor Information :
------------------------------
Standby Location = slot 1/1
Current Software state = STANDBY HOT
Uptime in current state = 0 minute
Image Version = Cisco IOS Software, IOS-XE Software,
Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSAL-M),
Version 03.05.01.E RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Sat 23-Nov-13 00:46 by prod_
BOOT = bootflash:cat4500e-universal.SPA.03.05.01.E.152-1.E1.bin,1;
Configuration register = 0x2102
출력에서 Current Software state = STANDBY HOT(현재 소프트웨어 상태 = 대기 HOT)는 시스템이 안정화되었으며 현재 완전히 동기화되었음을 나타냅니다.이제 스위치의 물리적 제거를 진행할 수 있습니다.
현재 장애가 발생한 스위치는 물리적 제거 준비가 되었습니다.토폴로지가 제거 시 완전히 중복되지 않을 경우 서비스에 영향을 미칠 수 있음을 인식하는 것이 중요합니다.Cisco는 링크가 활성 상태를 유지하도록 지원하기 위해 MEC(Multichassis EtherChannel)를 구현하는 것이 좋습니다.
현재 VSS 도메인에 제대로 조인하려면 이 섀시에 대해 대기 섀시에 동일한 Cisco IOS 이미지 및 라이센스 기능 세트를 사용해야 합니다.이 예에는 현재 피어와 일치하도록 버전 03.05.01의 다운로드 및 설치가 포함됩니다.설치한 후에는 교체된 스위치의 정확한 위치에 물리적 링크를 연결한 다음 스위치를 부팅해야 합니다.이제 스위치가 아직 VSS 멤버로 구성되지 않았으므로 빈 구성과 독립형 상태로 온라인 상태가 되어야 합니다.
VSS 도메인과 스위치 번호를 설정해야 합니다.
4500X-VSS(config)#switch virtual domain 100
4500X-VSS(config-vs-domain)#switch 1
그런 다음 VSL 링크에 사용되는 물리적 인터페이스 및 포트 채널을 설정해야 합니다.
4500X-VSS(config)# interface Port-channel 10
4500X-VSS(config-if)#switchport
4500X-VSS(config-if)#switch virtual link 1
4500X-VSS(config)# int range tenGigabitEthernet 1/1/15-16
4500X-VSS(config-if-range) channel-group 10 mode on
마지막으로 스위치 모드를 독립형에서 가상으로 변환해야 합니다.이 구성이 완료되면 스위치가 다시 로드됩니다.
4500X-VSS# switch convert mode virtual
스위치 1이 다시 로드를 완료하면 VSL 링크에서 현재 활성 VSS 스위치를 감지하고 구성을 자동으로 동기화합니다.
이제 스위치가 완전히 이중화된 VSS에 다시 있어야 합니다.show switch virtual 명령은 각 스위치가 올바른 상태인지 확인합니다.SSO(Stateful Switchover) 또는 핫 스탠바이 상태로 돌아왔는지 확인하려면 또 다른 show redundancy 명령을 입력합니다.
4500X-VSS#show switch virtual
Executing the command on VSS member switch role = VSS Active, id = 2
Switch mode : Virtual Switch
Virtual switch domain number : 100
Local switch number : 2
Local switch operational role: Virtual Switch Active
Peer switch number : 1
Peer switch operational role : Virtual Switch Standby
Executing the command on VSS member switch role = VSS Standby, id = 1
Switch mode : Virtual Switch
Virtual switch domain number : 100
Local switch number : 1
Local switch operational role: Virtual Switch Standby
Peer switch number : 2
Peer switch operational role : Virtual Switch Active
4500X-VSS#show redundancy
Redundant System Information :
------------------------------
Available system uptime = 1 week, 4 days, 9 hours, 27 minutes
Switchovers system experienced = 8
Standby failures = 0
Last switchover reason = user_forced
Hardware Mode = Duplex
Configured Redundancy Mode = Stateful Switchover
Operating Redundancy Mode = Stateful Switchover
Maintenance Mode = Disabled
Communications = Up
Current Processor Information :
------------------------------
Active Location = slot 2/1
Current Software state = ACTIVE
Uptime in current state = 1 hours, 3 minutes
Image Version = Cisco IOS Software, IOS-XE Software, Catalyst 4500
L3 Switch Software (cat4500e-UNIVERSAL-M), Version
03.05.01.E RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Sat 23-Nov-13 00:46 by prod_re
BOOT = bootflash:cat4500e-universal.SPA.03.05.01.E.152-1.E1.bin,1;
Configuration register = 0x2102
Peer Processor Information :
------------------------------
Standby Location = slot 1/1
Current Software state = STANDBY HOT
Uptime in current state = 1 hours, 3 minutes
Image Version = Cisco IOS Software, IOS-XE Software, Catalyst 4500
L3 Switch Software (cat4500e-UNIVERSAL-M), Version
03.05.01.E RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Sat 23-Nov-13 00:46 by prod_
BOOT = bootflash:cat4500e-universal.SPA.03.05.01.E.152-1.E1.bin,1;
Configuration register = 0x2102
스위치 중 하나 또는 둘 다 부팅이 완료되는 동안 VSL이 다운된 상태로 유지되면 듀얼 액티브 탐지 메커니즘이 없는 경우 듀얼 액티브 상태로 전환될 수 있습니다.피어 수퍼바이저가 탐지될 때까지 시스템은 듀얼 액티브 상태로 유지됩니다(대개 스위치가 부팅된 후 VSL 링크를 불러오는 방법). 이중 활성 상태가 탐지되면 수퍼바이저 중 하나가 복구 모드로 전환되고, 해당 상태의 섀시에 대한 모든 로컬 인터페이스를 종료합니다.VSL 링크가 완전히 복원되면 복구 모드의 스위치/수퍼바이저를 다시 로드해야 VSS에서 대기 링크로 적절히 재협상할 수 있습니다.
VSL 링크를 확인하려면 다음을 입력합니다.
4500X-VSS#show switch virtual link
Executing the command on VSS member switch role = VSS Active, id = 2
VSL Status : UP
VSL Uptime : 11 hours, 53 minutes
VSL Control Link : Te2/1/1
VSL Encryption : Configured Mode - Off, Operational Mode - Off
Executing the command on VSS member switch role = VSS Standby, id = 1
VSL Status : UP
VSL Uptime : 11 hours, 53 minutes
VSL Control Link : Te1/1/1
VSL Encryption : Configured Mode - Off, Operational Mode - Off
VSS가 SSO 이중화를 사용하여 작동하려면 VSS가 다음 조건을 충족해야 합니다.
시작 시퀀스에서 VSS 대기 스위치는 startup-config 파일에서 VSS 액티브 스위치로 가상 스위치 정보를 전송합니다.
VSS 액티브 스위치는 두 스위치 모두에서 이 정보가 올바르게 일치하는지 확인합니다.