---
title: "Action Section Attributes"
canonical: "https://docs.infoblox.com/space/NCSG/23199820/Action%20Section%20Attributes"
format: markdown
---
> Macro (inline-media-image)

Action sections send CLI command strings to specified devices. Scripts use the Action section to execute CLI commands to set properties on a network device, or to generate output to be used by the Trigger or Issue sections. At least one Action section must be defined within any CCS script, and more than one Action section may be defined in a script. Action sections also may be used in combination with other attributes. The figure to the left indicates that multiple Action sections may be defined in a script.

Based on the response from each device across the CLI session, it's possible to make decisions on that CLI output, based on filtering that information to see if it matches a particular value or result; calling another Action as a result; calling an `Output-Trigge`r section of the script to execute a more-complex operation such as a loop (for example, to check a large number of interfaces on a single switch; see [ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199824)<span style="color: #0000ff">[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199824)</span>*<span style="color: #0000ff">[Trigger](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199824)</span>*<span style="color: #0000ff">[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199824)</span>[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199824)<span style="color: #0000ff">[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199824)</span>*<span style="color: #0000ff">[Section](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199824)</span>*<span style="color: #0000ff">[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199824)</span>[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199824)<span style="color: #0000ff">[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199824)</span>*<span style="color: #0000ff">[Attributes](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199824)</span>*<span style="color: #0000ff">[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199824)</span>[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199824) for more information), or if a particular state is shown in the CLI output as the result of the Action, display an Issue in NetMRI. (The section [ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199804)<span style="color: #0000ff">[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199804)</span>*<span style="color: #0000ff">[Issue](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199804)</span>*<span style="color: #0000ff">[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199804)</span>[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199804)<span style="color: #0000ff">[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199804)</span>*<span style="color: #0000ff">[Section](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199804)</span>*<span style="color: #0000ff">[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199804)</span>[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199804)<span style="color: #0000ff">[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199804)</span>*<span style="color: #0000ff">[Attributes](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199804)</span>*<span style="color: #0000ff">[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199804)</span>[ ](https://infoblox-docs.atlassian.net/wiki/spaces/NCSG/pages/23199804) shows an example.)

Attributes supported by the Action section include:

| **Attribute** | **Status** | **Purpose** |
| --- | --- | --- |
| `Action:` | (required) | name of Action |
| `Action-Description:` | (optional) | describes the Action |
| `Action-Filter:` | (optional) | defines when the Action should be executed |
| `Action-Commands:` | (required) | defines the device commands to be executed |
| `Action-Timeout` | (optional) | define a time period for the script to wait for output |
| `Output-Triggers:` | (optional) | defines how to process the output stream |
| `Action-Prompt:` | (optional) | defines the new prompt on an action |