Usage Scenario
If commands cannot be entered
on the switch due to OPS Python script exceptions, run the ops abort command to stop all OPS Python scripts to make
the switch work properly.
Prerequisites
Running
the ops abort command on the master switch will not be captured
by the CLI event subscription API (ops.cli.subscribe), but running
this command on the standby switch will be captured by this API.
Follow-up
Procedure
To restore the OSPF function, perform
the following operations:
- Run the system-view command to enter the system view.
- Run the ops command to enter the OPS view.
- Run the undo
script-assistant python script-name command to delete the assistant of the abnormal Python script.
- Run the return command to return to the user view.
- Run the ops uninstall file script-name command to uninstall the abnormal Python script.
- Run the system-view command to enter the system view.
- Run the ops command to enter the OPS view.
- Run the undo assistant scheduler suspend command to enable
the OPS assistant to restore the OPS function.