H3C S3610[S5510] Series Ethernet Switches Command Manual-Release 0001-(V1.02)

HomeSupportSwitchesH3C S3610[S5510] Switch SeriesReference GuidesCommand ReferencesH3C S3610[S5510] Series Ethernet Switches Command Manual-Release 0001-(V1.02)
22-UDP Helper Command
Title Size Download
22-UDP Helper Command 37 KB

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

The information above represents IP address of the destination server corresponding to VLAN interface 1 is 192.1.1.2, and 0 packets are 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 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

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网