< Home

snmp-agent trap enable feature-name vfs

Function

The snmp-agent trap enable feature-name vfs command enables the trap function for the VFS module.

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

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

Format

snmp-agent trap enable feature-name vfs [ trap-name { hwflhopernotification | hwflhsyncfailnotification | hwflhsyncsuccessnotification | hwsysmasterhderror | hwsysslavehderror } ]

undo snmp-agent trap enable feature-name vfs [ trap-name { hwflhopernotification | hwflhsyncfailnotification | hwflhsyncsuccessnotification | hwsysmasterhderror | hwsysslavehderror } ]

Parameters

Parameter Description Value
trap-name Enables the traps of VFS events of specified types. -
hwflhopernotification Enables the system to send trap when the copy of flash is complete. -
hwflhsyncfailnotification Enables the system to send trap when the copy of flash is failed. -
hwflhsyncsuccessnotification Enables the system to send trap when the copy of flash is success. -
hwsysmasterhderror Enables the system to send trap when the hard disk of the master board cannot be read and written because of some errors. -
hwsysslavehderror Enables the system to send trap when the hard disk of the slave board cannot be read and written because of some errors. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The VFS module is not configured with the function of excessive traps. To enable the traps of one or more events, you can specify trap-name.

Example

# Enables the system to send trap when the hard disk of the slave board cannot be read and written because of some errors.

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