Qué vas a conseguir
Saber por qué un televisor de habitación no tiene canales, o los pierde, sin llamar al proveedor de IPTV para cada queja. En un hotel la televisión es una red: casi todas las averías se encuentran en el switch de planta, no en el televisor.
Antes de empezar
- El esquema de la instalación del proveedor de IPTV: dónde está la cabecera, qué fuentes recibe (satélite, TDT, canales por internet) y en qué grupos multicast emite cada canal.
- Acceso de lectura a los switches del core y de planta (guía de Cisco del Nivel 4).
- La VLAN de IPTV (en este ejemplo, la 50) y qué puertos de cada planta son de televisores.
- El mando de instalador o el acceso al servidor de gestión de los televisores, que suelen estar en modo hotel: el huésped no puede tocar la configuración.
1. Cómo llega un canal a la habitación
- La cabecera recibe cada canal y lo emite a la red como un flujo multicast: un grupo por canal (por ejemplo,
239.10.0.1el canal 1,239.10.0.2el 2). - Cuando el huésped elige un canal, el televisor envía un mensaje IGMP Join a ese grupo: "quiero recibir 239.10.0.2".
- El switch de planta, con IGMP snooping, apunta que ese puerto quiere ese grupo y le envía solo ese flujo.
- Al cambiar de canal, el televisor envía un Leave del anterior y un Join del nuevo.
- Un querier (normalmente en el core) pregunta cada cierto tiempo quién sigue queriendo cada grupo. Los televisores contestan, y así el switch sabe que tiene que seguir enviando.
Sin multicast, cada televisor recibiría su propia copia de cada canal; con multicast, cada flujo viaja una vez por enlace.
2. La configuración que evita la mitad de las averías
configure terminalip igmp snoopingip igmp snooping vlan 50ip igmp snooping querierendshow ip igmp snooping querierVlan IP Address IGMP Version Port-------------------------------------------------------------50 10.40.50.1 v2 Switchconfigure terminalip igmp snooping vlan 50interface range GigabitEthernet1/0/1 - 24 description TV HABITACIONES P2 switchport mode access switchport access vlan 50endshow ip igmp snooping groups vlan 50Vlan Group Type Version Port List-----------------------------------------------------------------------50 239.10.0.2 igmp v2 Gi1/0/1450 239.10.0.7 igmp v2 Gi1/0/3, Gi1/0/9- IGMP snooping activo en todos los switches que tocan la VLAN 50. Sin él, cada canal que alguien ve en el hotel llega a todos los puertos de la VLAN.
- Un solo querier, en el core o cerca de la cabecera. Sin querier, el switch deja de enviar el canal cuando caduca la pertenencia al grupo (unos minutos) aunque el huésped siga viéndolo.
- En los puertos de televisor se puede activar la salida inmediata (fast leave o *immediate-leave*, según el modelo de switch): el cambio de canal es más rápido. Nunca en los enlaces entre switches.
- La tabla de grupos dice qué canal está viendo cada puerto en este momento: en la 2.14 (
Gi1/0/14), el canal 2.
3. Dónde mirar según el síntoma
| Síntoma | Dónde está casi siempre | Qué miras |
|---|---|---|
| Una habitación sin ningún canal | Cable, roseta, puerto o configuración del televisor | Estado del puerto y su VLAN; que el televisor tiene IP de la VLAN 50 |
| Todas las habitaciones sin un canal concreto | Cabecera o fuente (antena, satélite, proveedor) | Proveedor de IPTV con el número de canal y el grupo |
| Los canales se cortan a los pocos minutos y vuelven al cambiar de canal | Falta el querier o hay dos | show ip igmp snooping querier en cada switch |
| Al encender televisores, la red de la planta va lenta | IGMP snooping desactivado: el multicast inunda la VLAN | show ip igmp snooping en el switch de planta |
| Imagen pixelada en toda una planta | Enlace de subida saturado o con errores | Contadores de errores y uso del uplink |
| Televisores por WiFi que se cortan | El multicast por WiFi va a la velocidad mínima | Conversión de multicast a unicast en la controladora WiFi, o mejor cable |
4. El ticket: "la habitación 2.14 no tiene canales"
show interfaces Gi1/0/14 statusshow mac address-table interface Gi1/0/14show ip igmp snooping groups vlan 50 | include Gi1/0/14Port Name Status Vlan Duplex Speed TypeGi1/0/14 TV HABITACIONES P2 connected 20 a-full a-100 10/100/1000BaseTXVlan Mac Address Type Ports---- ----------- -------- ----- 20 00a1.b2c3.d4e5 DYNAMIC Gi1/0/14El puerto está conectado pero en la VLAN 20, no en la 50, y no aparece en ningún grupo: el televisor nunca llega a la cabecera. Alguien reutilizó el puerto para un portátil durante la obra y no lo devolvió a su VLAN. Se corrige (switchport access vlan 50 en Gi1/0/14), se reinicia el televisor y en la tabla de grupos aparece el canal que esté pidiendo.
Si el puerto ya estaba en la 50 y el televisor no aparece en la tabla de grupos, el siguiente sospechoso es el propio televisor: que esté en modo hotel con el perfil de canales del hotel (normalmente se clona desde el servidor de gestión o con un USB del proveedor).
5. El ticket: "los canales se cortan cada pocos minutos"
Pasa en todas las plantas, y vuelve al cambiar de canal. En el core:
show ip igmp snooping querierVlan IP Address IGMP Version Port-------------------------------------------------------------No hay querier: tras un cambio en el core alguien quitó ip igmp snooping querier o la VLAN 50 perdió su dirección. Sin consultas, los switches dan por caducada la pertenencia de cada televisor al cabo de unos minutos y cortan el flujo. Se vuelve a configurar el querier en un solo switch y se comprueba que los demás lo ven en su salida de show ip igmp snooping querier.
6. Lo que revisas cada mes
- Un querier por VLAN de IPTV, el mismo de siempre, visto desde todos los switches.
- Los puertos de televisores en su VLAN y con su descripción (los cambiados durante obras o mantenimiento son los que fallan).
- El uso de los enlaces de subida de cada planta en horas punta (por la noche, con los huéspedes en las habitaciones).
- Las quejas de televisión por habitación: tres en la misma planta apuntan al switch, no a tres televisores.
Siguientes pasos
- La guía de Cisco del Nivel 4 cubre la lectura de puertos, VLAN y troncales que se usan aquí.
- La de PMS hotelero explica la interfaz que pone el nombre del huésped en la pantalla de bienvenida.
- La de hotel en pre-apertura sitúa la VLAN de IPTV en la red completa del hotel.
¿Falta algo o en tu entorno es distinto? Escríbeme y lo corrijo.
What you'll get
Knowing why an in-room TV has no channels, or loses them, without calling the IPTV vendor for every complaint. In a hotel, television is a network: almost every fault is found in the floor switch, not in the TV.
Before you start
- The IPTV vendor's installation diagram: where the headend is, which sources it receives (satellite, terrestrial, internet channels) and which multicast group each channel is sent on.
- Read access to the core and floor switches (Level 4 Cisco guide).
- The IPTV VLAN (50 in this example) and which ports on each floor are TVs.
- The installer remote or access to the TVs' management server; the TVs usually run in hotel mode: guests can't change the settings.
1. How a channel gets to the room
- The headend receives each channel and sends it onto the network as a multicast stream: one group per channel (for example
239.10.0.1for channel 1,239.10.0.2for 2). - When the guest picks a channel, the TV sends an IGMP Join to that group: "I want to receive 239.10.0.2".
- The floor switch, with IGMP snooping, notes that the port wants that group and sends it only that stream.
- On a channel change, the TV sends a Leave for the old one and a Join for the new one.
- A querier (usually on the core) asks every so often who still wants each group. The TVs answer, so the switch knows to keep sending.
Without multicast, every TV would get its own copy of every channel; with multicast, each stream crosses each link once.
2. The configuration that prevents half the faults
configure terminalip igmp snoopingip igmp snooping vlan 50ip igmp snooping querierendshow ip igmp snooping querierVlan IP Address IGMP Version Port-------------------------------------------------------------50 10.40.50.1 v2 Switchconfigure terminalip igmp snooping vlan 50interface range GigabitEthernet1/0/1 - 24 description TV ROOMS F2 switchport mode access switchport access vlan 50endshow ip igmp snooping groups vlan 50Vlan Group Type Version Port List-----------------------------------------------------------------------50 239.10.0.2 igmp v2 Gi1/0/1450 239.10.0.7 igmp v2 Gi1/0/3, Gi1/0/9- IGMP snooping on in every switch that carries VLAN 50. Without it, every channel anyone in the hotel watches reaches every port on the VLAN.
- A single querier, on the core or near the headend. Without a querier, the switch stops sending the channel when group membership expires (a few minutes) even though the guest is still watching.
- On TV ports you can enable immediate leave (fast leave or *immediate-leave*, depending on the switch model): channel changes are quicker. Never on links between switches.
- The group table tells you which channel each port is watching right now: room 2.14 (
Gi1/0/14) is on channel 2.
3. Where to look by symptom
| Symptom | Where it almost always is | What you check |
|---|---|---|
| One room with no channels at all | Cable, wall socket, port or TV configuration | Port status and VLAN; that the TV has an address on VLAN 50 |
| Every room missing one specific channel | Headend or source (aerial, satellite, provider) | IPTV vendor with the channel number and group |
| Channels cut out after a few minutes and come back on a channel change | No querier, or two of them | show ip igmp snooping querier on each switch |
| When TVs are switched on, the floor's network slows down | IGMP snooping off: multicast floods the VLAN | show ip igmp snooping on the floor switch |
| Pixelated picture across a whole floor | Uplink saturated or with errors | Error counters and uplink usage |
| TVs on WiFi that keep dropping | Multicast over WiFi runs at the lowest rate | Multicast-to-unicast conversion on the WiFi controller, or better, a cable |
4. The ticket: "room 2.14 has no channels"
show interfaces Gi1/0/14 statusshow mac address-table interface Gi1/0/14show ip igmp snooping groups vlan 50 | include Gi1/0/14Port Name Status Vlan Duplex Speed TypeGi1/0/14 TV ROOMS F2 connected 20 a-full a-100 10/100/1000BaseTXVlan Mac Address Type Ports---- ----------- -------- ----- 20 00a1.b2c3.d4e5 DYNAMIC Gi1/0/14The port is connected but on VLAN 20, not 50, and it isn't in any group: the TV never reaches the headend. Someone reused the port for a laptop during the works and never put it back on its VLAN. Fix it (switchport access vlan 50 on Gi1/0/14), restart the TV, and the channel it requests shows up in the group table.
If the port was already on 50 and the TV doesn't appear in the group table, the next suspect is the TV itself: that it is in hotel mode with the hotel's channel profile (usually cloned from the management server or with a USB stick from the vendor).
5. The ticket: "channels cut out every few minutes"
It happens on every floor, and comes back on a channel change. On the core:
show ip igmp snooping querierVlan IP Address IGMP Version Port-------------------------------------------------------------No querier: after a change on the core, someone removed ip igmp snooping querier or VLAN 50 lost its address. With no queries, the switches expire each TV's membership after a few minutes and cut the stream. Configure the querier again on a single switch and check the others see it in their show ip igmp snooping querier output.
6. What you review each month
- One querier per IPTV VLAN, the usual one, seen from every switch.
- TV ports on their VLAN and with their description (the ones changed during works or maintenance are the ones that fail).
- Each floor's uplink usage at peak time (in the evening, with guests in their rooms).
- TV complaints per room: three on the same floor point to the switch, not to three TVs.
Next steps
- The Level 4 Cisco guide covers reading the ports, VLANs and trunks used here.
- The hotel PMS guide explains the interface that puts the guest's name on the welcome screen.
- The hotel pre-opening guide places the IPTV VLAN in the hotel's whole network.
Is something missing, or different in your environment? Get in touch and I'll fix it.
Tech Career Lab · newsletter
¿Te ha servido? Cada dos semanas envío una idea práctica para perfiles IT: LinkedIn, proyectos, networking y procesos de selección.Found this useful? Every two weeks I send one practical idea for IT professionals: LinkedIn, projects, networking and hiring processes.
Apúntate y llévate las 33 ideasSign up and get the 33 ideas →