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


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


Log Reference

AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 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: Script [script-name] fails to subscribe cli event [event-name], (pattern=[STRING], enter=[ULONG], sync=[ULONG], async_skip=[ULONG], sync_wait=[ULONG]).


Failed to subscribe the CLI event using a user script.


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.


  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.
Updated: 2019-05-29

Document ID: EDOC1000097209

Views: 127697

Downloads: 188

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next