< Home

udp-helper server

Function

The udp-helper server command configures the destination server to which UDP packets are relayed.

The undo udp-helper server command deletes the destination server to which UDP packets are relayed.

By default, no destination server is configured for UDP Helper.

Format

udp-helper server ip-address

undo udp-helper server [ ip-address ]

Parameters

Parameter

Description

Value

ip-address

Specifies the IP address of a destination server. The IP address can be a unicast address or a subnet broadcast address, but cannot be 255.255.255.255. Otherwise, the configuration fails.

The value is in dotted decimal notation.

Views

VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If UDP Helper is enabled and the destination server is configured on an interface, when the interface receives the UDP broadcast packets destined for the specified port, it converts the broadcast packets into unicast packets with the destination address ip-address and sends them to the specified server.

Precautions

  • A maximum of 20 destination servers can be configured on an interface. If multiple destination servers are configured on an interface, the switch converts the broadcast packets into unicast packets and sends them to all these servers.
  • When specifying the IP address of a destination server, ensure that the switch has a reachable route to the network segment where the destination server is located. If no route is reachable, packets cannot be forwarded.
  • When the undo udp-helper server command is used without parameter specified, all the configured destination servers on the interface are deleted.

Example

# Configure destination server 10.1.1.2 on VLANIF 100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] udp-helper server 10.1.1.2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic