< Home

snmp-agent session history-max-number enable

Function

The snmp-agent session history-max-number enable command enables the function of periodically obtaining the maximum number of the history sessions.

The undo snmp-agent session history-max-number enable command disables the function.

Format

snmp-agent session history-max-number enable [ interval interval ]

undo snmp-agent session history-max-number enable

Parameters

Parameter Description Value
interval Indicates the interval for obtaining the maximum number of the history sessions. The value is an integer ranging from 1 to 10080, in minutes. The default value is 1.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the function is enabled.

You can use the NMS software to query the maximum number of the history sessions through the hwSecStatHisSessNumMax object.

Example

# Set the interval for obtaining the maximum number of the history sessions to 10 minutes.

<sysname> system-view 
[sysname] snmp-agent session history-max-number enable interval 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >