Management

How do you delete an AI-Script from a device?

By Elevate posted 03-30-2016 05:28

  

Question

How do you delete an AI-Script from a device?

Answer


You can delete AI-Scripts from the device in the following ways:

NOTE: We recommend that configuration of AI-Scripts Release 5.0R1.0 and later be deleted from a device by using Junos Space Service Now as Service Now calls the correct operational scripts as needed. However, if the connection between Service Now and the device is disrupted and you are unable to reach the device through Service Now, use one of the following commands to delete AI-Scripts from the device.

  • Use request system scripts delete to remove AI-Scripts from each Routing Engine individually.
  • On a multi-chassis system, use op script as follows on the primary Routing Engine to delete AI-Scripts
    • Use op remove-jais partial-jais-removal true to delete all files from the AI-Scripts Install package but retain AI-Scripts configuration and AI-Scripts parameter settings and delete other configurations related to AI-Scripts including the configuration for group juniper-ais.
    • Use op remove-jais remove-jais-configuration true to delete all files from the AI-Scripts Install package and all AI-Scripts related configurations including group juniper-ais.
    • If the static AI-Scripts configuration has been removed or deactivated, use op url /var/db/scripts/op/remove-jais.slax, to remove AI-Scripts files and leave the configuration unchanged on a device.

 For more information about the CLI commands, see AI-Scripts Feature Guide

 


#JunosSpace
#FAQ
#ai-scripts
#routingengine
0 comments
0 views

Permalink