< Home

Stopping All Python Scripts

Context

If commands cannot be entered on the switch due to OPS Python script exceptions, stop all OPS Python scripts to make the switch work properly.

Procedure

  1. Run ops abort

    All OPS Python scripts are stopped.

Follow-up Procedure

To restore the OSPF function, perform the following operations:
  1. Run the system-view command to enter the system view.
  2. Run the ops command to enter the OPS view.
  3. Run the undo script-assistant python script-name command to delete the assistant of the abnormal Python script.
  4. Run the return command to return to the user view.
  5. Run the ops uninstall file script-name command to uninstall the abnormal Python script.
  6. Run the system-view command to enter the system view.
  7. Run the ops command to enter the OPS view.
  8. Run the undo assistant scheduler suspend command to enable the OPS assistant to restore the OPS function.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic