Use the commands in this section to generate and schedule static reports for managed appliances. The commands are executed once; they are not stored.
Note
For comprehensive information about the reporting commands, see the User Guide for the managed appliance.
If you omit the command parameter from these commands, you will be prompted for it, and the characters you enter will be masked for confidentiality.
This topic describes how to execute a single command. You can also define a profile of commands that run in sequence unattended. See Working with command profiles .
Enable the CLI configuration mode:
hostname > enable hostname # configure terminal
Execute the command:
hostname (config) # cmc execute appliance <applianceName> command ["<command>"]where
commandis a form of thereport generateorreport schedulecommand and must be enclosed in double quotation marks.
Enable the CLI configuration mode:
hostname > enable hostname # configure terminal
Execute the command:
hostname (config) # cmc execute group <groupName> command ["<command>"]where
commandis a form of thereport generateorreport schedulecommand and must be enclosed in double quotation marks.
Important
You can cancel the execution of outstanding commands, as described in Canceling outstanding commands .
Example
This example generates an Alert Details report on behalf of the NX-04 appliance.
hostname (config) # cmc execute appliance NX-04 command "report generate type Alert_Details report_format csv report_detail normal alert_type malware-object time_frame past_month transport file"Execute report command. Check email or WebUI for report.