Skip to main content
ONTAP MetroCluster
Se proporciona el idioma español mediante traducción automática para su comodidad. En caso de alguna inconsistencia, el inglés precede al español.

Restablecer los valores predeterminados de fábrica del switch FC de Brocade

Colaboradores

Antes de instalar una nueva versión de software y archivos RCF, debe borrar la configuración actual del conmutador y realizar la configuración básica.

Acerca de esta tarea

Debe repetir estos pasos en cada uno de los switches FC de la configuración de la estructura de MetroCluster.

Pasos
  1. Inicie sesión en el conmutador como administrador.

  2. Desactive la función Brocade Virtual Fabrics (VF):

    fosconfig options

    FC_switch_A_1:admin> fosconfig --disable vf
    WARNING:  This is a disruptive operation that requires a reboot to take effect.
    Would you like to continue  [Y/N]: y
  3. Desconecte los cables ISL de los puertos del switch.

  4. Desactivar el interruptor:

    switchcfgpersistentdisable

    FC_switch_A_1:admin> switchcfgpersistentdisable
  5. Desactivar la configuración:

    cfgDisable

    FC_switch_A_1:admin> cfgDisable
    You are about to disable zoning configuration. This action will disable any previous zoning configuration enabled.
    Do you want to disable zoning configuration? (yes, y, no, n): [no] y
    Updating flash ...
    Effective configuration is empty. "No  Access" default zone mode is ON.
  6. Borrar la configuración:

    cfgClear

    FC_switch_A_1:admin> cfgClear
    The Clear All action will clear all Aliases, Zones, FA Zones
    and configurations in the Defined configuration.
    Run cfgSave to commit the transaction or cfgTransAbort to
    cancel the transaction.
    Do you really want to clear all configurations?  (yes, y, no, n): [no] y
  7. Guarde la configuración:

    cfgSave

    FC_switch_A_1:admin> cfgSave
    You are about to save the Defined zoning configuration. This
    action will only save the changes on Defined configuration.
    Do you want to save the Defined zoning configuration only?  (yes, y, no, n): [no] y
    Updating flash ...
  8. Establezca la configuración predeterminada:

    configDefault

    FC_switch_A_1:admin> configDefault
    WARNING:  This is a disruptive operation that requires a switch reboot.
    Would you like to continue [Y/N]: y
    Executing configdefault...Please wait
    2020/10/05-08:04:08, [FCR-1069], 1016, FID 128, INFO, FC_switch_A_1, The FC Routing service is enabled.
    2020/10/05-08:04:08, [FCR-1068], 1017, FID 128, INFO, FC_switch_A_1, The FC Routing service is disabled.
    2020/10/05-08:04:08, [FCR-1070], 1018, FID 128, INFO, FC_switch_A_1, The FC Routing configuration is set to default.
    Committing configuration ... done.
    2020/10/05-08:04:12, [MAPS-1113], 1019, FID 128, INFO, FC_switch_A_1, Policy dflt_conservative_policy activated.
    2020/10/05-08:04:12, [MAPS-1145], 1020, FID 128, INFO, FC_switch_A_1, FPI Profile dflt_fpi_profile is activated for E-Ports.
    2020/10/05-08:04:12, [MAPS-1144], 1021, FID 128, INFO, FC_switch_A_1, FPI Profile dflt_fpi_profile is activated for F-Ports.
    The switch has to be rebooted to allow the changes to take effect.
    2020/10/05-08:04:12, [CONF-1031], 1022, FID 128, INFO, FC_switch_A_1, configDefault completed successfully for switch.
  9. Establezca la configuración predeterminada de todos los puertos:

    portcfgdefault port-number

    FC_switch_A_1:admin> portcfgdefault <port number>

    Debe completar este paso para cada puerto.

  10. Compruebe que el switch utiliza el método de puerto dinámico bajo demanda (POD).

    Nota En las versiones de SO Brocade Fabric anteriores a la 8.0, se ejecutan los siguientes comandos como administrador, y para las versiones 8.0 y posteriores, se ejecutan como raíz.
    1. Ejecute el comando license:

      Para Fabric OS 8,2.x y versiones anteriores

      Ejecute el comando licenseport --show.

      Para Fabric OS 9,0 y posterior

      Ejecute el comando license --show -port.

      FC_switch_A_1:admin> license --show -port
      24 ports are available in this switch
      Full POD license is installed
      Dynamic POD method is in use
    2. Active el usuario raíz si está deshabilitado por Brocade.

      FC_switch_A_1:admin> userconfig --change root -e yes
      FC_switch_A_1:admin> rootaccess --set consoleonly
    3. Ejecute el comando license:

      Para Fabric OS 8,2.x y versiones anteriores

      Ejecute el comando licenseport --show.

      Para Fabric OS 9,0 y posterior

      Ejecute el comando license --show -port.

      FC_switch_A_1:root> license --show -port
      24 ports are available in this switch
      Full POD license is installed
      Dynamic POD method is in use
    4. Si ejecuta Fabric OS 8,2.x y versiones anteriores, debe cambiar el método de licencia a dinámico:

      licenseport --method dynamic

    FC_switch_A_1:admin> licenseport --method dynamic
    The POD method has been changed to dynamic.
    Please reboot the switch now for this change to take effect

    +

    Nota En Fabric OS 9,0 y posterior, el método de licencia es dinámico de forma predeterminada. El método de licencia estática no es compatible.
  11. Reinicie el switch:

    fastBoot

    FC_switch_A_1:admin> fastboot
    Warning: This command would cause the switch to reboot
    and result in traffic disruption.
    Are you sure you want to reboot the switch [y/n]?y
  12. Confirme que se ha implementado la configuración predeterminada:

    switchShow

  13. Compruebe que la dirección IP esté configurada correctamente:

    ipAddrShow

    Puede establecer la dirección IP con el siguiente comando, si es necesario:

    ipAddrSet