R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)

242
Displaying and maintaining UDP helper
Task Command Remarks
Displays information about packets
forwarded by UDP helper.
display udp-helper server [ interface
interface-type interface-number ] [ | { begin
| exclude | include } regular-expression ]
Available in any view.
Clear UDP helper statistics. reset udp-helper packet Available in user view.
UDP helper configuration examples
Broadcast UDP helper configuration example
Network requirements
As shown in Figure 92, the IP address of Ethernet 1/1 of Router A is 10.110.1.1/16, and the interface
connects to the subnet 10.110.0.0/16.
Configure UDP helper on Router A 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 92 Network diagram
Configuration procedure
Make sure Router A can reach the subnet 10.2.0.0/16.
# Enable UDP helper.
<RouterA> system-view
[RouterA] udp-helper enable
# Enable UDP helper to forward broadcast packets with the UDP destination port 55.
[RouterA] udp-helper port 55
# Specify the destination server 10.2.1.1 on Ethernet 1/1.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ip address 10.110.1.1 16
[RouterA-Ethernet1/1] udp-helper server 10.2.1.1