136
Task Command
Clear packet statistics for UDP helper.
reset udp-helper statistics
UDP helper configuration examples
Example: Configuring UDP helper to convert broadcast to
unicast
Network configuration
As shown in Figure 51, 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 51 Network diagram
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