Configuring UDP helper to convert broadcast to unicast

You can configure UDP helper to convert broadcast packets with specific UDP port numbers to unicast packets.

Upon receiving a UDP broadcast packet, UDP helper uses the configured UDP ports to match the UDP destination port number of the packet.

To configure UDP helper to convert broadcast to unicast:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable UDP helper.

udp-helper enable

By default, UDP helper is disabled.

3. Specify a UDP port number.

udp-helper port { port-number | dns | netbios-ds | netbios-ns | tacacs | tftp | time }

By default, no UDP port numbers are specified.

4. Enter interface view.

interface interface-type interface-number

N/A

5. Specify a destination server for UDP helper to convert broadcast to unicast.

udp-helper server ip-address [ global ]

By default, no destination server is specified.

If you specify multiple destination servers, UDP helper creates one copy for each server.

Use this command on the interface that receives broadcast packets.