- Table of Contents
-
- H3C S3610[S5510] Series Ethernet Switches Command Manual-Release 5303(V1.01)
- 00-1Cover
- 01-Login Commands
- 02-VLAN Commands
- 03-IP Addressing and Performance Commands
- 04-QinQ-BPDU Tunneling Commands
- 05-Port Correlation Configuration Commands
- 06-Link Aggregation Commands
- 07-MAC Address Table Management Commands
- 08-IP Source Guard Commands
- 09-MSTP Commands
- 10-IPv6 Commands
- 11-Routing Overview Commands
- 12-IPv4 Routing Commands
- 13-BFD-GR Commands
- 14-IPv6 Routing Commands
- 15-Multicast Protocol Commands
- 16-802.1x-HABP-MAC Authentication Commands
- 17-AAA-RADIUS-HWTACACS Commands
- 18-ARP Commands
- 19-DHCP Commands
- 20-ACL Commands
- 21-QoS Commands
- 22-Port Mirroring Commands
- 23-Cluster Management Commands
- 24-UDP Helper Commands
- 25-SNMP-RMON Commands
- 26-NTP Commands
- 27-DNS Commands
- 28-File System Management Commands
- 29-Information Center Commands
- 30-System Maintaining and Debugging Commands
- 31-NQA Commands
- 32-VRRP Commands
- 33-SSH Commands
- 34-MCE Commands
- 35-OAM Commands
- 36-DLDP Commands
- 37-RRPP Commands
- 38-SSL-HTTPS Commands
- 39-PKI Commands
- 40-Appendix
Title | Size | Download |
---|---|---|
24-UDP Helper Commands | 27.46 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
1.1 UDP Helper Configuration Commands
1.1.1 display udp-helper server
Syntax
display udp-helper server [ interface Vlan-interface vlan-id ]
View
Any view
Parameters
interface Vlan-interface vlan-id: Displays information of forwarded UDP packets on the specified VLAN interface.
Description
Use the display udp-helper server command to display the information of forwarded UDP packets on the specified interface or all interfaces.
If interface Vlan-interface vlan-id is not specified, this command displays the information of forwarded UDP packets on all VLAN interfaces.
Examples
# Display the information of forwarded UDP packets on the interface VLAN-interface 1.
<Sysname> display udp-helper server interface vlan-interface 1
Interface name Server address Packets sent
Vlan-interface1 192.1.1.2 0
The information above shows that the IP address of the destination server corresponding to the interface VLAN-interface 1 is 192.1.1.2, and that no packets are forwarded to the destination server.
1.1.2 reset udp-helper packet
Syntax
reset udp-helper packet
View
User view
Parameters
None
Description
Use the reset udp-helper packet command to clear the statistics of UDP packets forwarded.
Related commands: display udp-helper server.
Examples
# Clear the statistics of the forwarded UDP packets.
<Sysname> reset udp-helper packet
1.1.3 udp-helper enable
Syntax
udp-helper enable
undo udp-helper enable
View
System view
Parameters
None
Description
Use the udp-helper enable command to enable UDP Helper.
Use the undo udp-helper enable command to disable UDP Helper.
By default, UDP Helper is disabled.
Caution:
By default, S3610&S5510 series Ethernet switches do not receiving directed broadcasts. 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 the switches, the switches will automatically receiving directed broadcasts. 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 Address and Performance” part of this manual.
Examples
# 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
Parameters
port-number: UDP port number with which packets need to be forwarded, in the range of 1 to 65535 (except 67 and 68).
dns: Forwards DNS data packets. The corresponding UDP port number is 53.
netbios-ds: Forwards NetBIOS data packets. The corresponding UDP port number is 138.
netbios-ns: Forwards NetBIOS name service data packets. The corresponding UDP port number is 137.
tacacs: Forwards terminal access controller access control system (TACACS) data packet. The corresponding UDP port number is 49.
tftp: Forwards TFTP data packets. The corresponding UDP port number is 69.
time: Forwards time service data packets. The corresponding UDP port number is 37.
Description
Use the udp-helper port command to enable the forwarding of packets with the specified UDP port number.
Use the undo udp-helper port command to remove the configured UDP port numbers.
By default, the UDP Helper enabled device forwards broadcast packets with any of the six destination port numbers 69, 53, 37, 137, 138 and 49. The configured UDP port numbers (including the default UDP port numbers) will all be removed if UDP Helper is disabled.
Examples
# Forward broadcast packets with the UDP destination port number 100.
<Sysname> system-view
[Sysname] udp-helper port 100
1.1.5 udp-helper server
Syntax
udp-helper server ip-address
undo udp-helper server [ ip-address ]
View
VLAN interface view
Parameters
ip-address: IP address of the destination server, in dotted decimal notation.
Description
Use the udp-helper server command to specify the destination server which UDP packets need to be forwarded to.
Use the undo udp-helper server command to remove the destination server.
No destination server is configured by default.
Currently, you can configure up to 20 destination servers on a VLAN interface.
Note that you will remove all the destination servers on a VLAN interface if you carry out the undo udp-helper server command without the ip-address argument.
Related commands: display udp-helper server.
Examples
# Specify the IP address of the destination server as 192.1.1.2 on the interface VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] udp-helper server 192.1.1.2