> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/run-the-platform/es/redes/port-mirroring.md).

# Mirroring de puertos

Habilite el mirroring de puertos en una red de VergeOS para replicar tráfico a una NIC de VM para análisis de paquetes, supervisión y diagnósticos usando modos Norte/Sur o Este/Oeste.

La duplicación de puertos replica el tráfico de una red a la NIC de una VM, lo que permite el análisis de paquetes para monitoreo o diagnóstico.

## Configurar la duplicación de puertos

1. Habilite **Duplicación de puertos** en la configuración de red. ![portmirrordropdown.png](https://1206374132-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpODKGSQETqL1gSqyxIq3%2Fuploads%2Fgit-blob-21420f8b59523033f7f778544fc9049785828be1%2Fportmirrordropdown.png?alt=media)
   * Seleccione ***Norte/Sur*** para copiar paquetes que atraviesan el enrutador de red
   * Seleccione ***Este/Oeste*** para copiar paquetes que atraviesan el enrutador Y todos los paquetes dentro de la red

{% hint style="warning" %}
***Este/Oeste*****&#x20;la duplicación de puertos normalmente solo se recomienda como una configuración temporal con fines de diagnóstico; usarla durante largos períodos puede afectar el rendimiento, ya que replica todo el tráfico de red.**
{% endhint %}

2. Haga clic en **Enviar** para guardar el cambio.
3. Haga clic en **Reiniciar** en el menú de la izquierda para iniciar la red.
4. Cree una VM que se usará para el análisis de puertos (o use una VM existente).
5. [**Añada una NIC a la VM**](/run-the-platform/es/maquinas-virtuales/vm-nics.md):
   * En la **Red** campo, seleccione: *NETWORKNAME*\_mirror
   * Haga clic en **Enviar** (en la parte inferior de la página) para guardar
6. (Re)inicie la VM.
7. Se puede usar el sistema operativo/software de aplicación de su elección en la VM para el análisis de paquetes.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.verge.io/run-the-platform/es/redes/port-mirroring.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
