< Home

fragmentation-threshold

Function

The fragmentation-threshold command sets the fragmentation threshold in a radio profile.

The undo fragmentation-threshold command restores the default fragmentation threshold in a radio profile.

By default, the packet fragmentation threshold is 2346 bytes.

Format

fragmentation-threshold fragmentation-threshold

undo fragmentation-threshold

Parameters

Parameter

Description

Value

fragmentation-threshold

Specifies the fragment threshold. If the length of a frame to be sent by the MAC layer exceeds this threshold, the frame is fragmented before being sent.

The value is an integer that ranges from 256 to 2346, in bytes. It must be an integral multiple of 2.

Views

2G radio profile view, 5G radio profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A proper packet fragmentation threshold can improve channel bandwidth usage. Set the fragmentation threshold as required. A large threshold is recommended.

Precautions

When the packet fragmentation threshold is too small, packets are fragmented into smaller frames. These frames are transmitted at a high extra cost, resulting in low channel efficiency.

When the packet fragmentation threshold is too large, long packets are usually not fragmented, which increases the transmission time and error probability. If an error occurs, packets are retransmitted, resulting in a waste of channel bandwidth.

Example

# Set the fragmentation threshold to 1500 bytes in the 2G radio profile.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] fragmentation-threshold 1500
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >