Using CLI text boxes for command sets

Use the Configuration Editor to specify command sets in the "CLI text box".

Before you begin

The label “CLI text box” in the folder tree allows you to enter commands that are not modeled into your command sets for application to network resources. Simply enter the appropriate native command language syntax into the CLI text box, and then mark the command as being added, deleted, or modified.

Note: CLI text boxes allow you to enter and edit commands that are not modelled. CLI text boxes are included throughout the configuration catalog. Be sure to use a text box in the proper location/level of the catalog for the command you want to edit.

About this task

To specify command sets in the "CLI text box", follow these steps.

Procedure

  1. Click a CLI text box label in the configuration catalog.
  2. Click the Add icon (plus sign).

    The right pane expands to show a text entry field.

  3. Enter a valid native command language entry.

    For any free text fields, such as banners, descriptions, login prompts, or password prompts, you must use delimiting characters where appropriate. Consult the help for the IOS you are using for specific rules.

  4. Click Add again to create a new text box for a new line of code. Each line of code (command) must be entered in a separate text entry box.

What to do next

After a command set containing values entered using CLI text boxes is successfully applied to a network resource, the changes are applied to the running configuration just like any other configuration change.

The next time that configuration is edited, the values will be displayed in the same CLI text boxes (same hierarchical level) as they were originally added within the command set, unless you added a modelled command to the CLI text box. In this case, the data you added will be displayed with the modeled command.