221
UDP helper configuration examples
Configuring UDP helper to convert broadcast to unicast
Network requirements
As shown in Figure 80, configure UDP helper to convert broadcast to unicast on GigabitEthernet
1/0/1 of Router A. This feature enables Router A to forward broadcast packets with UDP destination
port 55 to the destination server 10.2.1.1/16.
Figure 80 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
# Specify the UDP port 55 for UDP helper.
[RouterA] udp-helper port 55
# Specify the destination server 10.2.1.1 for UDP helper to convert broadcast to unicast on
GigabitEthernet 1/0/1.
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] ip address 10.110.1.1 16
[RouterA-GigabitEthernet1/0/1] udp-helper server 10.2.1.1
Verifying the configuration
# Display information about broadcast to unicast conversion by UDP helper on GigabitEthernet
1/0/1.
[RouterA-GigabitEthernet1/0/1] display udp-helper interface gigabitethernet 1/0/1
Interface Server VPN instance Server address Packets sent
GigabitEthernet1/0/1 N/A 10.2.1.1 5
Configuring UDP helper to convert broadcast to multicast
Network requirements
As shown in Figure 81, Router B can receive multicast packets destined for 225.1.1.1.
Configure UDP helper to convert broadcast to multicast on GigabitEthernet 1/0/1 of Router A. This
feature enables Router A to forward broadcast packets with UDP destination port number 55 to the
multicast group 225.1.1.1.