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

NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services
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 TCP6

Configuring TCP6

The network performance can be improved by setting TCP6 packet attributes.

Usage Scenario

To optimize network performance, adjust TCP6 parameters.

Pre-configuration Tasks

Before configuring TCP6, complete the following tasks:

  • Connect interfaces and configure physical parameters for the interfaces to ensure that the physical status of the interfaces is Up.

  • Configure link layer protocol parameters for the interfaces to ensure that the link layer protocol status of the interfaces is Up.

Configuration Procedures

Perform one or more of the following configurations as required.

Configuring TCP6 Timers

Set two TCP6 timers to control the TCP6 connection time.

Context

Two TCP6 timers are available:

  • SYN-Wait timer: When SYN packets are sent, the SYN-Wait timer starts. If response packets are not received before the SYN-Wait timer expires, the TCP6 connection is terminated. The SYN-Wait timeout period ranges from 2 to 600, in seconds, and the default value is 75 seconds.

  • FIN-Wait timer: When the TCP connection status changes from FIN_WAIT_1 to FIN_WAIT_2, the FIN-Wait timer starts. If FIN packets are not received before the FIN-Wait timer expires, the TCP6 connection is terminated. The FIN-Wait timeout period ranges from 76 to 3600, in seconds, and the default value is 675 seconds.

Perform the following steps on the router:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run tcp ipv6 timer syn-timeout interval

    The SYN-Wait timeout period is configured for TCP6 connections.

  3. Run tcp ipv6 timer fin-timeout interval

    The FIN_WAIT_2 timeout period is configured for TCP6 connections.

  4. Run commit

    The configuration is committed.

Specifying the Size of a TCP6 Sliding Window

The TCP6 sliding window size determines the size of the receiving buffer and transmitting buffer in the socket. This function improves network performance.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run tcp ipv6 window window-size

    The sending/receiving buffer size of the TCP6 socket is configured.

    The sliding window size ranges from 1 KB to 32 KB, and the default value is 8 KB.

  3. Run commit

    The configuration is committed.

Setting the MSS Value for a TCP6 Connection

The maximum MSS values can be configured for TCP6 connections.

Context

Setting a maximum MSS value for a TCP6 connection defines the largest TCP6 packet size, allowing TCP6 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 ipv6 max-mss mss-value

    The maximum MSS value is set for a TCP6 connection.

  3. Run commit

    The configuration is committed.

Verifying the TCP6 Configuration

After configuring TCP6, verify the configuration.

Prerequisites

TCP6 has been configured.

Procedure

  • Run the display tcp ipv6 status [ local-ip local-ip ] [ local-port local-port ] [ remote-ip remote-ip ] [ remote-port remote-port ] [ cid cid ] [ socket-id socket-id ] command to check the TCP connection status.
  • Run the display tcp ipv6 statistics command to check the TCP traffic statistics.
  • Run the display ipv6 socket [ socket-type socket-type ] [ cid cid ] [ socket-id socket-id ] command to check socket configurations.

Example

Run the display tcp ipv6 status command. The command output shows the TCP6 connection status.

<HUAWEI> display tcp ipv6 status
* - MD5 Authentication is enabled.
# - Keychain Authentication is enabled.
--------------------------------------------------------------------------------
Cid/SocketID         Local Address                Foreign Address              VPNID      State
--------------------------------------------------------------------------------
0x80C8272B/7         ::->23                       ::->0                        4294967295 LISTEN*
--------------------------------------------------------------------------------

Run the display tcp ipv6 statistics command. The command output shows the TCP6 traffic statistics.

<HUAWEI> display tcp ipv6 statistics
------------------------ Display TCP Statistics ----------------------
Received packets:
    Total: 0
    SYN:0
    FIN:0
    Packets in sequence: 0 (bytes)
    Window probe packets: 0
    Window update packets: 0
    Checksum error: 0
    Offset error: 0
    Short error: 0
    Duplicate packet: 0 (bytes)
    Partially duplicate packet: 0 (bytes)
    Out-of-order packets: 0 (bytes)
    Packets with data after window: 0
    Packet after close: 0
    ACK packets: 0 (bytes)
    Duplicate ACK packets: 0
Sent packets:
    Total: 0
    Urgent packet: 0
    Control packet: 0 (RST)
    Window probe packets: 0
    Window update packets: 0
    Data packets: 0
    Data packets retransmitted: 0
    ACK only packets: 0

Retransmitted timeout: 0
Connection dropped in retransmitted timeout: 0
Keepalive timeout: 0
Keepalive probe: 0
Keepalive timeout, so connections disconnected: 0
Initiated connections: 0
Accepted connections: 0
Established connections: 0
Closed connections: 0
Packets dropped with MD5 authentication: 0
Packets permitted with MD5 authentication: 0
-----------------------------------------------------------------------
<HUAWEI> display tcp statistics
SOCK_STREAM:
Task = VTYD(14), socketid = 4, Proto = 6,
LA = ::->22, FA = ::->0,
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,
socket option = SO_ACCEPTCONN SO_REUSEPORT SO_SENDVPNID,
socket state = SS_PRIV SS_ASYNC
 
Task = VTYD(14), socketid = 3, Proto = 6,
LA = ::->23, FA = ::->0,
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,
socket option = SO_ACCEPTCONN SO_REUSEPORT SO_SENDVPNID,
socket state = SS_PRIV SS_ASYNC

Run the display ipv6 socket command. The command output shows socket configurations.

<HUAWEI> display ipv6 socket socket-type 1
TOTAL: 10

---------------------------------------------------------------------------
SOCK PID: 0x6503F4      SOCK CID: 0x806503FD       TOTAL: 6
---------------------------------------------------------------------------


DISPLAY-INDEX: 1           
Cid = 0x80C80428, Socketid = 2, Proto = 6,
LA=:::23, FA=:::0,
sndbuf = 0, rcvbuf = 0, sb_cc = 0, rb_cc = 0,
socket option = SO_ACCEPTCONN SO_REUSEADDR ,
socket state = SS_NBIO SS_ASYNC

DISPLAY-INDEX: 2           
Cid = 0x805303FF, Socketid = 5, Proto = 17,
LA=:::0, FA=:::0,
sndbuf = 0, rcvbuf = 0, sb_cc = 0, rb_cc = 0,
socket option = SO_REUSEADDR ,
socket state = SS_NBIO SS_ASYNC
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055376

Views: 17591

Downloads: 35

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