Dns proxy, Displaying and maintaining udp helper, Udp helper configuration example – H3C Technologies H3C S12500 Series Switches User Manual

Page 114: Network requirements, Configuration procedure

Advertising
background image

101

113B

Displaying and maintaining UDP helper

Execute display command in any view and reset command in user view.

Task Command

Display information about packets forwarded
by UDP helper.

display udp-helper interface interface-type interface-number

Clear UDP helper statistics.

reset udp-helper statistics

114B

UDP helper configuration example

By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring
the interface up by executing the undo shutdown command.

248B

Network requirements

As shown in

749H

Figure 40

, configure UDP helper to forward broadcast packets with UDP destination port

number 55 and destination IP address 255.255.255.255 or 10.110.255.255 to the destination server

10.2.1.1/16.

Figure 40 Network diagram

249B

Configuration procedure

Make sure Switch A can reach the subnet 10.2.0.0/16.
# Enable UDP helper.

[SwitchA] System-view

[SwitchA] udp-helper enable

# Enable UDP helper to forward broadcast packets with the UDP destination port 55.

[SwitchA] udp-helper port 55

# Specify the destination server 10.2.1.1 on VLAN-interface 1.

[SwitchA] interface vlan-interface 1

[SwitchA-Vlan-interface1] ip address 10.110.1.1 16

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

Advertising