> For the complete documentation index, see [llms.txt](https://punkymo.gitbook.io/miwiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://punkymo.gitbook.io/miwiki/redes/switches/recuperacion.md).

# Recuperación

### ¿Qué sucede si se daña el archivo del sistema o no se puede usar el sistema operativo del switch?&#x20;

Es el propio sistema de arranque el que brinda acceso al switch en esta situación. El sistema de arranque tiene una línea de comandos que proporciona acceso a los archivos ubicados en la memoria flash. Para ello, hay que utilizar la consola. Veamos que deberíamos hacer:

<figure><img src="/files/mpPUCr8Ou5xl29Y8Ds1n" alt="" width="337"><figcaption><p>Conexión de un PC por el puerto de consola de un Switch</p></figcaption></figure>

1. Con un cable de consola, conectamos un PC al puerto de consola del switch. Para ello debemos utilizar y configurar un software de emulación de terminal como pueden ser MobaXTerm, Tera Term o PuTTY para Windows.
2. Desconecta y vuelve a conectar el cable de alimentación del switch, esperando unos 15 segundos y, manteniendo presionado el botón Mode mientras el LED del sistema parpadea con luz verde.
3. Una vez que el LED del sistema se vea de color ámbar y luego verde, podemos soltar el botón Mode.
4. Veremos la petición de entrada en el switch, o sea, el software de arranque.

En la línea de comandos del **boot loader** podemos utilizar comandos para:&#x20;

* formatear el sistema de archivos flash.
* volver a instalar el software del sistema operativo.
* recuperar una contraseña perdida.
* visualizar la lista de archivos dentro de un directorio específico, con el comando **dir**.

<figure><img src="/files/qR3L4O4WrisqzbUtnq4k" alt="" width="563"><figcaption><p>Copia y visualización del running-config en la flash del Switch</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://punkymo.gitbook.io/miwiki/redes/switches/recuperacion.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
