Starting CLI on a single node
Steps to start CLI and connect to a particular Cassandra instance.
To start the CLI and connect to a particular Cassandra instance, launch the script together with -host and -port options. Cassandra connects to the cluster named in the cassandra.yaml file. Test Cluster is the default cluster name.
$ cassandra-cli -host localhost -port 9160