Verifying the configuration, Network requirements, Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual
Page 151

136
[SwitchA] System-view
[SwitchA] udp-helper enable
# Enable UDP helper to forward broadcast packets with the UDP destination port 55.
[SwitchA] udp-helper port 55
# Specify the destination server 10.2.1.1 on VLAN-interface 1.
[SwitchA] interface vlan-interface 1
[SwitchA-Vlan-interface1] ip address 10.110.1.1 16
[SwitchA-Vlan-interface1] udp-helper server 10.2.1.1 vpn-instance a
Verifying the configuration
# Display information about broadcast to unicast conversion by UDP helper on VLAN-interface 1.
[SwitchA-Vlan-interface1] display udp-helper interface vlan-interface 1
Interface Server VPN instance Server address Packets sent
Vlan-interface1 N/A 10.2.1.1 5
Configuring UDP helper to convert broadcast to multicast
Network requirements
As shown in
, VLAN-interface 1 of Switch B can receive multicast packets destined to 225.1.1.1.
Configure UDP helper to convert broadcast to multicast on VLAN-interface 1 of Switch A. This feature
enables Switch A to forward broadcast packets with UDP destination port number 55 to the multicast
group 225.1.1.1.
Figure 53 Network diagram
Configuration procedure
Make sure Switch A can reach the subnet 10.2.0.0/16.
# Enable UDP helper.
[SwitchA] udp-helper enable
# Enable UDP helper to forward broadcast packets with the UDP destination port 55.
[SwitchA] udp-helper port 55
# Configure UDP helper to convert broadcast packets to multicast packets destined for 225.1.1.1.
[SwitchA] interface vlan-interface 1
[SwitchA-Vlan-interface1] ip address 10.110.1.1 16
[SwitchA-Vlan-interface1] udp-helper broadcast-map 225.1.1.1