Instale el archivo de configuración de referencia
Debe instalar el archivo de configuración de referencia (RCF) después de configurar los conmutadores de almacenamiento Nexus 9336C-FX2 y 9336C-FX2-T por primera vez.
Consulte el artículo de la base de conocimientos"Cómo borrar la configuración de un switch de interconexión Cisco manteniendo la conectividad remota" Para obtener más información sobre la instalación de su RCF.
Verifique las siguientes instalaciones y conexiones:
-
Una conexión de consola al conmutador. La conexión a la consola es opcional si tiene acceso remoto al switch.
-
Los switches cs1 y cs2 están encendidos y la configuración inicial del switch está completa (la dirección IP de administración y SSH están configuradas).
-
Se ha instalado la versión deseada de NX-OS.
-
Los puertos del clúster de nodos ONTAP no están conectados.
Paso 1: Instale el RCF en los interruptores
-
Inicie sesión para cambiar cs1 usando SSH o mediante una consola serial.
-
Copie el RCF al bootflash del conmutador cs1 utilizando uno de los siguientes protocolos de transferencia: FTP, TFTP, SFTP o SCP.
Para obtener más información sobre los comandos de Cisco , consulte la guía correspondiente en "Referencia de comandos de Cisco Nexus serie 9000 NX-OS" .
Mostrar ejemplo
Este ejemplo muestra cómo se utiliza TFTP para copiar un RCF a la memoria flash de arranque del switch cs1:
cs1# copy tftp: bootflash: vrf management Enter source filename: Nexus_9336C_RCF_v1.6-Storage.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 el RCF descargado previamente a la memoria flash de arranque.
Para obtener más información sobre los comandos de Cisco , consulte la guía correspondiente en "Referencia de comandos de Cisco Nexus serie 9000 NX-OS" .
Mostrar ejemplo
Este ejemplo muestra el RCF
Nexus_9336C_RCF_v1.6-Storage.txtInstalando en el switch cs1:cs1# copy Nexus_9336C_RCF_v1.6-Storage.txt running-config echo-commands
-
Examine la salida del banner de
show banner motddominio. Debe leer y seguir estas instrucciones para garantizar la correcta configuración y funcionamiento del interruptor.Mostrar ejemplo
cs1# show banner motd ****************************************************************************** * NetApp Reference Configuration File (RCF) * * Switch : Nexus N9K-C9336C-FX2 * Filename : Nexus_9336C_RCF_v1.6-Storage.txt * Date : 10-23-2020 * Version : v1.6 * * Port Usage : Storage configuration * Ports 1-36: 100GbE Controller and Shelf Storage Ports ******************************************************************************
-
Verifique que RCF sea la versión más reciente correcta:
show running-configAl comprobar la salida para verificar que tiene el RCF correcto, asegúrese de que la siguiente información sea correcta:
-
El estandarte de RCF
-
Configuración del nodo y del puerto
-
Personalizaciones
El resultado varía según la configuración de su sitio. Compruebe la configuración del puerto y consulte las notas de la versión para conocer los cambios específicos del RCF que haya instalado.
-
-
Registre cualquier adición personalizada entre el actual
running-configarchivo y el archivo RCF en uso. -
Después de verificar que las versiones de RCF y la configuración del interruptor sean correctas, copie el
running-configarchivo alstartup-configarchivo.cs1# copy running-config startup-config [########################################] 100% Copy complete
-
Guarde los detalles de configuración básicos en el
write_erase.cfgarchivo en la memoria flash de arranque.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.cfg -
Al instalar RCF versión 1.12 o posterior, ejecute los siguientes comandos:
cs1# 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 1280" >> bootflash:write_erase.cfgConsulte el artículo de la base de conocimientos"Cómo borrar la configuración de un switch de interconexión Cisco manteniendo la conectividad remota" Para obtener más detalles.
-
Verifique que el
write_erase.cfgEl archivo se ha rellenado según lo previsto:show file bootflash:write_erase.cfg -
Emitir el
write erasecomando para borrar la configuración guardada actual:cs1# write eraseWarning: This command will erase the startup-configuration.Do you wish to proceed anyway? (y/n) [n] y -
Copie la configuración básica guardada previamente en la configuración de inicio.
cs1# copy bootflash:write_erase.cfg startup-config -
Reiniciar interruptor cs1.
cs1# reloadThis command will reboot the system. (y/n)? [n] y -
Repita los pasos 1 al 13 en el interruptor cs2.
-
Conecte los puertos del clúster de todos los nodos del clúster ONTAP a los conmutadores cs1 y cs2.
Paso 2: Verifique las conexiones del interruptor
-
Verifique que los puertos del switch conectados a los puertos del clúster estén activos.
show interface briefMostrar ejemplo
cs1# show interface brief | grep up mgmt0 -- up <mgmt ip address> 1000 1500 Eth1/11 1 eth trunk up none 100G(D) -- Eth1/12 1 eth trunk up none 100G(D) -- Eth1/13 1 eth trunk up none 100G(D) -- Eth1/14 1 eth trunk up none 100G(D) -- Eth1/15 1 eth trunk up none 100G(D) -- Eth1/16 1 eth trunk up none 100G(D) -- Eth1/17 1 eth trunk up none 100G(D) -- Eth1/18 1 eth trunk up none 100G(D) -- Eth1/23 1 eth trunk up none 100G(D) -- Eth1/24 1 eth trunk up none 100G(D) -- Eth1/25 1 eth trunk up none 100G(D) -- Eth1/26 1 eth trunk up none 100G(D) -- Eth1/27 1 eth trunk up none 100G(D) -- Eth1/28 1 eth trunk up none 100G(D) -- Eth1/29 1 eth trunk up none 100G(D) -- Eth1/30 1 eth trunk up none 100G(D) --
-
Verifique que los nodos del clúster se encuentren en sus VLAN de clúster correctas utilizando los siguientes comandos:
show vlan briefshow interface trunkMostrar ejemplo
cs1# show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Po999 30 VLAN0030 active Eth1/1, Eth1/2, Eth1/3, Eth1/4 Eth1/5, Eth1/6, Eth1/7, Eth1/8 Eth1/9, Eth1/10, Eth1/11 Eth1/12, Eth1/13, Eth1/14 Eth1/15, Eth1/16, Eth1/17 Eth1/18, Eth1/19, Eth1/20 Eth1/21, Eth1/22, Eth1/23 Eth1/24, Eth1/25, Eth1/26 Eth1/27, Eth1/28, Eth1/29 Eth1/30, Eth1/31, Eth1/32 Eth1/33, Eth1/34, Eth1/35 Eth1/36 cs1# show interface trunk ----------------------------------------------------- Port Native Status Port Vlan Channel ----------------------------------------------------- Eth1/1 1 trunking -- Eth1/2 1 trunking -- Eth1/3 1 trunking -- Eth1/4 1 trunking -- Eth1/5 1 trunking -- Eth1/6 1 trunking -- Eth1/7 1 trunking -- Eth1/8 1 trunking -- Eth1/9 1 trunking -- Eth1/10 1 trunking -- Eth1/11 1 trunking -- Eth1/12 1 trunking -- Eth1/13 1 trunking -- Eth1/14 1 trunking -- Eth1/15 1 trunking -- Eth1/16 1 trunking -- Eth1/17 1 trunking -- Eth1/18 1 trunking -- Eth1/19 1 trunking -- Eth1/20 1 trunking -- Eth1/21 1 trunking -- Eth1/22 1 trunking -- Eth1/23 1 trunking -- Eth1/24 1 trunking -- Eth1/25 1 trunking -- Eth1/26 1 trunking -- Eth1/27 1 trunking -- Eth1/28 1 trunking -- Eth1/29 1 trunking -- Eth1/30 1 trunking -- Eth1/31 1 trunking -- Eth1/32 1 trunking -- Eth1/33 1 trunking -- Eth1/34 1 trunking -- Eth1/35 1 trunking -- Eth1/36 1 trunking -- -------------------------------------------------------------------------------- Port Vlans Allowed on Trunk -------------------------------------------------------------------------------- Eth1/1 30 Eth1/2 30 Eth1/3 30 Eth1/4 30 Eth1/5 30 Eth1/6 30 Eth1/7 30 Eth1/8 30 Eth1/9 30 Eth1/10 30 Eth1/11 30 Eth1/12 30 Eth1/13 30 Eth1/14 30 Eth1/15 30 Eth1/16 30 Eth1/17 30 Eth1/18 30 Eth1/19 30 Eth1/20 30 Eth1/21 30 Eth1/22 30 Eth1/23 30 Eth1/24 30 Eth1/25 30 Eth1/26 30 Eth1/27 30 Eth1/28 30 Eth1/29 30 Eth1/30 30 Eth1/31 30 Eth1/32 30 Eth1/33 30 Eth1/34 30 Eth1/35 30 Eth1/36 30 -------------------------------------------------------------------------------- Port Vlans Err-disabled on Trunk -------------------------------------------------------------------------------- Eth1/1 none Eth1/2 none Eth1/3 none Eth1/4 none Eth1/5 none Eth1/6 none Eth1/7 none Eth1/8 none Eth1/9 none Eth1/10 none Eth1/11 none Eth1/12 none Eth1/13 none Eth1/14 none Eth1/15 none Eth1/16 none Eth1/17 none Eth1/18 none Eth1/19 none Eth1/20 none Eth1/21 none Eth1/22 none Eth1/23 none Eth1/24 none Eth1/25 none Eth1/26 none Eth1/27 none Eth1/28 none Eth1/29 none Eth1/30 none Eth1/31 none Eth1/32 none Eth1/33 none Eth1/34 none Eth1/35 none Eth1/36 none -------------------------------------------------------------------------------- Port STP Forwarding -------------------------------------------------------------------------------- Eth1/1 none Eth1/2 none Eth1/3 none Eth1/4 none Eth1/5 none Eth1/6 none Eth1/7 none Eth1/8 none Eth1/9 none Eth1/10 none Eth1/11 30 Eth1/12 30 Eth1/13 30 Eth1/14 30 Eth1/15 30 Eth1/16 30 Eth1/17 30 Eth1/18 30 Eth1/19 none Eth1/20 none Eth1/21 none Eth1/22 none Eth1/23 30 Eth1/24 30 Eth1/25 30 Eth1/26 30 Eth1/27 30 Eth1/28 30 Eth1/29 30 Eth1/30 30 Eth1/31 none Eth1/32 none Eth1/33 none Eth1/34 none Eth1/35 none Eth1/36 none -------------------------------------------------------------------------------- Port Vlans in spanning tree forwarding state and not pruned -------------------------------------------------------------------------------- Eth1/1 Feature VTP is not enabled none Eth1/2 Feature VTP is not enabled none Eth1/3 Feature VTP is not enabled none Eth1/4 Feature VTP is not enabled none Eth1/5 Feature VTP is not enabled none Eth1/6 Feature VTP is not enabled none Eth1/7 Feature VTP is not enabled none Eth1/8 Feature VTP is not enabled none Eth1/9 Feature VTP is not enabled none Eth1/10 Feature VTP is not enabled none Eth1/11 Feature VTP is not enabled 30 Eth1/12 Feature VTP is not enabled 30 Eth1/13 Feature VTP is not enabled 30 Eth1/14 Feature VTP is not enabled 30 Eth1/15 Feature VTP is not enabled 30 Eth1/16 Feature VTP is not enabled 30 Eth1/17 Feature VTP is not enabled 30 Eth1/18 Feature VTP is not enabled 30 Eth1/19 Feature VTP is not enabled none Eth1/20 Feature VTP is not enabled none Eth1/21 Feature VTP is not enabled none Eth1/22 Feature VTP is not enabled none Eth1/23 Feature VTP is not enabled 30 Eth1/24 Feature VTP is not enabled 30 Eth1/25 Feature VTP is not enabled 30 Eth1/26 Feature VTP is not enabled 30 Eth1/27 Feature VTP is not enabled 30 Eth1/28 Feature VTP is not enabled 30 Eth1/29 Feature VTP is not enabled 30 Eth1/30 Feature VTP is not enabled 30 Eth1/31 Feature VTP is not enabled none Eth1/32 Feature VTP is not enabled none Eth1/33 Feature VTP is not enabled none Eth1/34 Feature VTP is not enabled none Eth1/35 Feature VTP is not enabled none Eth1/36 Feature VTP is not enabled nonePara obtener detalles específicos sobre el uso de puertos y VLAN, consulte la sección de notas importantes y el banner en su RCF.
Paso 3: Configura tu clúster ONTAP
NetApp recomienda utilizar System Manager para configurar nuevos clústeres.
System Manager proporciona un flujo de trabajo simple y fácil para la configuración del clúster, incluyendo la asignación de una dirección IP de administración de nodos, la inicialización del clúster, la creación de una capa local, la configuración de protocolos y el aprovisionamiento de almacenamiento inicial.
Ir a "Configurar ONTAP en un nuevo clúster con el Administrador del sistema" Para obtener instrucciones de configuración.
Una vez instalado el RCF, puedes"verificar la configuración de SSH"