Editing modeled command sets
After you have created or copied a command set, you use the Command Set Editor to add commands and logic to each command set.
Procedure
Command Set Editor icons and functionality.
- Icons along the top right panel
- Use these icons to apply markup to the commands. The markup determines whether commands are added, modified, or deleted from the configuration when it is applied.
- Bottom of screen: 'Command Set' label
- This label indicates that you are using the Command Set Editor rather than the standard GUI editor.
- Bottom of screen: Current mode
- The current mode is either 'Match' or 'Replace'.
- Bottom of screen: Save needed
- This icon indicates that a save is needed, and disappears once you have saved the Command Set.
Example
- Add a Command
- Define commands: From the left pane of the Command Set Editor, select the command you wish to add. In the right pane, fill out or select the parameters as you would for a standard change in the GUI editor.
- Add the Mark Up: From the right pane, highlight the command you added in the first step and click the green '+' icon from the markup options at the top. If it is greyed out, the editor is in Match mode. Click the double up-arrow on the right end of the markup icons to switch to Replace mode and you will be able to select the green '+'. (Note that if you had to change modes, highlight the command again.) Verify that the green '+' now appears on the command. Also notice that there is now an orange diamond on the top level command. This indicates that this command structure will be modified by this Command Set. The left pane also shows the mark up.
- Save: Save the command set.
- Delete a Command
- Define commands: From the left pane of the Command Set Editor, select the command you wish to remove. In the right pane, fill out or select the parameters that match what you will be removing.
- Add the Mark Up: From the right pane, highlight the command you defined in the first step and click the red '-' icon from the markup options at the top. If it is greyed out, the editor is in Match mode. Click the double up-arrow on the right end of the markup icons to switch to Replace mode and you will be able to select the red '-'. (Note that if you had to change modes, highlight the command again.) Verify the red '-' is now showing on the command. The left pane also shows the mark up.
- Save: Save the command set.
- Modify (or match-and-replace) a Command
- This procedure differs slightly in that the Define Commands step is performed twice – once for the match portion and once for the modify portion.