- Table of Contents
-
- H3C WX6103 Access Controller Switch Interface Board Command Reference-6W102
- 00-Preface
- 01-Login Commands
- 02-VLAN Commands
- 03-IP Addressing and IP Performance Commands
- 04-QinQ-BPDU Tunneling Commands
- 05-Port Correlation Commands
- 06-Link Aggregation Commands
- 07-MAC Address Table Management Commands
- 08-Port Security Commands
- 09-MSTP Commands
- 10-IP Routing-GR Overview Commands
- 11-IPv4 Routing Commands
- 12-IP Source Guard Commands
- 13-DLDP Commands
- 14-Multicast Commands
- 15-LLDP Commands
- 16-sFlow Commands
- 17-ARP Commands
- 18-DHCP Commands
- 19-ACL Commands
- 20-QoS Commands
- 21-Port Mirroring Commands
- 22-UDP Helper Commands
- 23-SNMP-RMON Commands
- 24-NTP Commands
- 25-DNS Commands
- 26-File System Management Commands
- 27-Information Center Commands
- 28-System Maintaining and Debugging Commands
- 29-NQA Commands
- 30-SSH Commands
- 31-SSL-HTTPS Commands
- 32-PKI Commands
- 33-Track Commands
- 34-Index
- Related Documents
-
Title | Size | Download |
---|---|---|
22-UDP Helper Commands | 26.11 KB |
The term switch in this document refers to a switch in a generic sense or an access controller configured with the switching function unless otherwise specified.
UDP Helper Configuration Commands
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.
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
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.
Examples
# Enable UDP Helper
<Sysname> system-view
[Sysname] udp-helper enable
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, no UDP port number is specified.
The specified 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
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 an interface.
Note that you will remove all the destination servers on an 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