Configuring UDP helper to convert multicast to broadcast
Network requirements
As shown in Figure 76, GigabitEthernet 1/0/1 of Router B is a member of the multicast group 225.1.1.1.
Configure UDP helper to convert multicast to broadcast on GigabitEthernet 1/0/1 of Router A. This feature enables Router A to forward multicast packets from Router B to all hosts on 10.110.0.0/16. The multicast packets have the following details:
UDP destination port number 55.
Destination IP address 225.1.1.1.
Figure 76: Network diagram
Configuration procedure
Make sure Router A can reach the subnet 10.2.0.0/16.
# Enable UDP helper.
<RouterA> system-view [RouterA] udp-helper enable
# Enable the UDP port 55 for UDP helper.
[RouterA] udp-helper port 55
# Configure UDP helper to convert multicast packets destined for 225.1.1.1 to broadcast packets destined for 10.110.255.255.
[RouterA] interface gigabitethernet 1/0/1 [RouterA-GigabitEthernet1/0/1] udp-helper multicast-map 225.1.1.1 10.110.255.255
Verifying the configuration
Verify that you can capture broadcast packets on all hosts on the network segment 10.110.0.0/16. The broadcast packets are from Router A.