106 CHAPTER 5: NETWORK PROTOCOL OPERATION
Note that:
■ You must first enable the UDP Helper function and then configure the UDP
port with the relay function. Otherwise, error information will appear.
■ The parameters dns, netbios-ds, netbios-ns, tacacs, tftp and time
respectively refer to the six default ports. You can configure the default UDP
port in two ways: specifying port IDs and specifying the correct parameters.
For example, the
udp-helper port 53 command is equivalent to the
udp-helper port dns command in function.
■ The default UDP ports are not displayed when using the display
current-configuration
command. But its ID is displayed after its relay
function is disabled.
Configuring the Relay Destination Server for Broadcast Packet
You can configure up to 20 relay destination servers for a VLAN interface. If a
VLAN interface is configured with relay destination servers and UDP Helper
function is enabled on the VLAN interface, then the broadcast packets of a
designated UDP port received at the VLAN interface will be unicasted to the
destination server.
Perform the following configuration in VLAN Interface View.
Note that:
■ The undo udp-helper server command (without any parameter) deletes all
desitnation servers configured on the interface.
■ By default, no relay destination server for UDP broadcast packets is configured.
Displaying and
Debugging UDP Helper
Configuration
After the above configuration, enter the display command in any view to display
the running of the UDP Helper destination server, and to verify the effect of the
configuration. Enter the
debugging command in User View to debug UDP Helper
configuration.
Table 103 Configuring the Relay Destination Server for Broadcast Packet
Operation Command
Configure relay destination server for
broadcast packet
udp-helper server
ip_address
Delete relay destination server for
broadcast packet
undo udp-helper server [
ip_address
]
Table 104 Displaying and Debugging UDP Helper Configuration
Operation Command
Display the destination server
corresponding to VLAN
interface
display udp-helper server [ interface
vlan-interface
vlan_id
]
Enable UDP Helper
debugging
debugging udp-helper { event | packet [ receive |
send ] }
Disable UDP Helper
debugging
undo debugging udp-helper { event | packet [
receive | send ] }