< Home

display snmp-agent trap feature-name vfs all

Function

The display snmp-agent trap feature-name vfs all command displays all trap information about the VFS module.

Format

display snmp-agent trap feature-name vfs all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. It uses a central computer (a network management station) that runs network management software to manage network elements. The management agent on the network element automatically reports traps to the network management station. After that, the network administrator immediately takes measures to resolve the problem.

The display snmp-agent trap feature-name vfs all command can be used to display all traps on the VFS module.
  • Name of a trap supported on the VFS module: The trap name must be the same as that specified by the snmp-agent trap enable feature-name vfs [ trap-name trap-name ] command. The name of each trap indicates a fault on the network element.

  • Trap status on the VFS module: The trap name shows whether sending a trap is enabled.

Prerequisites

The SNMP function has been enabled on the network element. For the relevant command, see snmp-agent trap enable.

Example

# Display all trap information about the VFS module.

<HUAWEI> display snmp-agent trap feature-name vfs all
------------------------------------------------------------------------------
Feature name: VFS
Trap number : 5
------------------------------------------------------------------------------
Trap name                       Default switch status   Current switch status
hwFlhOperNotification           off                     off
hwSysMasterHDError              off                     off
hwSysSlaveHDError               off                     off
hwFlhSyncSuccessNotification    off                     off
hwFlhSyncFailNotification       off                     off
Table 1 Description of the display snmp-agent trap feature-name vfs all command output

Item

Description

Feature name

Name of the module that the trap message belongs

Trap number

Number of trap messages

Trap name

Alarm name:
  • hwFlhOperNotification: enables the system to send trap when the copy of flash is complete.
  • hwSysMasterHDError: enables the system to send trap when the hard disk of the master switch cannot be read and written because of some errors.
  • hwSysSlaveHDError: enables the system to send trap when the hard disk of the slave switch cannot be read and written because of some errors.
  • hwFlhSyncSuccessNotification: enables the system to send trap when the copy of flash is success.
  • hwFlhSyncFailNotification: enables the system to send trap when the copy of flash is failed.

Default switch status

Status of the trap function by default:
  • on: The trap function is enabled.
  • off: The trap function is disabled.

Current switch status

Current status of the trap function:
  • on: The trap function is enabled.
  • off: The trap function is disabled.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >