Configuring UDP helper to convert broadcast to unicast

Network requirements

As shown in Figure 54, configure UDP helper to convert broadcast to unicast on VLAN-interface 1 of Switch A. This feature enables Switch A to forward broadcast packets with UDP destination port number 55 to the destination server 10.2.1.1/16.

Figure 54: Network diagram

Configuration procedure

Make sure Switch A can reach the subnet 10.2.0.0/16.

# Enable UDP helper.

[SwitchA] System-view
[SwitchA] udp-helper enable

# Enable the UDP port 55 for UDP helper.

[SwitchA] udp-helper port 55

# Specify the destination server 10.2.1.1 for UDP helper to convert broadcast to unicast 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

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