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

Log Reference

AR500, AR510, and AR530 V200R007

This document supports all the logs of device, including the parameters, meaning, possible causes and solution.
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).
OPSA/3/OPS_CLI_SUBSCRIBE_FAIL

OPSA/3/OPS_CLI_SUBSCRIBE_FAIL

Message

OPSA/3/OPS_CLI_SUBSCRIBE_FAIL: Script [script-name] fails to subscribe cli event [event-name], (pattern=[STRING], enter=[ULONG], sync=[ULONG], async_skip=[ULONG], sync_wait=[ULONG]).

Description

Failed to subscribe the CLI event using a user script.

Parameters

Parameter Name Parameter Meaning
[script-name] Indicates a user script name.
[event-name] Indicates an event name.
pattern Indicates the regular expression that matches commands.
enter Indicates the time when to match a regular expression:
  • True: A regular expression is matched immediately after Enter is pressed.

  • False: If an abbreviated keyword is specified in a command, a complete keyword will be matched against a regular expression.

sync Indicates whether to wait until the execution of scripts is complete after the command triggers an event:
  • True: yes

  • False: no

async_skip Indicates whether to skip the original command when the sync value is False:
  • True: yes

  • False: no

sync_wait Indicates the time taken by a command to wait for the execution of scripts if the sync value is True.

Possible Causes

Failed to subscribe the CLI event using a user script.

Procedure

  1. In the subscription phase of the user script, the parameter of the CLI event API (ops.cli.subscribe) may be invalid. You need to modify the script.
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097294

Views: 47119

Downloads: 31

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