> 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/plan-and-deploy/es/guia-de-implementacion/switch-configuration.md).

# Guía de configuración de switches

## Descripción general

Esta guía cubre la configuración de puertos de switch para despliegues de nodos VergeOS. Configurarás dos tipos de red: **Core Fabric** (almacenamiento interno del sistema/vSAN) y **Externa** (conectividad de cargas de trabajo). Una configuración correcta del switch garantiza un rendimiento, seguridad y fiabilidad óptimos.

**Público objetivo:** Administradores de infraestructura y red que implementan sistemas VergeOS

## Lo que aprenderás

* Configurar puertos de acceso VLAN aislados para Core Fabric con tramas jumbo
* Configurar puertos trunk VLAN con LACP para redes externas
* Verificar la configuración del switch y solucionar problemas comunes

**Preguntas frecuentes respondidas:**

* ¿Qué configuración de switch requiere VergeOS?
* ¿Cómo configuro tramas jumbo para el tráfico de almacenamiento?
* ¿Debo usar LACP o activo-respaldo para redes externas?
* ¿Cómo aíslo Core Fabric del tráfico externo?

## Referencia rápida

| Tipo de red     | Configuración                                                         | Propósito                                         |
| --------------- | --------------------------------------------------------------------- | ------------------------------------------------- |
| **Core Fabric** | Puerto de acceso, VLAN aisladas, MTU 9216, sin STP                    | Aislar el tráfico del clúster/almacenamiento      |
| **Externa**     | Puerto trunk, múltiples VLAN, enlace activo/respaldo, LACP (opcional) | Conectividad de cargas de trabajo con redundancia |

***

## Comprender los tipos de red

### Red de la infraestructura principal

Red privada de alta velocidad para las operaciones del clúster VergeOS que transporta almacenamiento vSAN, coordinación del clúster y tráfico de migración de VM.

**Requisitos:**

* VLAN dedicadas (aisladas de **TODAS LAS DEMÁS** redes)
* Tramas jumbo (MTU 9216) para eficiencia del almacenamiento
* Configuración de puerto de acceso (una sola VLAN sin etiquetar por red principal)
* Se recomiendan 10 Gbps o más

### Redes externas

Redes que conectan las VM y las cargas de trabajo con usuarios, internet y otra infraestructura.

**Requisitos:**

* Múltiples VLAN para la separación de inquilinos/cargas de trabajo
* Enlace LACP para redundancia (o activo-respaldo)
* Configuración de puerto trunk
* MTU estándar 1500 (o 9000 si las cargas de trabajo lo requieren)

***

## Pasos de configuración

### 1. Preparar el switch

**Accede al switch** a través de la consola/SSH y entra en modo de configuración.

{% tabs %}
{% tab title="Cisco IOS/IOS-XE" %}
**Entra en modo de configuración:**

```
enable
configure terminal
```

**Crea VLAN:**

```
vlan 900
    name VergeOS-Core-Fabric-1
vlan 901
    name VergeOS-Core-Fabric-2
vlan 10
    name VergeOS-External-Management
vlan 20
    name VergeOS-External-Production
exit
```

**Habilita tramas jumbo globalmente:**

```
system mtu jumbo 9216
```

{% endtab %}

{% tab title="Dell OS10" %}
**Entra en modo de configuración:**

```
enable
configure terminal
```

**Crea VLAN:**

```
interface vlan 900
    description VergeOS-Core-Fabric-1
    no shutdown
    exit
interface vlan 901
    description VergeOS-Core-Fabric-2
    no shutdown
    exit
interface vlan 10
    description VergeOS-External-Management
    no shutdown
    exit
interface vlan 20
    description VergeOS-External-Production
    no shutdown
    exit
```

**Habilita tramas jumbo globalmente:**

```
system mtu 9216
```

{% endtab %}

{% tab title="HPE/Aruba" %}
**Entra en modo de configuración:**

```
enable
configure terminal
```

**Crea VLAN:**

```
vlan 900
    name VergeOS-Core-Fabric-1
vlan 901
    name VergeOS-Core-Fabric-2
vlan 10
    name VergeOS-External-Management
vlan 20
    name VergeOS-External-Production
exit
```

**Habilita tramas jumbo globalmente:**

```
max-frame-size 9216
```

{% endtab %}
{% endtabs %}

{% hint style="warning" %}
**Requisito de tamaño de MTU**

VergeOS requiere MTU 9216 en los puertos del switch para acomodar la carga útil de 9000 bytes más las etiquetas VLAN, cabeceras y sobrecarga para los tenants. Establecer la MTU por debajo de 9216 provocará fragmentación de paquetes y degradará el rendimiento del almacenamiento.
{% endhint %}

### 2. Configurar los puertos de Core Fabric

Configura cada puerto que conecta a las NIC de Core Fabric del nodo como un puerto de acceso con tramas jumbo.

{% tabs %}
{% tab title="Cisco IOS/IOS-XE" %}
**Configuración (por puerto de Core Fabric):**

```
interface GigabitEthernet1/0/1
 description VergeOS-Node1-Core-Fabric-1
 switchport mode access
 switchport access vlan 900
 mtu 9216
 spanning-tree bpduguard disable
 spanning-tree portfast disable
 no shutdown
 exit

interface GigabitEthernet1/0/2
 description VergeOS-Node1-Core-Fabric-2
 switchport mode access
 switchport access vlan 901
 mtu 9216
 spanning-tree bpduguard disable
 spanning-tree portfast disable
 no shutdown
 exit
```

{% endtab %}

{% tab title="Dell OS10" %}
**Configuración (por puerto de Core Fabric):**

```
interface ethernet1/1/1
 description VergeOS-Node1-Core-Fabric-1
 no shutdown
 switchport mode access
 switchport access vlan 900
 mtu 9216
 spanning-tree bpduguard disable
 spanning-tree port type normal
 exit

interface ethernet1/1/2
 description VergeOS-Node1-Core-Fabric-2
 no shutdown
 switchport mode access
 switchport access vlan 901
 mtu 9216
 spanning-tree bpduguard disable
 spanning-tree port type normal
 exit
```

{% endtab %}

{% tab title="HPE/Aruba" %}
**Configuración (por puerto de Core Fabric):**

```
interface 1/1/1
 description VergeOS-Node1-Core-Fabric-1
 no shutdown
 no routing
 vlan access 900
 mtu 9216
 spanning-tree bpdu-guard disable
 spanning-tree port-type normal
 exit

interface 1/1/2
 description VergeOS-Node1-Core-Fabric-2
 no shutdown
 no routing
 vlan access 901
 mtu 9216
 spanning-tree bpdu-guard disable
 spanning-tree port-type normal
 exit
```

{% endtab %}
{% endtabs %}

\*\*Repite para todos los nodos:\*\*

* Nodo1: puertos de Core Fabric 1-2
* Nodo2: puertos de Core Fabric 1-2
* Nodo3: puertos de Core Fabric 1-2

**Configuraciones clave:**

* Modo: **access** (sin etiquetar, una sola VLAN)
* VLAN: **900/901** (aislamiento de Core Fabric)
* MTU: **9216** (tramas jumbo para almacenamiento)
* Spanning Tree: **Deshabilitado** (no necesario para enlaces de Core Fabric)

### 3. Configurar puertos de red externa (LACP)

Para redes externas, configura port-channels LACP para redundancia y agregación de ancho de banda.

{% tabs %}
{% tab title="Cisco IOS/IOS-XE" %}
**Crear port-channel:**

```
interface Port-channel1
 description VergeOS-Node1-External-Bond
 switchport mode trunk
 switchport trunk allowed vlan 10,20
 no shutdown
 exit
```

**Añadir puertos miembro:**

```
interface range GigabitEthernet1/0/7-8
 description VergeOS-Node1-External-Members
 switchport mode trunk
 switchport trunk allowed vlan 10,20
 channel-group 1 mode active
 no shutdown
 exit
```

{% endtab %}

{% tab title="Dell OS10" %}
**Crear port-channel (LAG):**

```
interface port-channel 1
 description VergeOS-Node1-External-Bond
 no shutdown
 switchport mode trunk
 switchport trunk allowed vlan 10,20
 exit
```

**Añadir puertos miembro:**

```
interface range ethernet1/1/7-1/1/8
 description VergeOS-Node1-External-Members
 no shutdown
 channel-group 1 mode active
 no switchport
 exit

interface port-channel 1
 switchport mode trunk
 switchport trunk allowed vlan 10,20
 exit
```

{% endtab %}

{% tab title="HPE/Aruba" %}
**Crear LAG (port-channel):**

```
interface lag 1
 description VergeOS-Node1-External-Bond
 no shutdown
 no routing
 vlan trunk native 1
 vlan trunk allowed 10,20
 exit
```

**Añadir puertos miembro:**

```
interface 1/1/7
 description VergeOS-Node1-External-Member-1
 no shutdown
 lag 1
 exit

interface 1/1/8
 description VergeOS-Node1-External-Member-2
 no shutdown
 lag 1
 exit
```

{% endtab %}
{% endtabs %}

\*\*Repite para nodos adicionales\*\* (Po2, Po3, etc.)

**Configuraciones clave:**

* Modo: **trunk** (múltiples VLAN etiquetadas)
* VLAN permitidas: **10,20** (solo VLAN de carga de trabajo y de gestión de VergeOS)
* Modo LACP: **active** (inicia la negociación)

### 4. Configurar puertos externos (alternativa activo-respaldo)

Si LACP no está disponible o no es preferido, configura puertos trunk individuales sin enlace.

{% tabs %}
{% tab title="Cisco IOS/IOS-XE" %}

```
interface range GigabitEthernet1/0/7-8
 description VergeOS-Node1-External-NoLACP
 switchport mode trunk
 switchport trunk allowed vlan 10,20
 switchport trunk native vlan 99
 spanning-tree portfast trunk
 no shutdown
 exit
```

{% endtab %}

{% tab title="Dell OS10" %}

```
interface range ethernet1/1/7-1/1/8
 description VergeOS-Node1-External-NoLACP
 no shutdown
 switchport mode trunk
 switchport trunk allowed vlan 10,20
 switchport access vlan 99
 spanning-tree port type edge
 exit
```

{% endtab %}

{% tab title="HPE/Aruba" %}

```
interface range 1/1/7-1/1/8
 description VergeOS-Node1-External-NoLACP
 no shutdown
 no routing
 vlan trunk native 99
 vlan trunk allowed 10,20
 spanning-tree port-type admin-edge
 exit
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
VergeOS puede gestionar la conmutación por error en software usando enlace activo-respaldo si LACP no está disponible.
{% endhint %}

***

## Verificación

### Verificar la configuración de Core Fabric

{% tabs %}
{% tab title="Cisco IOS/IOS-XE" %}

```
show interfaces GigabitEthernet1/0/1 switchport
show interfaces GigabitEthernet1/0/1 | include MTU
show vlan id 900
```

**Resultados esperados:**

* Modo: access
* VLAN: 900
* MTU: 9216
  {% endtab %}

{% tab title="Dell OS10" %}

```
show interface switchport ethernet1/1/1
show interface ethernet1/1/1 | grep MTU
show vlan 900
```

**Resultados esperados:**

* Modo: access
* VLAN de acceso: 900
* MTU: 9216
  {% endtab %}

{% tab title="HPE/Aruba" %}

```
show interface 1/1/1
show vlan 900
```

**Resultados esperados:**

* Modo: access
* VLAN de acceso: 900
* MTU: 9216
  {% endtab %}
  {% endtabs %}

### Verificar la configuración de la red externa (LACP)

{% tabs %}
{% tab title="Cisco IOS/IOS-XE" %}

```
show etherchannel summary
show interfaces Port-channel1 trunk
```

**Resultados esperados:**

* Estado del port-channel: SU (en uso)
* Puertos miembros: (P) agrupados
* VLAN permitidas: 10,20
* VLAN nativa: 99
  {% endtab %}

{% tab title="Dell OS10" %}

```
show interface port-channel 1
show interface port-channel 1 switchport
show lacp interfaces
```

**Resultados esperados:**

* Estado del port-channel: activo
* Puertos miembros: activos
* VLAN permitidas: 10,20
* Modo LACP: active
  {% endtab %}

{% tab title="HPE/Aruba" %}

```
show lacp interfaces
show interface lag 1
show vlan trunk
```

**Resultados esperados:**

* Estado del LAG: activo
* Puertos miembros: activos
* VLAN permitidas: 10,20
* Modo LACP: active
  {% endtab %}
  {% endtabs %}

### Probar la conectividad después de conectar el nodo

{% tabs %}
{% tab title="Cisco IOS/IOS-XE" %}
**Verifica que los enlaces estén activos:**

```
show interfaces status
```

**Comprueba la negociación LACP:**

```
show lacp neighbor
```

{% endtab %}

{% tab title="Dell OS10" %}
**Verifica que los enlaces estén activos:**

```
show interface status
```

**Comprueba la negociación LACP:**

```
show lacp interfaces
```

{% endtab %}

{% tab title="HPE/Aruba" %}
**Verifica que los enlaces estén activos:**

```
show interface brief
```

**Comprueba la negociación LACP:**

```
show lacp interfaces
```

{% endtab %}
{% endtabs %}

**Prueba las tramas jumbo desde el nodo VergeOS:**

```bash
ping -M do -s 9188 <other-node-core-ip>
```

***

## Solución de problemas

| Problema                             | Causa                                             | Solución                                  |
| ------------------------------------ | ------------------------------------------------- | ----------------------------------------- |
| Sin enlace en los puertos del core   | Puerto deshabilitado                              | `no shutdown` comando                     |
| Rendimiento lento del almacenamiento | Tramas jumbo deshabilitadas                       | Configura MTU 9000                        |
| El nodo no puede unirse al clúster   | VLAN incorrecta                                   | Asigna el puerto a la VLAN 100            |
| LACP no se establece                 | Desajuste de modo                                 | Establece `modo active` en ambos extremos |
| Las VLAN no funcionan                | No está en la lista permitida                     | Añade las VLAN al trunk                   |
| Port-channel suspendido              | Incompatibilidad de configuración en los miembros | Asegura una configuración idéntica        |

**Obtén ayuda:**

* Revisa la documentación del fabricante del switch
* Contacta al soporte de VergeOS con `show running-config` y `show interfaces status` salida

***

## Resumen de configuración

### Puertos del Core Fabric

* **Modo:** Acceso (sin etiquetar)
* **VLAN:** Dedicada (p. ej., 900, 901)
* **MTU:** 9216 (tramas jumbo)
* **Velocidad:** Se recomiendan 10 Gbps o más

### Puertos de red externa

* **Modo:** Trunk (etiquetado 802.1Q)
* **VLAN:** Se permiten varias (p. ej., 10, 20, 30)
* **Enlace:** Modo activo de LACP (o activo-respaldo)

### Guardar configuración

```
copy running-config startup-config
```

***

## Próximos pasos

1. **Configurar enlaces de red de VergeOS** - Configura el enlace en el lado de VergeOS
2. **Crear redes de VergeOS** - Define las redes internas y externas
3. **Verificar conectividad** - Prueba el enrutamiento entre nodos y externo

### Recursos adicionales

* Resumen de la arquitectura de red de VergeOS
* Mejores prácticas de enlace de red
* Guías de configuración del fabricante del switch

**Soporte de VergeOS:** <support@verge.io> | <https://docs.verge.io>

***

*Última actualización: enero de 2025 | VergeOS v4.x | Aplica a: Cisco IOS/IOS-XE, Dell OS10, HPE/Aruba*


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.verge.io/plan-and-deploy/es/guia-de-implementacion/switch-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
