< Home

snmp-agent session trap threshold

Function

The snmp-agent session trap threshold command configures the alarm threshold of the total number of IPv4 sessions.

The undo snmp-agent session trap threshold command restores the alarm threshold of the total number of IPv4 sessions to the default value, namely, 80%.

Format

snmp-agent session trap threshold threshold-value

undo snmp-agent session trap threshold

Parameters

Parameter Description Value
threshold-value Specifies the alarm threshold of the total number of IPv4 sessions for a CPU.

The trap threshold here is a ratio. For example, if it is set to 85, a trap is generated once the session quantity of a CPU exceeds 85% of the specification.

The value is an integer ranging from 1 to 100. The default value is 80.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If the total number of IPv4 sessions of a CPU reaches the alarm threshold, alarm FWD_1.3.6.1.4.1.2011.6.122.15.3.2.1 hwSecStatSessOverThreshold is sent.

If the total number of IPv4 sessions of a CPU falls below the alarm threshold, alarm FWD_1.3.6.1.4.1.2011.6.122.15.3.2.2 hwSecStatSessBelowThreshold is sent.

Example

# Set the alarm threshold of the total number of IPv4 sessions for a CPU to 85%.

<sysname> system-view
[sysname] snmp-agent session trap threshold 85
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >