H3C S7500 Series Command Manual(Release 3100 Series)-(V1.04)

HomeSupportSwitchesH3C S7500 Switch SeriesReference GuidesCommand ReferencesH3C S7500 Series Command Manual(Release 3100 Series)-(V1.04)
29-UDP-Helper Commands
Title Size Download
29-UDP-Helper Commands 37 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

vlan-id: ID of a VLAN.

Description

Use the display udp-helper server command to display the information about the configured destination servers connected to a specified VLAN interface and the number of the packets forwarded to each destination server. If you do not specified the vlan-id argument, the corresponding information about all the VLAN interfaces is displayed.

Examples

# Display the information about the configured destination servers connected to VLAN-interface 1 and the number of the packets forwarded to the destination servers.

<H3C> 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 server with its IP address being 192.1.1.2 is configured as a destination server and is connected to VLAN-interface 1, and no packets are forwarded to it so far.

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 about the packets forwarded by UDP-Helper.

Examples

# Clear the statistics about the packets forwarded by UDP-Helper.

<H3C> 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 the UDP-Helper function.

Use the undo udp-helper enable command to disable the UDP-Helper function.

By default, UDP-Helper is disabled.

Examples

# Enable UDP-Helper.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] udp-helper enable

1.1.4  udp-helper port

Syntax

udp-helper port { port | dns | netbios-ds | netbios-ns | tacacs | tftp | time }

undo udp-helper port { port | dns | netbios-ds | netbios-ns | tacacs | tftp | time }

View

System view

Parameters

port: number of a UDP port to be configured as a UDP-Helper destination port, in the range 1 to 65535 (except for 67 and 68).

dns: Specifies the DNS UDP port (port 53) as a UDP-Helper destination port.

netbios-ds: Specifies the NetBIOS-DS UDP port (port 138) as a UDP-Helper destination port.

netbios-ns: Specifies the NetBIOS-NS UDP port (port 137) as a UDP-Helper destination port.

tacacs: Specifies the TACACS UDP port (port 49) as a UDP-Helper destination port.

tftp: Specifies the TFTP UDP port (port 69) as a UDP-Helper destination port.

time: Specifies the time service UDP port (port 37) as a UDP-Helper destination port.

Description

Use the udp-helper port command to specify a UDP-Helper destination port.

Use the undo udp-helper port command to disable a port from being a UDP-Helper destination port.

With UDP-Helper enabled, UDP broadcast packets with their destination port being the six default UDP ports (that is, port 69, 53, 37, 137, 138, and 49) are forwarded to the configured destination servers by default. After the UDP-Helper function is disabled, all the configured UDP-Helper destination ports are cancelled, including the default UDP ports.

Note that:

l           Before configuring udp-helper port, you must enable UDP-Helper.

l           When you view the configuration information by using the display current-configuration command, information about default UDP ports is not displayed. Such information is displayed only when a default port is disabled.

Examples

# Configure the DNS UDP port as a UDP-Helper destination port.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] 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

Parameters

ip-address: IP address of the device to be configured as a destination server, in dotted decimal notation.

Description

Use the udp-helper server command to specify a destination server for the UDP broadcast packets to be forwarded.

Use the undo udp-helper server command to remove a configured destination server.

No destination server is configured by default.

Currently, you can configure up to 20 destination servers on a VLAN interface.

Note that if you do not provide the ip-address argument when executing the undo udp-helper server command, all the destination servers configured on the VLAN interface are removed.

Related commands: display udp-helper server.

Examples

# Configure the device with its IP address being 192.1.1.2 as a destination server for the UDP broadcast packets to be forwarded on VLAN-interface 1.

<H3C> system-view

System View: return to User View with Ctrl+Z.

[H3C] nterface Vlan-interface 1

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