R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)
190
<RouterA> system-view
[RouterA] udp-helper enable
# Enable UDP helper to forward broadcast packets with the UDP destination port 55.
[RouterA] udp-helper port 55
# Associate interface GigabitEthernet 2/1/2 with VPN instance a.
[RouterA] interface gigabitethernet 2/1/2
[RouterA-GigabitEthernet2/1/2] ip binding vpn-instance a
[RouterA-GigabitEthernet2/1/2] quit
# Specify the destination server 10.2.1.1 in VPN instance a on the interface GigabitEthernet 2/1/1.
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ip address 10.110.1.1 16
[RouterA-GigabitEthernet2/1/1] udp-helper server 10.2.1.1 vpn-instance a
Verifying the configuration
# Display information about broadcast to unicast conversion by UDP helper on GigabitEthernet 2/1/1.
[RouterA-GigabitEthernet2/1/1] display udp-helper interface gigabitethernet 2/1/1
Interface Server VPN instance Server address Packets sent
GigabitEthernet2/1/1 a 10.2.1.1 5
Configuring UDP helper to convert broadcast to multicast
Network requirements
As shown in Figure 71, Router B can receive multicast packets destined for 225.1.1.1.
Configure UDP helper to convert broadcast to multicast on GigabitEthernet 2/1/1 of Router A. This
feature enables Router A to forward broadcast packets with UDP destination port number 55 to the
m u l t i c a s t g r o u p 2 2 5 .1.1.1.
Figure 71 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 UDP helper to forward broadcast packets with the UDP destination port 55.
[RouterA] udp-helper port 55