GuíasGuides · Sector 1Sector 1

IPTV en hotel: diagnóstico de canales, la red multicast y los televisores de habitaciónHotel IPTV: troubleshooting channels, the multicast network and in-room TVs

Cómo llega un canal desde la cabecera hasta la habitación, la configuración de IGMP snooping y del querier que evita la mitad de las averías, la tabla de síntomas para saber dónde mirar, y el diagnóstico de una habitación sin canales y de canales que se cortan cada pocos minutos.How a channel gets from the headend to the room, the IGMP snooping and querier setup that prevents half the faults, the symptom table that tells you where to look, and troubleshooting a room with no channels and channels that cut out every few minutes.

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

  1. La cabecera recibe cada canal y lo emite a la red como un flujo multicast: un grupo por canal (por ejemplo, 239.10.0.1 el canal 1, 239.10.0.2 el 2).
  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".
  3. El switch de planta, con IGMP snooping, apunta que ese puerto quiere ese grupo y le envía solo ese flujo.
  4. Al cambiar de canal, el televisor envía un Leave del anterior y un Join del nuevo.
  5. 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

CORE-01 · la VLAN de IPTV
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             Switch
SW-P2-01 · switch de planta
configure 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íntomaDónde está casi siempreQué miras
Una habitación sin ningún canalCable, roseta, puerto o configuración del televisorEstado del puerto y su VLAN; que el televisor tiene IP de la VLAN 50
Todas las habitaciones sin un canal concretoCabecera 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 canalFalta el querier o hay dosshow ip igmp snooping querier en cada switch
Al encender televisores, la red de la planta va lentaIGMP snooping desactivado: el multicast inunda la VLANshow ip igmp snooping en el switch de planta
Imagen pixelada en toda una plantaEnlace de subida saturado o con erroresContadores de errores y uso del uplink
Televisores por WiFi que se cortanEl multicast por WiFi va a la velocidad mínimaConversión de multicast a unicast en la controladora WiFi, o mejor cable

4. El ticket: "la habitación 2.14 no tiene canales"

SW-P2-01 · diagnóstico
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/14

El 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:

CORE-01
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

  1. The headend receives each channel and sends it onto the network as a multicast stream: one group per channel (for example 239.10.0.1 for channel 1, 239.10.0.2 for 2).
  2. When the guest picks a channel, the TV sends an IGMP Join to that group: "I want to receive 239.10.0.2".
  3. The floor switch, with IGMP snooping, notes that the port wants that group and sends it only that stream.
  4. On a channel change, the TV sends a Leave for the old one and a Join for the new one.
  5. 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

CORE-01 · the IPTV VLAN
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             Switch
SW-F2-01 · floor switch
configure 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

SymptomWhere it almost always isWhat you check
One room with no channels at allCable, wall socket, port or TV configurationPort status and VLAN; that the TV has an address on VLAN 50
Every room missing one specific channelHeadend 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 changeNo querier, or two of themshow ip igmp snooping querier on each switch
When TVs are switched on, the floor's network slows downIGMP snooping off: multicast floods the VLANshow ip igmp snooping on the floor switch
Pixelated picture across a whole floorUplink saturated or with errorsError counters and uplink usage
TVs on WiFi that keep droppingMulticast over WiFi runs at the lowest rateMulticast-to-unicast conversion on the WiFi controller, or better, a cable

4. The ticket: "room 2.14 has no channels"

SW-F2-01 · diagnosis
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/14

The 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:

CORE-01
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 →