05-Layer 3 - IP Services Command Reference

HomeSupportSwitchesH3C S12500 Switch SeriesReference GuidesCommand ReferencesH3C S12500 Command Reference-Release7128-6W71005-Layer 3 - IP Services Command Reference
08-UDP helper commands
Title Size Download
08-UDP helper commands 83.39 KB

UDP helper commands

display udp-helper interface

Use display udp-helper interface to display information about packets forwarded by UDP helper on an interface.

Syntax

display udp-helper interface interface-type interface-number

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

interface-type interface-number: Specifies an interface by its type and number.

Usage guidelines

This command shows information about the destination server and the number of UDP packets forwarded to the destination server.

Examples

# Display information about packets forwarded by UDP helper on VLAN-interface 1.

<Sysname> display udp-helper interface vlan-interface 1

Interface                        Server address  Packets sent

Vlan-interface1                  192.1.1.2       0

Table 1 Command output

Field

Description

Interface

Interface name.

Server address

Destination server to which UDP packets are forwarded.

Packets sent

Number of packets forwarded to the destination server.

 

Related commands

·           reset udp-helper statistics

·           udp-helper server

reset udp-helper statistics

Use reset udp-helper statistics to clear the statistics of UDP packets forwarded by UDP helper.

Syntax

reset udp-helper statistics

Views

User view

Predefined user roles

network-admin

mdc-admin

Examples

# Clear the statistics of UDP packets forwarded by UDP helper.

<Sysname> reset udp-helper statistics

Related commands

display udp-helper interface

udp-helper enable

Use udp-helper enable to enable UDP helper.

Use undo udp-helper enable to disable UDP helper.

Syntax

udp-helper enable

undo udp-helper enable

Default

UDP helper is disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

UDP helper converts specific UDP broadcast packets into unicast packets and forwards them to a specific destination server.

Examples

# Enable UDP helper.

<Sysname> system-view

[Sysname] udp-helper enable

udp-helper port

Use udp-helper port to specify a UDP port number for UDP helper.

Use undo udp-helper port to remove UDP port numbers.

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 }

Default

No UDP port number is specified for UDP helper.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

port-number: Specifies a UDP port number in the range of 1 to 65535 (except 67 and 68).

dns: Specifies the UDP port 53 used by DNS packets.

netbios-ds: Specifies the UDP port 138 used by NetBIOS datagram distribution service packets.

netbios-ns: Specifies the UDP port 137 used by NetBIOS name service packets.

tacacs: Specifies the UDP port 49 used by TACACS packets.

tftp: Specifies the UDP port 69 used by TFTP packets.

time: Specifies the UDP port 37 used by time protocol packets.

Usage guidelines

To specify a UDP port, you can specify the port number or the corresponding protocol keyword. For example, udp-helper port 53 and udp-helper port dns specify the same UDP port.

UDP helper will process UDP broadcast packets destined for the specified UDP port and forward them to the destination server.

You can specify up to 256 UDP ports on a device.

Examples

# Enable UDP helper to forward broadcast packets with UDP destination port 100.

<Sysname> system-view

[Sysname] udp-helper port 100

udp-helper server

Use udp-helper server to specify a destination server for UDP helper.

Use undo udp-helper server to remove a destination server for UDP helper.

Syntax

udp-helper server ip-address

undo udp-helper server [ ip-address ]

Default

No destination server is specified.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

ip-address: Specifies the IP address of a destination server, in dotted decimal notation.

Usage guidelines

Specify destination servers on an interface that receives UDP broadcast packets. You can specify up to 20 destination servers on an interface.

Without the ip-address argument, the undo udp-helper server command removes all destination servers on the interface.

Examples

# Specify the destination server 192.1.1.2 on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] udp-helper server 192.1.1.2

Related commands

display udp-helper interface

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
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
新华三官网