Figure 9-1 Network diagram for configuring UDP helper
Router
NETBIOS-NS
Name Server
10.2.1.1/16
Internet
PC1 PC2
VLANIF100
10.110.1.1/16
Ethernet0/0/0
Configuration Roadmap
The configuration roadmap is as follows:
1. Enable UDP helper on the Router.
2. Create a VLAN and a VLANIF interface, configure an IP address for the VLANIF interface,
and configure the destination server to which UDP packets will be relayed on the VLANIF
interface.
NOTE
After UDP helper is enabled on the Router, the Router forwards broadcast packets with destination UDP port
137 by default. The UDP port number, therefore, does not need to be configured here.
Data Preparation
To complete the configuration, you need the following data:
l VLANIF interface from which UDP packets will be relayed
l IP address of the destination server
Procedure
Step 1 Enable UDP helper.
<Huawei> system-view
[Huawei] sysname Router
[Router] udp-helper enable
Step 2 Add Ethernet0/0/0 to VLAN 100.
[Router] vlan 100
[Router-Vlan100] quit
[Router] interface ethernet 0/0/0
[Router-Ethernet0/0/0] port hybrid pvid vlan 100
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.
208