CLI Reference
Reset the Traffic Accounting Statistics
To reset all local traffic accounting statistics, use the following command on the control server.
vfcli-ctrl server:traffic-statistics reset-all
To reset ALL traffic accounting statistics (including the datastore), use the following command on the control server.
vfcli-ctrl server:traffic-statistics reset-all --include-datastore
Move VNC to the Relay
Report what stands in the way of moving VNC to the relay, changing nothing.
vfcli-ctrl vnc:convert --check
Move it. This cannot be undone. See Moving VNC to the Relay.
vfcli-ctrl vnc:convert
Agent Debug Report
Show what a hypervisor's agent reports about itself, as JSON. See Relay and Agent.
vfcli-ctrl agent:debug <hypervisor ID>
Cancel a Task
You may cancel a task if its run time is more than 10 minutes.
vfcli-ctrl task:cancel
Force Remove a Hypervisor and its Servers
vfcli-ctrl hypervisor:force-remove
Set a Hypervisor to Re-Commission State
vfcli-ctrl hypervisor:re-commission
Reset an Administrator Password
vfcli-ctrl user:reset-admin-password
Reset System Access Credentials
vfcli-ctrl system:reset-access-credentials
Force Flush Backups based on Storage ID
vfcli-ctrl backups:force-flush
Regenerate Backup Storage Keys
vfcli-ctrl backup-storage:reset-key
Disable Captcha
vfcli-ctrl captcha-off
Disable forcing admins and end users to activate TFA
vfcli-ctrl tfa-force-off
Change Server Creation Date
Important
Changing a server creation date will remove the monthly historical traffic statistics.
vfcli-ctrl server:creation-date SERVER_ID 'YYYY-MM-DD HH:MM:SS'
Retrieve Last Used Password for a Server
vfcli-ctrl server:password show <SERVER_ID>
Admin IP Restrict
Enable
vfcli-ctrl admin:ip-restrict enable
Disable
vfcli-ctrl admin:ip-restrict disable
Add address
vfcli-ctrl admin:ip-restrict addip IP_TO_ADD
Delete address
vfcli-ctrl admin:ip-restrict delip IP_TO_DELETE