Disabling Junos Scripts

 

Note: You can disable commit scripts and op scripts using this feature, however you will have to manually enable or disable event scripts on the router.

  1. In the Junos Scope main window, click Configuration > Repository > Scripts. The Scripts dialog box appears.
    Image s001521.gif

    All Junos scripts saved in the Junos Scope CVS repository are listed in the Scripts dialog box alphabetically by name. The dialog box displays the script filename, type, and the actions you can perform on scripts.

  2. Select the script you want to disable by clicking Disable in the Action column in the corresponding row. The Specify Devices and Time dialog box appears.
    Image s001516.gif
  3. Select the Disable on both REs. (In case of Dual RE device) option if you want to disable the script on both routing engines. In case of dual RE devices, selecting this option will allow you to disable the script on both the routing engine systems (i.e. master routing engine and backup routing engine).

    Note: The Disable on both REs. (In case of Dual RE device) option is ignored for single RE systems.

  4. Select the device or group of devices on which you want to disable the script from the Group or Select Devices list box. Shift-click to select multiple devices from the Select Device(s) drop-down list box.
  5. Select at what time you want to disable the script:
    • Now—(Default) Performs the disable operation immediately after you confirm it.
    • Save Operation as—Select to save the disable operation to run at a later time. Click Save Operation as, then type an operation name in the text box.
  6. Click Next. The Confirm Selection dialog box appears.
    Image disable_confirmslct_now.gif
  7. Confirm that the selections you made are correct and click Finish to disable the script on the selected router or group of routers. Click Previous to return to Specify Devices and Time dialog box without disabling the script.
    • If you selected Now in Step 4, disable occurs immediately and the View Status Records dialog box appears.
      Image s001489.gif

      The View Status Records dialog box lists the disable status by Operation name, Operation Type, Device Name, Report Name, User, Status, Start time, Last Updated Time and Message.

    • If you selected Save Operation as to save the disable operation, you return to the Configuration > Repository > Scripts menu. To view the saved operation, click Settings > Saved Operations.