Editing Scripts

 



Overview

 

IOS Simulator comes along with a Script Editor which allows you to view and edit the script file configured for the commands. It gives a list of all the IOS commands supported for the specific device. Selecting a command will display the script file configured for the command. You can view and edit the script file as per your requirement.

 

Using Script Editor

 

Right-click on the Router/Switch device in the network which supports CLI protocol and select CLI -> Commands Script. The CLI commands Script Editor is invoked. It displays the IOS commands and the scripts implemented for the commands on the left-side tree structure as shown in the image below. The commands are organized based on the modes in which it is supported.  

 

 

 

The icon shows that a script file is configured for the command. For example : In Enable mode, in the command, show cdp entry all, the script file show_cdp_entry_all_en.py will be implemented when the complete command is entered in the CLI console.

 

The following options are provided in the script editor to edit and save the changes or revert back.

 

Revert : To revert back the changes made in the current file.

Revert All : To revert back the changes made in all the files.

Save : To save the changes made in the current file.

Save All : To save the changes made in all the files



Copyright © 1996-2006, AdventNet Inc. All Rights Reserved.