Use the commands in this section to view detection and analysis results on managed appliances by executing individual commands on behalf of them. The commands are executed once; they are not stored.
Note
For comprehensive information about the detection and analysis commands, see the User Guide for your appliance.
Note
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.
Note
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.
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Execute the command:
hostname (config) # cmc execute appliance <applianceName> command ["<command>"]where
commandmust be enclosed in double quotation marks.
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Execute the command:
hostname (config) # cmc execute group <groupName> command ["<command>"]where
commandmust be enclosed in double quotation marks.
Important
You can cancel the execution of outstanding commands, as described in Canceling outstanding commands.
Example
This example executes the show alerts summary command on behalf of the NX-04 appliance.
hostname (config) # cmc execute appliance NX-04 command "show alerts summary"
============ Appliance NX-04 ============
Execution was successful.
Execution output:
Domain Match : 2182
Web Infection : 6133
Malware Callback : 27273
Infection Match : 4035
Malware Object : 12564
Total Alerts : 52187