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).
Example for Configuring UDP Helper

Example for Configuring UDP Helper

Networking Requirements

As shown in Figure 6-2, Router connects to a local area network (LAN) through GE1/0/0. The IP address of GE1/0/0 is NetBIOS-NS is connected to GE2/0/0 on Router. The IP address of the NetBIOS-NS server is and the IP address of GE2/0/0 is PC1 and PC2 on the LAN need to access each other using host names.

Figure 6-2  UDP helper network

Configuration Roadmap

  1. Because the PCs on the LAN need to access each other using host names, the host names must be resolved into IP addresses. However, the NetBIOS-NS and PCs are in different broadcast domains. The NetBIOS-NS Register packets cannot reach the NetBIOS-NS server. The Router must be enabled with UDP helper to forward the UDP packets with destination port 137 (NetBIOS-NS port) to the NetBIOS-NS server.
  2. After UDP helper is enabled, specify the IP address of destination NetBIOS-NS server on GE1/0/0 of Router.

After UDP helper is enabled on the Router, the Router relays the broadcast packets with UDP destination port 137 by default. The UDP port number, therefore, does not need to be configured in this example.


  1. Assign an IP address to GE1/0/0 on Router.

    <Huawei> system-view
    [Huawei] sysname Router
    [Router] interface gigabitethernet 1/0/0
    [Router-GigabitEthernet1/0/0] ip address 16
    [Router-GigabitEthernet1/0/0] quit

  2. Assign an IP address to GE2/0/0 on Router.

    [Router] interface gigabitethernet 2/0/0
    [Router-GigabitEthernet2/0/0] ip address 16
    [Router-GigabitEthernet2/0/0] quit

  3. Enable UDP helper.

    [Router] udp-helper enable

  4. Configure a destination server for packet relay on GE1/0/0 of Router.

    [Router] interface gigabitethernet 1/0/0
    [Router-GigabitEthernet1/0/0] udp-helper server
    [Router-GigabitEthernet1/0/0] quit
    [Router] quit

  5. Verify the configuration.

    # Run the display udp-helper server command to check UDP Helper statistics.
    <Router> display udp-helper server
    Server-interface                  Server-Ip                   packet-num        
    GigabitEthernet1/0/0                              201        
    # Run the display udp-helper port command to check the configured destination port number of UDP packets to be forwarded using the UDP Helper.
    <Router> display udp-helper port
    Udp-Port-Number       Description                                               
          37              Time                                                      
          49              TAC Access Control System                                 
          53              Domain Name Server                                        
          69              Trivial File Transfer Protocol                            
         137              NETBIOS Name Service                                      
         138              NETBIOS Datagram Service            

Configuration Files

Configuration file of the Router

 sysname Router
 udp-helper enable
interface GigabitEthernet1/0/0
 ip address                                       
 udp-helper server 
interface GigabitEthernet2/0/0
 ip address
Updated: 2019-03-06

Document ID: EDOC1100069333

Views: 33330

Downloads: 167

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