Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For local installations of ONOS, the ONOS CLI can be accessed with the command  karaf clean. For remote installations, e.g. ONOS instances deployed with onos-package and onos-install, the onos command can be used to attach to running instance from the shell of the remote running instance. target machine.

Finally, as describe in Installing and Running ONOS, the onos command can be used to attach to a remote ONOS instance directly from the local machine (i.e. without logging in first). For example, to access the CLI of an ONOS instance running at 192.168.56.30: 

Code Block
languagetext
$ onos 192.168.56.30

Both Ctrl-D and logout exits the CLI.

Tip
Note, in the case that karaf clean was used to start the CLI, exiting the CLI will cause the ONOS instance to terminate.

ONOS Commands

ONOS supplies a set of its own commands. help onos lists the available commands: 

...