1.1.1 display udp-helper server
Syntax
display udp-helper
server [ interface Vlan-interface vlan-id ]
View
Any view
Parameter
vlan-id:
VLAN interface number.
Description
Use the display udp-helper server command
to display the information of the destination server corresponding to the VLAN
interface.
Example
# Display the information of the
destination server corresponding to VLAN interface 1.
<H3C> display
udp-helper server interface Vlan-interface 1
interface name server address packets
send
Vlan-interface1 192.1.1.2 0
The information above shows that the IP
address of the destination server corresponding to VLAN interface 1 is
192.1.1.2, and no packets have been forwarded.
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 statistics about the packets forwarded by UDP Helper.
Example
# Clear statistics about the packets
forwarded by UDP Helper.
<H3C> reset udp-helper packet
Syntax
udp-helper enable
undo udp-helper enable
View
System view
Parameter
None
Description
Use the udp-helper enable command to
enable UDP Helper function.
Use the undo udp-helper enable
command to disable UDP Helper function.
By default, UDP Helper is disabled.
Example
# Enable UDP Helper.
<H3C> system-view
System View: return to User View with
Ctrl+Z.
[H3C] udp-helper enable
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:
Number of the port whose UDP packets are to be forwarded, in the range 0 to
65535 (except for 67 and 68).
dns: Domain
name system, corresponding to UDP port 53.
netbios-ds:
NetBios datagram service, corresponding to UDP port 138.
netbios-ns:
NetBios name service, corresponding to UDP port 137.
tacacs: TAC
access control system, corresponding to UDP port 49.
tftp:
Trivial file transfer protocol, corresponding to UDP port 69.
time: Time
service, corresponding to UDP port 37.
Description
Use the udp-helper port command to
specify the UDP port whose UDP broadcast packets are to be forwarded.
Use the undo udp-helper port command
to cancel the configuration.
Example
# Specify port 651 to be the UDP port to
forward UDP broadcast packets.
<H3C> system-view
System View: return to User View with
Ctrl+Z.
[H3C] udp-helper port 651
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, in dotted decimal notation.
Description
Use the udp-helper server command to
specify the destination server for the UDP broadcast packets to be forwarded.
Use the undo udp-helper server command
to remove the destination server for the UDP broadcast packets to be forwarded.
No destination server is configured by
default.
Related command: display udp-helper
server.
Example
# Specify to forward UDP packets of VLAN1
interface to the destination server at 192.1.1.2.
<H3C> system-view
System View: return to User View with
Ctrl+Z.
[H3C] interface Vlan-interface 1
[H3C-Vlan-interface1] udp-helper
server 192.1.1.2