Create or delete a profile with a name that describes a profile of cli commands which can be applied to appliances. Notes:
• apply—Applies a profile (a group of CLI commands) to a remote appliance or group. The reset option resets most of the configuration on the target system(s) to factory defaults before applying the profile. By default, the configuration is not reset but is saved to persistent storage with write memory after applying the profile; this can be skipped by using the no-save option.
• execute—Execute a single ad-hoc command on an appliance or group. The command is not stored persistently on the server. If the command is not specified on the command line, the system will prompt for it and echo the characters securely, in case the command is confidential.
• rename <new_profile_name>—Rename the specified profile.
• comment <comment>—Add a comment to the profile for display in 'show profile <profile_name>'. No other use. The 'no' modifier deletes the comment.
• command <sequence #> <CLI command>—Add a CLI command to the profile (create the profile if it doesn't already exist). The <sequence #> is an integer and controls the order within the profile as to when the particular CLI command will be executed. Commands are executed from smallest to largest <sequence #>. Use no cmc profile <profile_name> command [<sequence #>] to remove commands from a profile. If a sequence number is specified, only that one is removed; otherwise, all commands are removed.
• extract-from appliance <appliance_id>—Extract running configuration from the specified appliance and put it in the specified profile. If the profile already has commands in it, this command will fail. Certain CLI commands will be omitted, as they are expected to represent configuration local to the appliance: those pertaining to network interfaces, routing, ARP, hostname, the resolver, licensing, ssh, time zone, and the CMC itself.
Report an Error |
Media Flow Manager Administrator's Guide and CLI Command Reference |
Copyright © Juniper Networks, Inc. |