- Table of Contents
-
- H3C WX6103 Access Controller Switch Interface Board Configuration Guide-6W102
- 00-Preface
- 01-Login Configuration
- 02-VLAN Configuration
- 03-IP Addressing and IP Performance Configuration
- 04-QinQ-BPDU Tunneling Configuration
- 05-Port Correlation Configuration
- 06-Link Aggregation Configuration
- 07-MAC Address Table Management Configuration
- 08-Port Security Configuration
- 09-MSTP Configuration
- 10-IP Routing-GR Overview Configuration
- 11-IPv4 Routing Configuration
- 12-IP Source Guard Configuration
- 13-DLDP Configuration
- 14-Multicast Configuration
- 15-LLDP Configuration
- 16-sFlow Configuration
- 17-ARP Configuration
- 18-DHCP Configuration
- 19-ACL Configuration
- 20-QoS Configuration
- 21-Port Mirroring Configuration
- 22-UDP Helper Configuration
- 23-SNMP-RMON Configuration
- 24-NTP Configuration
- 25-DNS Configuration
- 26-File System Management Configuration
- 27-Information Center Configuration
- 28-System Maintaining and Debugging Configuration
- 29-NQA Configuration
- 30-SSH Configuration
- 31-SSL-HTTPS Configuration
- 32-PKI Configuration
- 33-Track Configuration
- 34-Acronyms
- 35-Index
- Related Documents
-
Title | Size | Download |
---|---|---|
22-UDP Helper Configuration | 54.83 KB |
The term switch in this document refers to a switch in a generic sense or an access controller configured with the switching function unless otherwise specified.
When configuring UDP Helper, go to these sections for information you are interested in:
l Displaying and Maintaining UDP Helper
l UDP Helper Configuration Example
Introduction to UDP Helper
Sometimes, a host needs to forward broadcasts to obtain network configuration information or request the names of other devices on the network. However, if the server or the device to be requested is located in another broadcast domain, the host cannot obtain such information through broadcast.
To solve this problem, the device provides the UDP Helper function to relay specified UDP packets. In other words, UDP Helper functions as a relay agent that converts UDP broadcast packets into unicast packets and forwards them to a specified destination server.
With UDP Helper enabled, the device decides whether to forward a received UDP broadcast packet according to the UDP destination port number of the packet.
l If the destination port number of the packet matches the one pre-configured on the device, the device modifies the destination IP address in the IP header, and then sends the packet to the specified destination server.
l If not, the device sends the packet to the upper layer protocol for processing.
Configuring UDP Helper
Follow these steps to configure UDP Helper:
To do… |
Use the command… |
Remarks |
Enter system view |
system-view |
— |
Enable UDP Helper |
udp-helper enable |
Required Disabled by default. |
Enable the forwarding of packets with the specified UDP destination port number(s) |
udp-helper port { port-number | dns | netbios-ds | netbios-ns | tacacs | tftp | time } |
Required By default, no UDP port number is specified. |
Enter VLAN interface view |
interface Vlan-interface vlan-id |
— |
Specify the destination server to which UDP packets are to be forwarded |
udp-helper server ip-address |
Required No destination server is specified by default. |
l The UDP Helper enabled device cannot forward DHCP broadcast packets. That is to say, the UDP port number cannot be set to 67 or 68.
l For the dns, netbios-ds, netbios-ns, tacacs, tftp, and time keywords, you can specify port numbers or the corresponding parameters. For example, udp-helper port 53 and udp-helper port dns specify the same UDP port number.
l The configuration of all UDP ports is removed if you disable UDP Helper.
l You can configure up to 20 destination servers on a VLAN interface.
Displaying and Maintaining UDP Helper
To do… |
Use the command… |
Remarks |
Displays the information of forwarded UDP packets |
display udp-helper server [ interface vlan-interface vlan-id ] |
Available in any view |
Clear statistics about packets forwarded |
reset udp-helper packet |
Available in user view |
UDP Helper Configuration Example
Network requirements
The interface VLAN-interface 1 of AC has the IP address of 10.110.1.1/16, connecting to the network segment 10.110.0.0/16. Enable the forwarding of broadcast packets with the UDP destination port number 55 to the destination server 10.2.1.1/16.
Network diagram
Figure 1-1 Network diagram for UDP Helper configuration
Configuration procedure
The following configuration assumes that a route from AC to the network segment 10.2.0.0/16 is available.
# Enable UDP Helper.
<AC> system-view
[AC] udp-helper enable
# Enable the forwarding broadcast packets with the UDP destination port number 55.
[AC] udp-helper port 55
# Specify the server with the IP address of 10.2.1.1 as the destination server to which UDP packets are to be forwarded.
[AC] interface vlan-interface 1
[AC-Vlan-interface1] ip address 10.110.1.1 16