Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-type interface-number
The interface view is displayed.
The interface must be a VLANIF interface.
Step 3 Run:
udp-helper server ip-address
A destination server is configured.
After UDP helper is enabled, the interface forwards a received packet to the specified destination
server if the destination UDP port of the packet received by an interface is the same as the
specified UDP port.
----End
9.3.5 Checking the Configuration
Procedure
l Run the display udp-helper server command to check the numbers of the interfaces that
have relayed UDP packets, IP addresses of destination servers, and the number of forwarded
UDP packets.
l Run the display udp-helper port command to check the UDP port numbers of the packets
that need to be relayed.
----End
Example
# Run the display udp-helper server command to view UDP helper information.
<Huawei> display udp-helper server
Server-interface Server-Ip packet-num
------------------------------------------------------------------------
Vlanif20 1.1.1.2 0
Ethernet1/0/0.1 192.168.1.200 0
# Run the display udp-helper port command to view the UDP port numbers of the packets that
need to be relayed.
<Huawei> display udp-helper port
Udp-Port-Number Description
-------------------------------------------------------------
1 TCP Port Service Multiplexer
37 Time
49 Login Host Protocol
53 Domain Name Server
69 Trivial File Transfer
137 NETBIOS Name Service
138 NETBIOS Datagram Service
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service 9 UDP Helper Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
206