Este documento descreve o procedimento de substituição de switch para Cisco Catalyst 4500 Series Switches executados no modo Virtual Switching System (VSS).
A Cisco recomenda que você tenha conhecimento destes tópicos:
As informações neste documento são baseadas no WS-C4500X-32 com Cisco IOS® versão 03.05.01. Entretanto, o mesmo processo pode ser aplicado a um chassi 4500 com um Supervisor 7 Engine (Sup7).
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
A primeira etapa é identificar o switch que deve ser substituído. Neste exemplo, o switch ativo (Switch 1) deve ser substituído. O comando show switch virtual fornece as informações ativas e de espera.
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
Agora, você entende qual switch está ativo (Switch 1) e qual switch está no estado de espera (Switch 2). A próxima etapa é fazer failover das responsabilidades do plano de controle para o Switch 2 para que você possa se preparar para a substituição do Switch 1. O comando redundancy force-switchover executa a operação necessária.
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]
Antes de remover o switch defeituoso, você deve verificar se o sistema falhou completamente. Para verificar o estado de redundância, insira o comando 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
Na saída, o estado atual do software = STANDBY HOT mostra que o sistema se estabilizou e está totalmente sincronizado no momento. Agora você pode prosseguir com a remoção física do switch.
Neste momento, o switch com falha está pronto para remoção física. É muito importante perceber que, se a topologia não for totalmente redundante após a remoção, você manterá um impacto no serviço. A Cisco recomenda que você implemente o Multichassis EtherChannel (MEC) para ajudar a garantir que os links permaneçam ativos.
Você deve usar a mesma imagem do Cisco IOS e o mesmo conjunto de recursos de licença no chassi de standby para este chassi para ingressar corretamente no domínio do VSS atual. Este exemplo envolve o download e a instalação da versão 03.05.01 para corresponder ao peer atual. Depois de instalados, os links físicos devem ser conectados na posição exata do switch que foi substituído e, em seguida, o switch deve ser inicializado. O switch deve agora ficar on-line com uma configuração em branco e em um estado autônomo, pois ainda não foi configurado como um membro do VSS.
Você deve definir o domínio VSS e o número do switch.
4500X-VSS(config)#switch virtual domain 100
4500X-VSS(config-vs-domain)#switch 1
Em seguida, você deve configurar as interfaces físicas e os canais de porta usados para o link 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
Por fim, você deve converter o modo de switch de autônomo para virtual. Depois que essa configuração for feita, o switch será recarregado.
4500X-VSS# switch convert mode virtual
Quando o Switch 1 conclui o recarregamento, ele detecta o switch VSS ativo atual do link VSL e sincroniza automaticamente a configuração.
Seus switches agora devem estar de volta em um VSS totalmente redundante. O comando show switch virtual garante que cada switch esteja no estado correto. Para verificar se você está de volta no switchover stateful (SSO) ou no estado hot standby, insira outro comando 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
Se o VSL permanecer inoperante enquanto um ou ambos os switches terminam a inicialização, você pode entrar em uma situação dupla ativa se não houver um mecanismo de detecção dual ativa. O sistema permanece duplo ativo até que um supervisor de peer seja detectado (geralmente ativando o link VSL após a inicialização do switch). Quando a condição dupla ativa é detectada, um dos supervisores é colocado no modo de recuperação e desliga todas as interfaces locais para o chassi em que está. Quando o link VSL for totalmente restaurado, o switch/supervisor no modo de recuperação deverá ser recarregado para que possa renegociar corretamente como um standby no VSS.
Para verificar o link VSL, insira:
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
Para que o VSS funcione com redundância SSO, o VSS deve atender às seguintes condições:
Na sequência de inicialização, o switch VSS em standby envia informações do switch virtual do arquivo de configuração de inicialização para o switch ativo do VSS.
O switch ativo do VSS garante que essas informações correspondam corretamente em ambos os switches:
Revisão | Data de publicação | Comentários |
---|---|---|
1.0 |
22-Apr-2014 |
Versão inicial |