< Home

tcp window

Function

The tcp window command configures the size of the receive or send buffer of a connection-oriented socket.

The undo tcp window command restores the default size of the receive or send buffer of a connection-oriented socket.

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

Format

tcp window window-size

undo tcp window

Parameters

Parameter Description Value
window-size Specifies the size of the receive or send buffer of a connection-oriented socket. The value is an integer that ranges from 1 to 32, in k bytes. The default value is 8k bytes.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If you run this command in the same view for multiple times, only the last configuration takes effect.

You are advised to configure this parameter under the supervision of technical support personnel.

Example

# Set the size of the receive or send buffer of a connection-oriented socket to 3K bytes.

<HUAWEI> system-view
[HUAWEI] tcp window 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic