No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - IP Service

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Overview of UDP Helper

Overview of UDP Helper

This section describes the background and functions of UDP Helper.


Hosts on a network may need to obtain the network configuration or resolve host names by sending UDP broadcast packets to the server. If the hosts and server are located in different broadcast domains, broadcast packets cannot reach the server and the hosts cannot obtain the required information from the server.

The router provides the UDP helper function to solve this problem. UDP helper can relay the UDP broadcast packets with specified destination ports. It converts the broadcast packets into unicast packets and sends the unicast packets to the specified destination servers.

As shown in Figure 6-1, HostA uses a host name to access HostB, and the NetBIOS Name Service (NetBIOS-NS) server resolves the host name of HostB. The NetBIOS-NS server and HostA are in different broadcast domains, so the UDP broadcast packet with destination port UDP 137 sent by HostA cannot reach the NetBIOS-NS server. After UDP helper is enabled on the Router, the Router can forward the packet with destination port UDP 137 to the NetBIOS-NS server through unicast so that the NetBIOS-NS server can resolve the host name of HostB.

Figure 6-1  UDP helper relays broadcast packets

Packets Forwarded by UDP Helper

The packets that can be forwarded by UDP helper must meet the following requirements:

  • The destination MAC address is the broadcast MAC address (ffff-ffff-ffff).
  • The destination IP address is the broadcast IP address ( or a subnet broadcast IP address (for example,
  • The Time-to-Live (TTL) is larger than 1.
  • The protocol type is UDP.
  • The destination port is a specified UDP port.

UDP Helper Ports

After UDP helper is enabled on the router, the router relays the UDP packets with six specified destination ports by default. Manual configuration is required if the router needs to relay the UDP packets with other destination ports. In addition to the 6 default ports, another 10 destination ports can be specified.

Table 6-1 lists the default UDP ports.
Table 6-1  Default UDP ports supported by UDP helper


UDP Port Number

Trivial File Transfer Protocol (TFTP)


Domain Name System (DNS)


Time Service


NetBIOS Name Service (NetBIOS-NS)


NetBIOS Datagram Service (NetBIOS-DS)


Terminal Access Controller Access Control System (TACACS)


UDP helper does not relay DHCP packets. That is, the destination port number cannot be 67 or 68. To relay DHCP packets, enable the DHCP relay function on the router. For details about DHCP relay, see Configuring a DHCP Relay Agent.
Updated: 2019-03-06

Document ID: EDOC1100069333

Views: 35550

Downloads: 178

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next