H3C S5500-SI Series Ethernet Switches Command Manual(V1.01)

HomeSupportSwitchesH3C S5500 Switch SeriesReference GuidesCommand ReferencesH3C S5500-SI Series Ethernet Switches Command Manual(V1.01)
22-UDP Helper Commands
Title Size Download
22-UDP Helper Commands 22 KB

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.

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, 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

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 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

 

  • 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 Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网