CLI Commands : cmc : cmc appliance

cmc appliance
Configure managed appliances.
cmc appliance <appliance_ID>
address <IP_address>
auth {password [password <pw> |username <username><pw>] | {ssh-dsa2 | ssh-rsa2} identity <identity> [push [username<user> password<pw>]}
authtype
check-status
client-requests enable
comment
connection {auto | reconnect | connect | disconnect}
enable
port <port#>
remove-key
rename <new_appliance_ID>
source address <IP_address> port <port#>
Create or delete (with no) an <appliance ID> for a remote appliance to manage; also enter an address and port number. NOTE: this will interrupt any active operations on this appliance (e.g. applying a profile), as it will cause the connection to the appliance to be immediately broken and reformed. Notes:
address—Sets the IP address or hostname that the Media Flow Controller uses when attempting to communicate with the appliance. Use no to reset the address to be the same as <appliance_id>.
password username <username> password [<password>]—Sets the remote user (default is admin) and password (default is empty) which are used for password authentication. Select the defaults with the no form of the commands. If the positive form of the password command is used with no password, the user is prompted for the password; any entries echo only with the star (*) character, and the user must enter the same string twice for confirmation.
ssh-dsa2 or ssh-rsa2 username <username> identity <identity>—Sets the remote user (default is admin) and the name of the identity which are used for ssh-dsa2 or ssh-rsa2 authentication. There is no default identity, so it must be specified if ssh-dsa2 authentication is used. The identity is the name of an identity previously created with one of the cmc auth commands.
push [username<username> password [<password>]—For a given appliance, push the public key part of the specified identity onto the appliance (via SSH). If the username and password are specified, those are used to log into the appliance for pushing the key. The password may be specified as "" if the account doesn't require one. If the username and password are omitted, the configured settings for password authentication on this appliance are used, even if password authentication is not the enabled authtype. The username is not verified (other than explicitly forbidding usernames that contain the @ character).
authtype—Sets the authentication type to use when connecting to the appliance. Must be one of password (default), ssh-dsa2, or ssh-rsa2. Use no to reset the default.
check-status—Enable or disable status checking for this particular appliance. See the global cmc status commands for more details.
client-requests enable—Enable or disable processing of proxied client requests from this particular appliance. See the corresponding global command cmc server client-requests enable for more details.
comment—Add a comment to the appliance; view with show appliance <appliance_id>. Use no cmc appliance <appliance_ID> comment to delete the comment.
auto—Specify whether or not Media Flow Controller should automatically try to connect to this appliance for management. If disabled, Media Flow Controller waits for either a manual connection request, or for the client to initiate the connection.
reconnect [maintain]—Break the connection to this appliance (if any), and immediately attempt to reconnect. If this attempt fails, the reconnection retry interval is reset to its shortest value. The optional maintain parameter puts the appliance temporarily into an auto-connect mode (as if the auto-connect option were set), except that this only lasts until the next manual disconnect, or the system is rebooted.
connect [maintain]—Attempt to initiate a connection to the client, if Media Flow Controller doesn't already have one. The optional maintain parameter is the same as described with the reconnect command above.
disconnect—Break any connection Media Flow Controller currently has with the client. Note that if auto-connect is enabled, this acts the same as reconnect. But if there is a temporary auto-connect enabled through maintain to the connect or reconnect commands, this undoes that override, so Media Flow Controller returns to behaving as auto-connect is set.
enable—Enable or disable (with no) this appliance from being managed. No connection is made to the appliance unless it is enabled.
port—Set the port to use when initiating a connection with this appliance. Use no to reset the default, 22, the standard SSH port.
remove-key—Remove a known host from root's .ssh known_hosts file.
rename—Change the name/ID of an appliance record. There may not already be a record with the new ID; if there is, this command fails.
source—Configure options for client-initiated connections from this appliance.
address—Set the IP address from which Media Flow Controller gets client-initiated connections from this appliance. If set, Media Flow Controller does not accept client-initiated connections from this appliance unless the source address matches this setting. Use no to clear this field, so Media Flow Controller verifies against the main appliance address (configured with cmc appliance <appliance_id> address <address>).
port—Set the source port from which Media Flow Controller gets client-initiated connections from this appliance. If set, Media Flow Controller does not accept client-initiated connections from this appliance unless the source port matches this setting. Use no to clear this field, which means Media Flow Controller does not verify the source port.
show cmc [appliances [<appliance_ID>] [brief]]
Gives an overview of the CMC's configuration and operational status. Use appliance option to list all the appliances currently configured, and gives their status. Use <appliance_ID> to show the settings and status for an individual appliance, in full. Use brief option to show only a brief summary of each appliance; otherwise, we show each in full.

Report an Error
Media Flow Manager Administrator's Guide and CLI Command Reference
Copyright © Juniper Networks, Inc.