Using command sets
Command sets are snippets of resource configurations that
can be applied across multiple network resources. Command sets use
standard configuration syntax and markup to identify the commands.
Overview of command sets
Use this information to acquire an understanding of command sets.
About working with command sets
Use this information to obtain an overview of the tasks that you can perform when working with command sets
Creating command sets
The procedures to follow for creating a modeled command set and a native command set are identical. Note that in the following process any reference to command sets also applies to native command sets .
Copying command sets
The copy command set functionality enables you to create new command sets quickly based on information that exists in the command set you want to copy from.
Editing native command sets
After you have created or copied a native command set, you edit it using the Native Command Set Editor.
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.
Applying command sets
When applying a command set, the system verifies that the running and stored (candidate) configurations on each impacted resource are the same. If these are not the same, a mismatch error will be presented. This mismatch must be resolved before submitting any changes to the resource. After a successful configuration change, the system writes the running configuration to the stored/candidate configuration on each resource, ensuring that all three configurations (current, running, stored) are in synch.
Using command set parameters
Using the full parameter functionality, a user can set up a command set with a parameter rather than a defined value. There are three different types of parameters: Manual, Local, and Global. The method to use depends on the number of command sets, the number of parameters, and whether you know which commands the parameters represent.
Using CSV command sets
There are several different ways to apply a command set. You can select a command set and apply it to one or more network resources, or you can select one or more network resources and then apply a command set. You can also apply multiple command sets to multiple network resources. In addition, you can apply one or more command sets to a realm.
Defining command order
Network devices that are CLI based process commands in a sequential order. These CLI based commands have dependency requirements. With CLI ordering most command dependencies can be resolved. To be able to order the CLI correctly, these command dependencies are stored in a Native Command Generation Data file.