< Home

snmp-agent trap enable feature-name ftp_server

Function

The snmp-agent trap enable feature-name ftp_server command enables the trap function for the Ftp_server module.

The undo snmp-agent trap enable feature-name ftp_server command disables the trap function for the Ftp_server module.

By default, the trap function is disabled for the Ftp_server module.

Format

snmp-agent trap enable feature-name ftp_server [ trap-name { hwftpnumthreshold | hwftpnumthresholdresume } ]

undo snmp-agent trap enable feature-name ftp_server [ trap-name { hwftpnumthreshold | hwftpnumthresholdresume } ]

Parameters

Parameter Description Value
trap-name Enables or disables the trap function for a specified event of the Ftp_server module. -
hwftpnumthreshold Enables the device to send a trap when the number of FTP users exceeds the threshold. -
hwftpnumthresholdresume Enables the device to send a trap when the number of FTP users falls below the threshold. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The Ftp_server module is not configured with all excessive traps. You can specify trap-name to enable the trap function for one or more events of the Ftp_server module.

You can run the display snmp-agent trap feature-name ftp_server all command to check the configuration result.

Example

# Enable the device to send a trap when the number of FTP users exceeds the threshold.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name ftp_server trap-name hwftpnumthreshold
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >