Cmc Profile - Juniper MEDIA FLOW MANAGER 2.0.2 - ADMINISTRATOR S GUIDE AND CLI Administrator's Manual

Administrator’s guide and cli command reference
Table of Contents

Advertisement

CHAPTER 5 CLI Commands

cmc profile

Configure profiles (sets of commands) that CMC can use on managed appliances.
cmc profile <profile_name>
apply group <group_name> [reset] [no-save]
apply appliance <appliance_id> [reset] [no-save]
execute group <group_name> command [<CLI command>]
execute appliance <appliance_name> command [<CLI command>]
rename <new_profile_name>
comment <comment>
command <sequence#> <CLI_command>
commands <CLI_commands>
extract-from appliance <appliance_ID>
Create or delete a profile with a name that describes a profile of cli commands which can be
applied to appliances. Notes:
apply
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
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>
comment <comment>
<profile_name>'. No other use. The 'no' modifier deletes the comment.
command <sequence #> <CLI command>
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>
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.
show cmc profiles
Lists all the profiles currently configured.
show cmc profiles <profile_name>
Shows the settings and commands in an individual profile.
108
cmc
—Applies a profile (a group of CLI commands) to a remote appliance or group. The
—Execute a single ad-hoc command on an appliance or group. The command is
—Add a comment to the profile for display in 'show profile
Media Flow Manager Administrator's Guide
—Rename the specified profile.
—Add a CLI command to the profile (create
—Extract running configuration from the
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

Table of Contents