Editing native command sets

After you have created or copied a native command set, you edit it using the Native Command Set Editor.

Procedure

  1. Highlight the native command set you want to edit, and select Edit > Edit from the menu bar.
    Alternatively, you can select Edit from the right-click menu.
    The native command sets is opened in edit mode.
  2. Edit the native command set.
    The Native Command Set Editor is a simple text editing window. To edit commands, enter valid CLI commands within the text editing window. Use the following descriptions as a guide, and select File > Save when done.
    Native command set type
    Select one of the two following native command set types:
    Configuration change
    Configuration change commands are used for applying a modification to the configuration.
    Interrogation
    Interrogation commands are used for information retrieval
    Note: You cannot use a combination of the two types within the same command set.
    Line by line
    If you select Line by line, you need to further define this option by choosing one of the following two options from the dop-down list:
    • Stop at first error
    • Process all, ignore errors
    Tip: When editing native command sets for Cisco CATOS switches, use line by line mode. Non-line by line mode will not throw an error for anything in a TFTP file. Therefore, no error message is seen by Netcool Configuration Manager. This results in the UOW saying it is successful when it actually failed. In addition, there is no indicator in the UOW or icos logs that there was any problem. Using line by line of the native command set catches the error, fails the change, and rolls back the configuration change as needed.
    Script syntax and examples
    For more information on native command set scripting, such as syntax, methods and sample scripts, see the related links.