CliQr is now part of Cisco Learn More About Cisco

CloudCenter CLI Overview


CloudCenter's command-line access is available to experienced CloudCenter platform, system, and tenant administrators to perform multiple functions using the CloudCenter Command Line Interface (CLI). The CloudCenter CLIs allow yet another form of interaction with CliQr!

Rerun Bash Framework

CloudCenter CLIs are based on the rerun Bash framework - a modular shell automation framework that CliQr uses to organize CloudCenter's scripts that call multiple CliQr APIs.

Timestamp Format

CloudCenter CLIs support the Unix epoch time down to the millisecond level.

CloudCenter APIs are agnostic to dates and timezones.

CLI Prerequisites

To use the CloudCenter CLIs, be sure to address the following prerequisites:

  • Supported OS: Linux, OS X, Unix, and Windows CYGWIN.
  • The Setup CloudCenter CLI process assumes that you have already installed Bash, version 4.x.
  • Mac users:

    • The Setup CloudCenter CLI process assumes that you have the latest XCode version for Macs.
    • Use the following command to install Homebrew (required to update Bash):

      ruby -e "$(curl -fsSL"

    • The Setup CliQr CLI process assumes that you have already installed the following utilities:

      • Some Mac computers have an older version of the Bash framework. In these cases, update your Mac to use Bash, version 4.x.
        1. Check the bash version:
          bash -version && which bash
        2. Get the latest bash version:
           brew install bash
           This command installs bash to /usr/local/cellar/bash/4.*/bin/bash  
        3. The old bash and sh versions still exists in the /bin folder. After installing the new bash version, rename the old executables
           $ sudo mv /bin/bash /bin/bash_old 
           $ sudo mv /bin/sh /bin/sh_old
        4. Replace/create a symbolic link to the newly installed bash version.
          $ sudo ln -s /usr/local/Cellar/bash/4.*/bin/bash /bin/bash
          $ sudo ln -s /usr/local/Cellar/bash/4.*/bin/bash /bin/sh

Setup CloudCenter CLI

See CloudCenter CLI Setup.





  • No labels