- Table of Contents
-
- H3C S3610[S5510] Series Ethernet Switches Command Manual-Release 0001-(V1.02)
- 00-1Cover
- 01-Login Command
- 02-VLAN Command
- 03-IP Address and Performance Command
- 04-QinQ-BPDU Tunnel Command
- 05-Port Correlation Configuration Command
- 06-MAC Address Table Management Command
- 07-MAC-IP-Port Binding Command
- 08-MSTP Command
- 09-Routing Overview Command
- 10-IPv4 Routing Command
- 11-IPv6 Routing Command
- 12-IPv6 Configuration Command
- 13-Multicast Protocol Command
- 14-802.1x-HABP-MAC Authentication Command
- 15-AAA-RADIUS-HWTACACS Command
- 16-ARP Command
- 17-DHCP Command
- 18-ACL Command
- 19-QoS Command
- 20-Port Mirroring Command
- 21-Cluster Management Command
- 22-UDP Helper Command
- 23-SNMP-RMON Command
- 24-NTP Command
- 25-DNS Command
- 26-File System Management Command
- 27-Information Center Command
- 28-System Maintenance and Debugging Command
- 29-NQA Command
- 30-VRRP Command
- 31-SSH Command
- 32-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
22-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
& Note:
By default, S3610&S5510 series Ethernet switches do not forward IP broadcast packets. To ensure that UDP Helper is available, you must use the ip forward-broadcast command in system view first. If NTP broadcast mode or DHCP is configured on switches, the switches will automatically forward broadcast packets. In this case, UDP Helper can take effect even though you do not configure the ip forward-broadcast command. For details about the ip forward-broadcast command, see the “IP Addressing and Performance” part of this 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-type interface-number: Specifies an interface by its type and number.
Description
Use the display udp-helper server command to display the information of the destination server to which UDP packets are forwarded and the number of packets forwarded. If no parameters are specified, this command displays the information of all the interfaces.
Example
# Display the information of the UDP relay destination server corresponding to VLAN interface 1 and the number of packets forwarded.
<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 serve.
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: Port number of UDP packets to be forwarded by a delay, in the range of 1 to 65535 (except 67 and 68).
dns: forward a DNS data packet, corresponding to UDP port 53.
netbios-ds: forward a NetBIOS datagram service packet, corresponding to UDP port 138.
netbios-ns: forward a NetBIOS name service packet, corresponding to UDP port 137.
tacacs: forward a TACACS data packet, corresponding to UDP port 49.
tftp: forward a simple FTP data packet, corresponding to UDP port 69.
time: forward a time service data packet, corresponding to UDP port 37.
Description
Use the udp-helper port command to specify the port number of UDP packets to be forwarded.
Use the undo udp-helper port command to disable the configuration of the port number the UDP packets to be forwarded.
By default, UDP Helper relays broadcast packets at ports 69, 53, 37, 137, 138 and 49 after it is enabled. The configuration of all UDP ports (including the default ports) is removed if you disabled 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 destination server, in dotted decimal notation.
Description
Use the udp-helper server command to specify the destination server the UDP broadcast packets to be forwarded.
Use the undo udp-helper server command to delete the destination server the UDP broadcast packets to be forwarded.
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