Udp helper configuration example, Cross-network computer search through udp helper – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 672

Advertising
background image

68-3

To do…

Use the command…

Remarks

Clear statistics about packets forwarded
by UDP Helper

reset udp-helper packet

Available in user view

UDP Helper Configuration Example

Cross-Network Computer Search Through UDP Helper

Network requirements

As shown in

Figure 68-1

, PC A resides on network segment 192.168.1.0/24 and PC B on

192.168.10.0/24; they are connected through Switch A and are routable to each other. It is required to
configure UDP Helper on Switch A, so that PC A can find PC B through computer search. (Broadcasts
with UDP port 137 are used for searching.)

Figure 68-1

Network diagram for UDP Helper configuration

Configuration procedure

# Enable UDP Helper on Switch A.

<SwitchA> system-view

[SwitchA] udp-helper enable

# Configure Switch A to forward broadcasts containing the destination UDP port number 137. (By
default, the device enabled with UDP Helper forwards the broadcasts containing the destination UDP
port number 137.)

[SwitchA] udp-helper port 137

# Specify the destination server IP address on Vlan-interface 1.

[SwitchA] interface vlan-interface 1

[SwitchA-Vlan-interface1] udp-helper server 192.168.10.2

Advertising