Displaying and maintaining udp helper, Udp helper configuration example, Network requirements – H3C Technologies H3C S12500-X Series Switches User Manual
Page 117: Configuration procedure, Enabling dhcp starvation attack protection

106
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
UDP helper configuration example
Network requirements
As shown in
, 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 43 Network diagram
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
# Enable the interface to receive directed broadcasts destined for the directly connected network.
[SwitchA-Vlan-interface1] ip forward-broadcast