< Home

snmp-agent trap enable feature-name bulkstat

Function

The snmp-agent trap enable feature-name bulkstat command enables the Trap function of the Batch Statistics Collection Module.

The undo snmp-agent trap enable feature-name bulkstat command disables the Trap function of the Batch Statistics Collection Module.

Format

snmp-agent trap enable feature-name bulkstat [ trap-name { hwbulkstatcollectincomplete | hwbulkstatcollectresume | hwbulkstattransferfilediscard | hwbulkstaturlconnectionfail | hwbulkstaturlconnectionresume } ]

undo snmp-agent trap enable feature-name bulkstat [ trap-name { hwbulkstatcollectincomplete | hwbulkstatcollectresume | hwbulkstattransferfilediscard | hwbulkstaturlconnectionfail | hwbulkstaturlconnectionresume } ]

Parameters

Parameter Description Value
trap-name Enables the traps of BulkStat events of specified types. -
hwbulkstatcollectincomplete Indicates the incomplete trap that is collected in the file during the collection period. -
hwbulkstatcollectresume Indicates that the collection works normally in the latter collection period. -
hwbulkstattransferfilediscard Indicates that the file is discarded due to transfer failure. -
hwbulkstaturlconnectionfail Indicates that the URL connection failed during file transfer. -
hwbulkstaturlconnectionresume Indicates that the URL connection recovered in file transfer. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the trap function is disabled on the Batch Statistics Collection Module.

Example

# Enable the hwbulkstatcollectincomplete Trap function of the Batch Statistics Collection Module.

<sysname> system-view
[sysname] bulk-stat enable
Info:Succeeded in enabling the bulk stat function.
[sysname] snmp-agent trap enable feature-name bulkstat trap-name hwbulkstatcollectincomplete
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >