< Home

tcp window

Function

The tcp window command sets the size of the sending/receiving buffer of the connection-oriented socket.

The undo tcp window command restores the default size of the buffer.

Format

tcp window window-size

undo tcp window

Parameters

Parameter Description Value
window-size Specifies the size of the packet sending/receiving buffer of the connection-oriented Socket in K bytes. The value ranges from 1k byte to 32k bytes. The default value is 8k bytes.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the size of the packet sending/receiving buffer of the connection-oriented socket is 8k bytes.

If the tcp window command is configured for several times in the same view, only the last configuration takes effect.

Configure the parameters under the guidance of the technical personnel.

Example

# Configure the size of the packet sending/receiving buffer of the connection-oriented socket to 4KB.

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