No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionServer Pro X6000 Server iBMC (V300 to V369) User Guide 09

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Querying and Setting the SNMP Trap Mode (trap -d mode)

Querying and Setting the SNMP Trap Mode (trap -d mode)

Function

The trap -d mode command enables you to query and set the SNMP trap mode.

Format

ipmcget -t trap -d mode

ipmcset -t trap -d mode -v <option>

Parameters

Parameter

Description

Value

option

Indicates the SNMP trap mode.

  • 0 indicates the SNMP trap mode is Event Code.
  • 1 indicates the SNMP trap mode is OID.
  • 2 indicates the SNMP trap mode is Precise Alarm (recommended).

Usage Guidelines

Precise Alarm (recommended) provides more accurate information than OID and Event Code. For details, see Huawei Server iBMC Intelligent Management System SNMP API Description.

Example

# Set the SNMP trap mode to Event Code.

iBMC:/->ipmcset -t trap -d mode -v 0
Set trap mode Event Code success.

# Query the current SNMP trap mode.

iBMC:/->ipmcget -t trap -d mode
Trap mode: Event Code
Download
Updated: 2019-08-01

Document ID: EDOC1100019359

Views: 92753

Downloads: 98

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next