udp-helper server
Use udp-helper server to specify a destination server for UDP helper to convert broadcast to unicast.
Use undo udp-helper server to remove a destination server.
Syntax
udp-helper server ip-address [ global | vpn-instance vpn-instance-name ]
undo udp-helper server [ ip-address [ global | vpn-instance vpn-instance-name ] ]
Default
No destination server is specified for UDP helper to convert broadcast to unicast.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Parameters
ip-address: Specifies the IP address of a destination server, in dotted decimal notation.
global: Forwards converted unicast packets to the server on the public network.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance to which the server belongs. The vpn-instance-name argument represents the VPN instance name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
Specify destination servers on an interface that receives UDP broadcast packets. If the packets' destination UDP port numbers match the UDP helper ports, UDP helper forwards the broadcasts to the specified servers.
You can specify a maximum of 20 unicast and multicast addresses for UDP helper to convert broadcast packets on an interface.
If you do not specify the ip-address argument, the undo udp-helper server command removes all destination servers on the interface.
A destination server with the global keyword and the same destination server with the vpn-instance vpn-instance-name option do not overwrite each other. If you specify only the IP address, UDP helper forwards converted unicast packets in the VPN to which the receiving interface belongs. If the interface is not bound to any VPN instance, UDP helper forwards the unicast packets on the public network.
Examples
# Specify the destination server 192.1.1.2 for UDP helper to convert broadcast to unicast on VLAN-interface 100.
<Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] udp-helper server 192.1.1.2
# Specify the destination server 192.1.1.2 on the public network for UDP helper to convert broadcast to unicast on VLAN-interface 100.
<Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] udp-helper server 192.1.1.2 global
Related commands
display udp-helper interface