How to configure my CLI to work against an on-prem instance

To configure the CLI you should run the following command:

ol config hub --hub-url <OPENLEGACY HUB URL> local
ol config hub local --active