Configuring udp helper, Overview, Configuration guidelines – H3C Technologies H3C S12500-X Series Switches User Manual
Page 116: Configuration procedure
105
Configuring UDP helper
Overview
UDP helper enables a device to convert received UDP broadcast packets into unicast packets and
forward them to a specific server. UDP helper is suitable for the scenario where hosts cannot obtain
configuration information or device names by broadcasting packets because the target server or host
resides on another broadcast domain.
Upon receiving a UDP broadcast packet (the destination address is 255.255.255.255 or a directed
broadcast address destined for the network directly connected to the receiving interface), UDP helper
matches the UDP destination port number of the packet against the configured UDP ports.
•
If a match is found, UDP helper modifies the destination IP address of the packet and sends the
packet to the specified destination server.
•
If no match is found, UDP helper sends the packet to the upper layer protocol.
Configuration guidelines
Follow these guidelines when you configure UDP helper:
•
By default, an interface does not receive directed broadcasts destined for the directly connected
network. To use UDP helper, execute the ip forward-broadcast command in interface view. For
more information about receiving directed broadcasts destined for the directly connected network,
see "
•
Do not set UDP ports 67 and 68 for UDP helper because UDP helper cannot forward DHCP
broadcast packets.
•
You can specify up to 256 UDP ports for UDP helper.
•
Specify destination servers on the interface that receives broadcast packets. You can specify up to
20 destination servers on an interface.
Configuration procedure
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.
udp-helper port { port-number | dns |
netbios-ds | netbios-ns | tacacs | tftp |
time }
By default, no UDP port is
specified.
4.
Enter interface view.
interface interface-type interface-number N/A
5.
Specify a destination
server.
udp-helper server ip-address
By default, no destination server
is specified.