H3C S5500-SI Series Ethernet Switches Operation Manual(V1.01)

HomeSupportSwitchesH3C S5500 Switch SeriesConfigure & DeployConfiguration GuidesH3C S5500-SI Series Ethernet Switches Operation Manual(V1.01)
22-UDP Helper Configuration
Title Size Download
22-UDP Helper Configuration 61 KB

Chapter 1  UDP Helper Configuration

When configuring UDP Helper, go to these sections for information you are interested in:

l           Introduction to UDP Helper

l           Configuring UDP Helper

l           Displaying and Maintaining UDP Helper

l           UDP Helper Configuration Example

1.1  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.

1.2  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.

 

  Caution:

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.

 

1.3  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

 

1.4  UDP Helper Configuration Example

I. Network requirements

The interface VLAN-interface 1 of Switch A 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.

II. Network diagram

Figure 1-1 Network diagram for UDP Helper configuration

III. Configuration procedure

 

&  Note:

The following configuration assumes that a route from Switch A to the network segment 10.2.0.0/16 is available.

 

# Enable UDP Helper.

<SwitchA> system-view

[SwitchA] udp-helper enable

# Enable the forwarding broadcast packets with the UDP destination port number 55.

[SwitchA] 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.

[SwitchA] interface vlan-interface 1

[SwitchA-Vlan-interface1] ip address 10.110.1.1 16

[SwitchA-Vlan-interface1] udp-helper server 10.2.1.1

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网