< Home

anti-ddos tcp-mss

Function

The anti-ddos tcp-mss command sets the Maximum Segment Size (MSS) of TCP packets.

The undo anti-ddos tcp-mss command restores the default settings.

Format

anti-ddos tcp-mss mss-value

undo anti-ddos tcp-mss

Parameters

Parameter Description Value

mss-value

Specifies the MSS.

It is an integer that ranges from 100 to 1460, in bytes.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

On the FW, the anti-ddos tcp-mss command is used to restore the default MSS of the client in HTTP redirection defense.

By default, the MSS is 1460 bytes.

Example

# Set the MSS of TCP packets to 1400.

<sysname> system-view
[sysname] anti-ddos tcp-mss 1400
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >