HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Conf - Page 84

Configuring UDP helper, Overview, Configuration restrictions and guidelines, Configuration procedure

Page 84 highlights

Configuring UDP helper Overview UDP helper functions as a relay agent that converts UDP broadcast packets into unicast packets and forwards them to a specified destination server. This is helpful when a host cannot obtain network configuration information or request device names through broadcasting because the server or host to be requested is located on another broadcast domain. With UDP helper enabled, a device decides whether to forward a received UDP broadcast packet according to the UDP destination port number of the packet. • 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. • If the destination port number of the packet does not match the one pre-configured on the device, the device sends the packet to the upper layer protocol for processing. Configuration restrictions and guidelines • The receiving of directed broadcasts to a directly connected network is disabled by default on the switch. As a result, UDP helper is available only when the ip forward-broadcast command is configured in system view. For more information about reception and forwarding of directed broadcasts to a directly connected network, see "Configuring IP performance optimization." • A UDP helper enabled device must not forward DHCP broadcast packets that use destination port 67 or 68. Therefore, the UDP port numbers set with the udp-helper port command must not include 67 or 68. • You can specify a port number or the corresponding parameter for a UDP port to forward packets. For example, udp-helper port 53 and udp-helper port dns specify the same UDP port number. • The configuration of all UDP ports is removed if you disable UDP helper. • You can configure up to 256 UDP port numbers to enable the forwarding of packets with these UDP port numbers. • You can configure up to 20 destination servers on an interface. Configuration procedure To configure UDP helper: Step 1. Enter system view. 2. Enable UDP helper. 3. Enable the forwarding of packets with the specified UDP destination port number(s). Command system-view udp-helper enable Remarks N/A Disabled by default. udp-helper port { port-number | dns | netbios-ds | netbios-ns | tacacs | tftp | time } No UDP port number is specified by default. 76

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165

76
Configuring UDP helper
Overview
UDP helper functions as a relay agent that converts UDP broadcast packets into unicast packets and
forwards them to a specified destination server. This is helpful when a host cannot obtain network
configuration information or request device names through broadcasting because the server or host to be
requested is located on another broadcast domain.
With UDP helper enabled, a device decides whether to forward a received UDP broadcast packet
according to the UDP destination port number of the packet.
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.
If the destination port number of the packet does not match the one pre-configured on the device,
the device sends the packet to the upper layer protocol for processing.
Configuration restrictions and guidelines
The receiving of directed broadcasts to a directly connected network is disabled by default on the
switch. As a result, UDP helper is available only when the
ip forward-broadcast
command is
configured in system view. For more information about reception and forwarding of directed
broadcasts to a directly connected network, see "
Configuring IP performance optimization
."
A UDP helper enabled device must not forward DHCP broadcast packets that use destination port
67 or 68. Therefore, the UDP port numbers set with the
udp-helper port
command must not include
67 or 68.
You can specify a port number or the corresponding parameter for a UDP port to forward packets.
For example,
udp-helper port
53 and
udp-helper port
dns
specify the same UDP port number.
The configuration of all UDP ports is removed if you disable UDP helper.
You can configure up to 256 UDP port numbers to enable the forwarding of packets with these UDP
port numbers.
You can configure up to 20 destination servers on an interface.
Configuration procedure
To configure UDP helper:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable UDP helper.
udp-helper enable
Disabled by default.
3.
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
}
No UDP port number is specified
by default.