< Home

snmp-agent trap enable feature-name vfs

Function

Using the snmp-agent trap enable feature-name vfs command, you can enable the trap function for the VFS module.

Using the undo snmp-agent trap enable feature-name vfs command, you can disable 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 trap-name Enables or disables the trap function for a specified event of the VFS module. -
hwflhopernotification Enables the trap function for the event that a copy operation related to the flash memory completes or fails. -
hwflhsyncfailnotification Enables the trap function for the event that a copy operation related to the flash memory fails. -
hwflhsyncsuccessnotification Enables the trap function for the event that a copy operation related to the flash memory succeeds. -
hwsysmasterhderror Enables the trap function for the event that the switch hard disk cannot read or write data due to an error. -
hwsysslavehderror Enables the trap function for the event that the standby switch hard disk cannot read or write data due to an error. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You can specify trap-name to enable the trap function for one or more events of the VFS module.

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

Example

# Enable the trap function for hwflhsyncsuccessnotification.

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