< Home

detect max-packets

Function

The detect max-packets command specifies the maximum number of packets to be detected by the SA module.

The undo detect max-packets command restores the maximum number of packets detected by the SA module to the default value.

By default, the maximum number of packets is 8.

Format

detect max-packets max-packets

undo detect max-packets

Parameters

Parameter Description Value
max-packets Specifies the maximum number of packets in a session. The value is an integer ranging from 1 to 64.

Views

SA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The specified maximum number of packets to be detected covers both directions in a session.

Prerequisites

Before running this command, you must run the defence engine enable command to enable the IAE.

Example

# Set the maximum number of packets to be detected by the SA module to 20.

<HUAWEI> system-view
[HUAWEI] defence engine enable
[HUAWEI] sa
[HUAWEI-sa] detect max-packets 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >