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

Huawei Rack Server iBMC (V260 to V278) User Guide 11

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 State (trap -d state)

Querying and Setting the SNMP Trap State (trap -d state)

Function

The trap -d state command is used to query and set the SNMP trap state.

Format

ipmcget -t trap -d state [-v destination]

ipmcset -t trap -d state -v [destination] <disabled | enabled>

Parameters

Parameter Description Value
destination

Identifies an SNMP trap destination.

  • Value range: 1 to 4

  • If this parameter is not specified, the command is used to set the trap function.

disabled Disables SNMP trap. -
enabled Enables SNMP trap. -

Usage Guidelines

  • To set trap for a specific channel, specify destination. The value range of destination is 1 to 4.

  • To enable or disable the trap function, leave destination unspecified.

Example

# Disable SNMP trap destination 1.

iBMC:/->ipmcset -t trap -d state -v 1 disabled
Set trap dest1 disabled successfully.

# Query the state of SNMP trap destination 1.

iBMC:/->ipmcget -t trap -d state -v 1
trap dest1 state : disabled
Download
Updated: 2019-02-28

Document ID: EDOC1000177670

Views: 107158

Downloads: 566

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