Instalar o ficheiro de configuração de referência (RCF)
Você instala o arquivo de configuração de referência (RCF) após configurar o switch Nexus 9332D-GX2B pela primeira vez.
Verifique as seguintes instalações e conexões:
-
Uma ligação de consola ao interrutor. A conexão do console é opcional se você tiver acesso remoto ao switch.
-
O switch CS1 e o switch CS2 são ativados e a configuração inicial do switch está concluída (o endereço IP de gerenciamento e o SSH são configurados).
-
A versão NX-os pretendida foi instalada.
-
As ligações ISL entre os interrutores estão ligadas.
Passo 1: Instale o RCF nos interrutores
-
Faça login no switch CS1 usando SSH ou usando um console serial.
-
Copie o RCF para o flash de inicialização do switch CS1 usando um dos seguintes protocolos de transferência: FTP, TFTP, SFTP ou SCP.
Para obter mais informações sobre comandos Cisco, consulte o guia apropriado "Referência de comando Cisco Nexus 9000 Series NX-os" nos guias.
Mostrar exemplo
Este exemplo mostra TFTP sendo usado para copiar um RCF para o flash de inicialização no switch CS1:
cs1# copy tftp: bootflash: vrf management Enter source filename: NX9332D-GX2B-RCF-v10.0-Shared.txt Enter hostname for the tftp server: 172.22.201.50 Trying to connect to tftp server......Connection to Server Established. TFTP get operation was successful Copy complete, now saving to disk (please wait)...
-
Aplique o RCF baixado anteriormente ao flash de inicialização.
Para obter mais informações sobre comandos Cisco, consulte o guia apropriado "Referência de comando Cisco Nexus 9000 Series NX-os" nos guias.
Este exemplo mostra o arquivo RCF
NX9332D-GX2B-RCF-v10.0-Shared.txtsendo instalado no switch cs1:cs1# copy NX9332D-GX2B-RCF-v10.0-Shared.txt running-config echo-commands
-
Examine a saída do banner a partir do
show banner motdcomando. Você deve ler e seguir estas instruções para garantir a configuração e o funcionamento corretos do switch.Mostrar exemplo
cs1# show banner motd ****************************************************************************** * NetApp Reference Configuration File (RCF) * * Switch : NX9332D-GX2B * Filename : NX9332D-GX2B-RCF-v10.0-Shared.txt * Date : 05-09-2025 * Version : v10.0 * Port Usage: * Ports 1-30: 100GbE Intra-Cluster/HA/Storage Ports, int e1/{1-30}/1-4 * Ports 31-32: Intra-Cluster ISL Ports, int e1/31-32 * * IMPORTANT NOTES * Interface port-channel999 is reserved to identify the version of this file. ****************************************************************************** -
Verifique se o arquivo RCF é a versão mais recente correta:
show running-configQuando verificar a saída para verificar se tem o RCF correto, certifique-se de que as seguintes informações estão corretas:
-
O banner RCF
-
As configurações de nó e porta
-
Personalizações
A saída varia de acordo com a configuração do seu site. Verifique as configurações da porta e consulte as notas de versão para ver se há alterações específicas ao RCF que você instalou.
-
-
Salve os detalhes básicos da configuração em
write_erase.cfgarquivo no bootflash.Certifique-se de configurar o seguinte:
-
Nome de usuário e senha
-
Endereço IP de gerenciamento
-
Gateway padrão
-
Nome do interruptor
cs1# show run | i "username admin password" > bootflash:write_erase.cfgcs1# show run | section "vrf context management" >> bootflash:write_erase.cfgcs1# show run | section "interface mgmt0" >> bootflash:write_erase.cfgcs1# show run | section "switchname" >> bootflash:write_erase.cfgcs1# echo "hardware access-list tcam region ing-racl 1024" >> bootflash:write_erase.cfgcs1# echo "hardware access-list tcam region egr-racl 1024" >> bootflash:write_erase.cfgcs1# echo "hardware access-list tcam region ing-l2-qos 1536" >> bootflash:write_erase.cfgVeja o artigo da Base de Conhecimento"Como limpar a configuração em um switch de interconexão Cisco, mantendo a conetividade remota" para mais detalhes.
-
-
Verifique se o
write_erase.cfgo arquivo é preenchido conforme o esperado:show file bootflash:write_erase.cfg -
Emitir o
write erasecomando para apagar a configuração salva atual:cs1# write eraseWarning: This command will erase the startup-configuration.Do you wish to proceed anyway? (y/n) [n] y -
Copie a configuração básica salva anteriormente na configuração de inicialização.
cs1# copy bootflash:write_erase.cfg startup-config -
Reinicie o switch:
cs1# reloadThis command will reboot the system. (y/n)? [n] y -
Repita os passos 1 a 10 no switch cs2.
-
Conecte as portas de todos os nós no cluster ONTAP aos switches cs1 e cs2.
Etapa 2: Verifique as conexões do interrutor
-
Verifique se as portas do switch conectadas às portas do cluster estão ativas:
show interface briefMostrar exemplo
cs1# show interface brief | grep up . . Eth1/9/3 1 eth trunk up none 100G(D) -- Eth1/9/4 1 eth trunk up none 100G(D) -- Eth1/15/1 1 eth trunk up none 100G(D) -- Eth1/15/2 1 eth trunk up none 100G(D) -- Eth1/15/3 1 eth trunk up none 100G(D) -- Eth1/15/4 1 eth trunk up none 100G(D) -- Eth1/16/1 1 eth trunk up none 100G(D) -- Eth1/16/2 1 eth trunk up none 100G(D) -- Eth1/16/3 1 eth trunk up none 100G(D) -- Eth1/16/4 1 eth trunk up none 100G(D) -- Eth1/17/1 1 eth trunk up none 100G(D) -- Eth1/17/2 1 eth trunk up none 100G(D) -- Eth1/17/3 1 eth trunk up none 100G(D) -- Eth1/17/4 1 eth trunk up none 100G(D) -- . .
-
Verifique se os nós de cluster estão em suas VLANs de cluster corretas usando os seguintes comandos:
show vlan briefshow interface trunkMostrar exemplo
cs1# show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Po1, Po999, Eth1/31, Eth1/32 Eth1/33, Eth1/34, Eth1/1/1 Eth1/1/2, Eth1/1/3, Eth1/1/4 Eth1/2/1, Eth1/2/2, Eth1/2/3 Eth1/2/4, Eth1/3/1, Eth1/3/2 Eth1/3/3, Eth1/3/4, Eth1/4/1 Eth1/4/2, Eth1/4/3, Eth1/4/4 Eth1/5/1, Eth1/5/2, Eth1/5/3 Eth1/5/4, Eth1/6/1, Eth1/6/2 Eth1/6/3, Eth1/6/4, Eth1/7/1 Eth1/7/2, Eth1/7/3, Eth1/7/4 Eth1/8/1, Eth1/8/2, Eth1/8/3 Eth1/8/4, Eth1/9/1, Eth1/9/2 Eth1/9/3, Eth1/9/4, Eth1/10/1 Eth1/10/2, Eth1/10/3, Eth1/10/4 Eth1/11/1, Eth1/11/2, Eth1/11/3 Eth1/11/4, Eth1/12/1, Eth1/12/2 Eth1/12/3, Eth1/12/4, Eth1/13/1 Eth1/13/2, Eth1/13/3, Eth1/13/4 Eth1/14/1, Eth1/14/2, Eth1/14/3 Eth1/14/4, Eth1/15/1, Eth1/15/2 Eth1/15/3, Eth1/15/4, Eth1/16/1 Eth1/16/2, Eth1/16/3, Eth1/16/4 Eth1/17/1, Eth1/17/2, Eth1/17/3 Eth1/17/4, Eth1/18/1, Eth1/18/2 Eth1/18/3, Eth1/18/4, Eth1/19/1 Eth1/19/2, Eth1/19/3, Eth1/19/4 Eth1/20/1, Eth1/20/2, Eth1/20/3 Eth1/20/4, Eth1/21/1, Eth1/21/2 Eth1/21/3, Eth1/21/4, Eth1/22/1 Eth1/22/2, Eth1/22/3, Eth1/22/4 Eth1/23/1, Eth1/23/2, Eth1/23/3 Eth1/23/4, Eth1/24/1, Eth1/24/2 Eth1/24/3, Eth1/24/4, Eth1/25/1 Eth1/25/2, Eth1/25/3, Eth1/25/4 Eth1/26/1, Eth1/26/2, Eth1/26/3 Eth1/26/4, Eth1/27/1, Eth1/27/2 Eth1/27/3, Eth1/27/4, Eth1/28/1 Eth1/28/2, Eth1/28/3, Eth1/28/4 Eth1/29/1, Eth1/29/2, Eth1/29/3 Eth1/29/4, Eth1/30/1, Eth1/30/2 Eth1/30/3, Eth1/30/4 17 VLAN0017 active Eth1/1/1, Eth1/1/2, Eth1/1/3 Eth1/1/4, Eth1/2/1, Eth1/2/2 Eth1/2/3, Eth1/2/4, Eth1/3/1 Eth1/3/2, Eth1/3/3, Eth1/3/4 Eth1/4/1, Eth1/4/2, Eth1/4/3 Eth1/4/4, Eth1/5/1, Eth1/5/2 Eth1/5/3, Eth1/5/4, Eth1/6/1 Eth1/6/2, Eth1/6/3, Eth1/6/4 Eth1/7/1, Eth1/7/2, Eth1/7/3 Eth1/7/4, Eth1/8/1, Eth1/8/2 Eth1/8/3, Eth1/8/4, Eth1/9/1 Eth1/9/2, Eth1/9/3, Eth1/9/4 Eth1/10/1, Eth1/10/2, Eth1/10/3 Eth1/10/4, Eth1/11/1, Eth1/11/2 Eth1/11/3, Eth1/11/4, Eth1/12/1 Eth1/12/2, Eth1/12/3, Eth1/12/4 Eth1/13/1, Eth1/13/2, Eth1/13/3 Eth1/13/4, Eth1/14/1, Eth1/14/2 Eth1/14/3, Eth1/14/4, Eth1/15/1 Eth1/15/2, Eth1/15/3, Eth1/15/4 Eth1/16/1, Eth1/16/2, Eth1/16/3 Eth1/16/4, Eth1/17/1, Eth1/17/2 Eth1/17/3, Eth1/17/4, Eth1/18/1 Eth1/18/2, Eth1/18/3, Eth1/18/4 Eth1/19/1, Eth1/19/2, Eth1/19/3 Eth1/19/4, Eth1/20/1, Eth1/20/2 Eth1/20/3, Eth1/20/4, Eth1/21/1 Eth1/21/2, Eth1/21/3, Eth1/21/4 Eth1/22/1, Eth1/22/2, Eth1/22/3 Eth1/22/4, Eth1/23/1, Eth1/23/2 Eth1/23/3, Eth1/23/4, Eth1/24/1 Eth1/24/2, Eth1/24/3, Eth1/24/4 Eth1/25/1, Eth1/25/2, Eth1/25/3 Eth1/25/4, Eth1/26/1, Eth1/26/2 Eth1/26/3, Eth1/26/4, Eth1/27/1 Eth1/27/2, Eth1/27/3, Eth1/27/4 Eth1/28/1, Eth1/28/2, Eth1/28/3 Eth1/28/4, Eth1/29/1, Eth1/29/2 Eth1/29/3, Eth1/29/4, Eth1/30/1 Eth1/30/2, Eth1/30/3, Eth1/30/4 18 VLAN0018 active Eth1/1/1, Eth1/1/2, Eth1/1/3 Eth1/1/4, Eth1/2/1, Eth1/2/2 Eth1/2/3, Eth1/2/4, Eth1/3/1 Eth1/3/2, Eth1/3/3, Eth1/3/4 Eth1/4/1, Eth1/4/2, Eth1/4/3 Eth1/4/4, Eth1/5/1, Eth1/5/2 Eth1/5/3, Eth1/5/4, Eth1/6/1 Eth1/6/2, Eth1/6/3, Eth1/6/4 Eth1/7/1, Eth1/7/2, Eth1/7/3 Eth1/7/4, Eth1/8/1, Eth1/8/2 Eth1/8/3, Eth1/8/4, Eth1/9/1 Eth1/9/2, Eth1/9/3, Eth1/9/4 Eth1/10/1, Eth1/10/2, Eth1/10/3 Eth1/10/4, Eth1/11/1, Eth1/11/2 Eth1/11/3, Eth1/11/4, Eth1/12/1 Eth1/12/2, Eth1/12/3, Eth1/12/4 Eth1/13/1, Eth1/13/2, Eth1/13/3 Eth1/13/4, Eth1/14/1, Eth1/14/2 Eth1/14/3, Eth1/14/4, Eth1/15/1 Eth1/15/2, Eth1/15/3, Eth1/15/4 Eth1/16/1, Eth1/16/2, Eth1/16/3 Eth1/16/4, Eth1/17/1, Eth1/17/2 Eth1/17/3, Eth1/17/4, Eth1/18/1 Eth1/18/2, Eth1/18/3, Eth1/18/4 Eth1/19/1, Eth1/19/2, Eth1/19/3 Eth1/19/4, Eth1/20/1, Eth1/20/2 Eth1/20/3, Eth1/20/4, Eth1/21/1 Eth1/21/2, Eth1/21/3, Eth1/21/4 Eth1/22/1, Eth1/22/2, Eth1/22/3 Eth1/22/4, Eth1/23/1, Eth1/23/2 Eth1/23/3, Eth1/23/4, Eth1/24/1 Eth1/24/2, Eth1/24/3, Eth1/24/4 Eth1/25/1, Eth1/25/2, Eth1/25/3 Eth1/25/4, Eth1/26/1, Eth1/26/2 Eth1/26/3, Eth1/26/4, Eth1/27/1 Eth1/27/2, Eth1/27/3, Eth1/27/4 Eth1/28/1, Eth1/28/2, Eth1/28/3 Eth1/28/4, Eth1/29/1, Eth1/29/2 Eth1/29/3, Eth1/29/4, Eth1/30/1 Eth1/30/2, Eth1/30/3, Eth1/30/4 30 VLAN0030 active Eth1/1/1, Eth1/1/2, Eth1/1/3 Eth1/1/4, Eth1/2/1, Eth1/2/2 Eth1/2/3, Eth1/2/4, Eth1/3/1 Eth1/3/2, Eth1/3/3, Eth1/3/4 Eth1/4/1, Eth1/4/2, Eth1/4/3 Eth1/4/4, Eth1/5/1, Eth1/5/2 Eth1/5/3, Eth1/5/4, Eth1/6/1 Eth1/6/2, Eth1/6/3, Eth1/6/4 Eth1/7/1, Eth1/7/2, Eth1/7/3 Eth1/7/4, Eth1/8/1, Eth1/8/2 Eth1/8/3, Eth1/8/4, Eth1/9/1 Eth1/9/2, Eth1/9/3, Eth1/9/4 Eth1/10/1, Eth1/10/2, Eth1/10/3 Eth1/10/4, Eth1/11/1, Eth1/11/2 Eth1/11/3, Eth1/11/4, Eth1/12/1 Eth1/12/2, Eth1/12/3, Eth1/12/4 Eth1/13/1, Eth1/13/2, Eth1/13/3 Eth1/13/4, Eth1/14/1, Eth1/14/2 Eth1/14/3, Eth1/14/4, Eth1/15/1 Eth1/15/2, Eth1/15/3, Eth1/15/4 Eth1/16/1, Eth1/16/2, Eth1/16/3 Eth1/16/4, Eth1/17/1, Eth1/17/2 Eth1/17/3, Eth1/17/4, Eth1/18/1 Eth1/18/2, Eth1/18/3, Eth1/18/4 Eth1/19/1, Eth1/19/2, Eth1/19/3 Eth1/19/4, Eth1/20/1, Eth1/20/2 Eth1/20/3, Eth1/20/4, Eth1/21/1 Eth1/21/2, Eth1/21/3, Eth1/21/4 Eth1/22/1, Eth1/22/2, Eth1/22/3 Eth1/22/4, Eth1/23/1, Eth1/23/2 Eth1/23/3, Eth1/23/4, Eth1/24/1 Eth1/24/2, Eth1/24/3, Eth1/24/4 Eth1/25/1, Eth1/25/2, Eth1/25/3 Eth1/25/4, Eth1/26/1, Eth1/26/2 Eth1/26/3, Eth1/26/4, Eth1/27/1 Eth1/27/2, Eth1/27/3, Eth1/27/4 Eth1/28/1, Eth1/28/2, Eth1/28/3 Eth1/28/4, Eth1/29/1, Eth1/29/2 Eth1/29/3, Eth1/29/4, Eth1/30/1 Eth1/30/2, Eth1/30/3, Eth1/30/4 40 VLAN0040 active Eth1/1/1, Eth1/1/2, Eth1/1/3 Eth1/1/4, Eth1/2/1, Eth1/2/2 Eth1/2/3, Eth1/2/4, Eth1/3/1 Eth1/3/2, Eth1/3/3, Eth1/3/4 Eth1/4/1, Eth1/4/2, Eth1/4/3 Eth1/4/4, Eth1/5/1, Eth1/5/2 Eth1/5/3, Eth1/5/4, Eth1/6/1 Eth1/6/2, Eth1/6/3, Eth1/6/4 Eth1/7/1, Eth1/7/2, Eth1/7/3 Eth1/7/4, Eth1/8/1, Eth1/8/2 Eth1/8/3, Eth1/8/4, Eth1/9/1 Eth1/9/2, Eth1/9/3, Eth1/9/4 Eth1/10/1, Eth1/10/2, Eth1/10/3 Eth1/10/4, Eth1/11/1, Eth1/11/2 Eth1/11/3, Eth1/11/4, Eth1/12/1 Eth1/12/2, Eth1/12/3, Eth1/12/4 Eth1/13/1, Eth1/13/2, Eth1/13/3 Eth1/13/4, Eth1/14/1, Eth1/14/2 Eth1/14/3, Eth1/14/4, Eth1/15/1 Eth1/15/2, Eth1/15/3, Eth1/15/4 Eth1/16/1, Eth1/16/2, Eth1/16/3 Eth1/16/4, Eth1/17/1, Eth1/17/2 Eth1/17/3, Eth1/17/4, Eth1/18/1 Eth1/18/2, Eth1/18/3, Eth1/18/4 Eth1/19/1, Eth1/19/2, Eth1/19/3 Eth1/19/4, Eth1/20/1, Eth1/20/2 Eth1/20/3, Eth1/20/4, Eth1/21/1 Eth1/21/2, Eth1/21/3, Eth1/21/4 Eth1/22/1, Eth1/22/2, Eth1/22/3 Eth1/22/4, Eth1/23/1, Eth1/23/2 Eth1/23/3, Eth1/23/4, Eth1/24/1 Eth1/24/2, Eth1/24/3, Eth1/24/4 Eth1/25/1, Eth1/25/2, Eth1/25/3 Eth1/25/4, Eth1/26/1, Eth1/26/2 Eth1/26/3, Eth1/26/4, Eth1/27/1 Eth1/27/2, Eth1/27/3, Eth1/27/4 Eth1/28/1, Eth1/28/2, Eth1/28/3 Eth1/28/4, Eth1/29/1, Eth1/29/2 Eth1/29/3, Eth1/29/4, Eth1/30/1 Eth1/30/2, Eth1/30/3, Eth1/30/4 cs1# show interface trunk -------------------------------------------------------------------------------- Port Native Status Port Vlan Channel -------------------------------------------------------------------------------- Eth1/1/1 1 trunking -- Eth1/1/2 1 trunking -- Eth1/1/3 1 trunking -- Eth1/1/4 1 trunking -- Eth1/2/1 1 trunking -- Eth1/2/2 1 trunking -- Eth1/2/3 1 trunking -- Eth1/2/4 1 trunking -- . . . Eth1/30/1 none Eth1/30/2 none Eth1/30/3 none Eth1/30/4 none Eth1/31 none Eth1/32 none Po1 1Para obter detalhes específicos de uso de porta e VLAN, consulte a seção banner e notas importantes no RCF. -
Verifique se o ISL entre CS1 e CS2 está funcional:
show port-channel summaryMostrar exemplo
cs1# show port-channel summary Flags: D - Down P - Up in port-channel (members) I - Individual H - Hot-standby (LACP only) s - Suspended r - Module-removed b - BFD Session Wait S - Switched R - Routed U - Up (port-channel) p - Up in delay-lacp mode (member) M - Not in use. Min-links not met -------------------------------------------------------------------------------- Group Port- Type Protocol Member Ports Channel -------------------------------------------------------------------------------- 1 Po1(SU) Eth LACP Eth1/31(P) Eth1/32(P) 999 Po999(SD) Eth NONE -- cs1#
Passo 3: Configure o cluster do ONTAP
A NetApp recomenda que você use o Gerenciador de sistemas para configurar novos clusters.
O System Manager fornece um fluxo de trabalho simples e fácil para configuração e configuração de cluster, incluindo a atribuição de um endereço IP de gerenciamento de nós, a inicialização do cluster, a criação de um nível local, a configuração de protocolos e o provisionamento de armazenamento inicial.
Aceda a "Configure o ONTAP em um novo cluster com o Gerenciador do sistema" para obter instruções de configuração.
Depois de instalar o RCF, você"verificar a configuração SSH" .