- Table of Contents
-
- H3C S5500-SI Series Ethernet Switches Command Manual-Release 1205-(V1.03)
- 00-1Cover
- 01-Login Command
- 02-Basic System Configuration and Maintenance Command
- 03-File System Management Command
- 04-VLAN Command
- 05-QinQ-BPDU TUNNEL Command
- 06-Port Correlation Configuration Command
- 07-MAC Address Table Management Command
- 08-MSTP Commands
- 09-IP Address and Performance Command
- 10-IPv6 Configuration Command
- 11-Routing Overview Command
- 12-IPv4 Routing Command
- 13-IPv6 Routing Command
- 14-802.1x-HABP-MAC Authentication Command
- 15-AAA-RADIUS-HWTACACS Command
- 16-Multicast Protocol Command
- 17-ARP Command
- 18-DHCP Command
- 19-ACL Command
- 20-QoS Command
- 21-Port Mirroring Command
- 22-Cluster Command
- 23-SNMP-RMON Command
- 24-NTP Command
- 25-DNS Command
- 26-Information Center Command
- 27-NQA Command
- 28-SSH Terminal Service Command
- 29-UDP Helper Command
- 30-SSL-HTTPS Command
- 31-PKI Command
- 32-PoE-PoE Profile Command
- 33-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
29-UDP Helper Command | 37 KB |
Table of Contents
Chapter 1 UDP Helper Configuration Commands
1.1 UDP Helper Configuration Commands
1.1.1 display udp-helper server
Chapter 1 UDP Helper Configuration Commands
By default, S5500-SI series Ethernet switches do not forward IP broadcast packets. So, to utilize the UDP Helper function, you need to execute the ip forward-broadcast command in system view first. For details, refer to the IP Address and Performance part of the manual.
1.1 UDP Helper Configuration Commands
1.1.1 display udp-helper server
Syntax
display udp-helper server [ interface interface-type interface-number ]
View
Any view
Parameter
interface interface-type interface-number: Displays UDP relay forwarding information on the specified interface.
Description
Use the display udp-helper server command to display the UDP relay forwarding information on the specified interface or all interfaces.
If interface-type interface-number is not specified, this command displays the UDP relay forwarding information on all the interfaces.
Example
# Display the UDP relay forwarding information on Vlan-interface1.
<Sysname> display udp-helper server interface Vlan-interface 1
Interface name Server address Packets sent
Vlan-interface1 192.1.1.2 0
1.1.2 reset udp-helper packet
Syntax
reset udp-helper packet
View
User view
Parameter
None
Description
Use the reset udp-helper packet command to clear the statistics of packets forwarded.
Related command: display udp-helper server.
Example
# Clear the statistics of the packets forwarded by UDP relay.
<Sysname> reset udp-helper packet
1.1.3 udp-helper enable
Syntax
udp-helper enable
undo udp-helper enable
View
System view
Parameter
None
Description
Use the udp-helper enable command to enable UDP Helper.
Use the undo udp-helper enable command to disable UDP Helper.
UDP Helper is disabled by default.
Example
# Enable UDP Helper
<Sysname> system-view
[Sysname] udp-helper enable
1.1.4 udp-helper port
Syntax
udp-helper port { port-number | dns | netbios-ds | netbios-ns | tacacs | tftp | time }
undo udp-helper port { port-number | dns | netbios-ds | netbios-ns | tacacs | tftp | time }
View
System view
Parameter
port-number: UDP port number, in the range 1 to 65535 (67 and 68 not included).
dns: Specifies the UDP port assigned to DNS service (that is, port 53).
netbios-ds: Specifies the UDP port assigned to NetBIOS-DS (that is, port 138) .
netbios-ns: Specifies the UDP port assigned to NetBIOS-NS (that is, port 137).
tacacs: Specifies the UDP port assigned to TACACS (that is, port 49).
tftp: Specifies the UDP port assigned to TFTP (that is, port 69).
time: Specifies the UDP port assigned to the time service (that is, port 37).
Description
Use the udp-helper port command to specify a UDP port. With this command executed, only the UDP Helper packets with their UDP ports being the one configured by this command are forwarded.
Use the undo udp-helper port command to cancel the configuration.
By default, with UDP Helper function enabled, UDP Helper packets with their UDP port numbers being 69, 53, 37, 137, 138, and 49 are forwarded. The configuration of all UDP ports (including the default ports) is removed if you disable UDP Helper.
Example
# Configure to forward UDP Helper packets with their UDP port being that assigned to DNS.
<Sysname> system-view
[Sysname] udp-helper enable
[Sysname] udp-helper port dns
1.1.5 udp-helper server
Syntax
udp-helper server ip-address
undo udp-helper server [ ip-address ]
View
VLAN interface view
Parameter
ip-address: IP address of the destination server.
Description
Use the udp-helper server command to specify the destination server for UDP broadcast packets.
Use the undo udp-helper server command to remove the destination server configuration.
No destination server is configured by default.
At present, you can configure up to 20 destination servers at an interface.
Note: you will remove all the destination servers under the interface if you carry out the undo udp-helper server command without an argument.
Related command: display udp-helper server.
Example
# Configure the device with an IP address of 192.1.1.2 as the destination server for UDP broadcast packets.
<Sysname> system-view
[Sysname] interface Vlan-interface 1
[Sysname-Vlan-interface1] udp-helper server 192.1.1.2