tcp ipv6 min-mss

Function

The tcp ipv6 min-mss command sets the minimum value of maximum segment size (MSS) for a TCP6 connection.

The undo tcp ipv6 min-mss command restores the default minimum MSS value for a TCP6 connection.

By default, the minimum MSS value for TCP6 connections is 216 bytes.

Format

tcp ipv6 min-mss min-mss-val

undo tcp ipv6 min-mss [ min-mss-val ]

Parameters

Parameter Description Value
min-mss-val

Specifies the minimum MSS value for a TCP6 connection.

The value is an integer ranging from 32 to 9600, in bytes.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ip-stack write

Usage Guidelines

Usage Scenario

To establish a TCP6 connection, the MSS value is negotiated, which indicates the maximum length of packets that the local device can receive. The TCP6 client on a network may send a request packet for establishing a TCP6 connection carrying a small MSS value. For example, the MSS value is 1. After the TCP6 server receives the request packet carrying the MSS value, the TCP6 connection is established. The TCP6 client may then send large numbers of requests to the server by an application, causing the TCP6 server to generate large numbers of reply packets. This may burden the TCP6 server or network, causing denial of service (DoS) attacks. To resolve this problem, run the tcp ipv6 min-mss command to set the minimum MSS value for a TCP6 connection. This configuration prevents a server from receiving packets carrying a small MSS value.

Example

# Set the minimum MSS value for a TCP6 connection to 512 bytes.
<HUAWEI> system-view
[~HUAWEI] tcp ipv6 min-mss 512
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >