< Home

access-user portal speed-limit

Function

The access-user portal speed-limit command sets the limit of the rate at which Portal protocol packets are sent to the CPU.

The undo access-user portal speed-limit command restores the default limit of the rate at which Portal protocol packets are sent to the CPU.

By default, the limit of the rate at which Portal protocol packets are sent to the CPU depends on the device model.

Format

access-user portal speed-limit value

undo access-user portal speed-limit [ value ]

Parameters

Parameter Description Value
value Specifies the rate limit. The value is an integer in the range from 5 to 2000, in pps.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

When a switch processes two many Portal protocol packets, the CPU usage may become high and other services are affected. To address this issue, run the access-user portal speed-limit command to set the limit of the rate at which Portal protocol packets are sent to the CPU. If the rate at which Portal protocol packets are sent to the CPU exceeds the specified value, the switch discards the excessive Portal protocol packets.

Example

# Set the limit of the rate at which Portal protocol packets are sent to the CPU to 50 pps.

<HUAWEI> system-view
[HUAWEI] access-user portal speed-limit 50
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >