offline-speed

Function

The offline-speed command configures the user offline speed, specifically, the number of users that go offline within a second. If the number of users to go offline within a second exceeds the configured value, the users that cannot go offline enter the offline queue.

The undo offline-speed command restores the default configuration.

By default, a maximum of 256 users can go offline within a second.

Format

offline-speed offline-number

undo offline-speed

Parameters

Parameter Description Value
offline-number

Specifies the number of users that go offline within a second.

The value is an integer ranging from 50 to 256, in users per second.

Views

AAA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
aaa-access write

Usage Guidelines

Usage Scenario

If the user offline speed is too high, the CPU is overloaded. To dynamically control the user offline speed, run the offline-speed command to configure the offline speed. By doing so, you can limit CPU usage.

Configuration Impact

The configured offline speed takes effect for all users, regardless of their types, their address types, or their offline reasons.

If the offline-speed command is run more than once, the latest configuration overrides the previous one.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Configure the user offline speed to be 100 users per second.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] offline-speed 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >