Displaying and maintaining UDP helper
Execute display command in any view and reset command in user view.
Task
Display information about packets forwarded
by UDP helper.
Clear UDP helper statistics.
UDP helper configuration example
Network requirements
As shown in
destination port 55 and destination IP address 255.255.255.255 or 10.1 10.255.255 to the destination
server 10.2.1.1/16.
Figure 66 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 the interface 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
Figure
66, configure UDP helper on Router A to forward broadcast packets with UDP
Command
display udp-helper interface interface-type interface-number
reset udp-helper statistics
172