No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - IP Service

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DHCP policy VLAN, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel, and IPv4 over IPv6 tunnel.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring TCP Properties

Configuring TCP Properties

Context

When a TCP connection is set up between switch and other devices, TCP properties such as TCP connection for BGP need to be configured.

The following TCP properties can be configured on the switch:

  • SYN-Wait timer: When SYN packets are sent, the SYN-Wait timer is started. If no response packet is received after the SYN-Wait timer expires, the TCP connection is closed.

  • FIN-Wait timer: When the TCP connection status changes from FIN_WAIT_1 to FIN_WAIT_2, the FIN-Wait timer is started. If no response packet is received after the FIN-Wait timer expires, the TCP connection is closed.

  • Receive/send buffer size of connection-oriented socket.

  • Minimum Maximum Segment Size (MSS) value: Setting a minimum MSS value for a TCP connection defines the smallest TCP packet size, preventing DoS attacks caused by packets with small MSS values.

  • Maximum MSS value: Setting a maximum MSS value for a TCP connection defines the largest TCP packet size, allowing TCP packets to be successfully forwarded by intermediate devices when no MTU is available.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run tcp timer syn-timeout interval

    The SYN-Wait timer of TCP connections is configured.

    By default, the value of the TCP SYN-Wait timer is 75s.

  3. Run tcp timer fin-timeout interval

    The FIN-WAIT timer of TCP connections is configured.

    By default, the value of the TCP FIN-Wait timer is 675s.

  4. Run tcp window window-size

    The size of the receive or send buffer of a connection-oriented socket is configured.

    By default, the size of the receive or send buffer of a connection-oriented socket is 8k bytes.

  5. Run tcp min-mss mss-value

    The minimum MSS value is configured for a TCP connection.

    By default, the minimum MSS value for a TCP connection is 216 bytes.

  6. Run tcp max-mss mss-value

    The maximum MSS value is configured for a TCP connection.

    By default, the maximum MSS value is not configured for TCP connections.

    NOTE:

    The maximum MSS value configured using the tcp max-mss command must be greater than the minimum MSS value configured using the tcp min-mss command.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100065678

Views: 30110

Downloads: 224

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next