A list of available CLI commands for managing the On-Premises Gateway.
To access the TMWS on-premises Command
Line Interface (CLI), do the following:
-
User either of the following methods to log in to the TMWS on-premises backend:
-
Connect to VMware ESXi and open the TMWS on-premises console. Then log in to the TMWS on-premises backend using your root account credentials.
-
Log in to the TMWS on-premises backend in SSH mode using your root account credentials.
-
-
Enter the CLI by running the
#clish
command.
The following tables list out the commands you can use to manage the On-Premises Gateway.
Normal mode
Command
|
Description
|
Example of Usage
|
enable
|
Enters privileged mode where privileged commands are run.
|
>enable
|
exit
|
Exits the session.
|
>exit
|
help
|
Displays an overview of the CLI help information.
|
>help
|
history
|
Displays the current session's command line history.
|
>history
|
logout
|
Logs out of the current CLI session.
|
>logout
|
ping
|
Pings a specified host.
ping destination web address, either IPv4 or FQDN.
|
>ping x.x.x.x
>ping www.example.com
|
resolve
|
Resolves an IPv4 address on the network.
resolve destination web address, either IPv4 or FQDN.
|
>resolve x.x.x.x
>resolve www.example.com
|
show
|
Displays system and configuration information for TMWS.
show kernel/memory info
|
>show kernel iostat
>show kernel messages
>show kernel modules
>show kernel parameters
>show memory statistic
>show memory vm
|
traceroute
|
Displays the route a packet takes to a specified destination.
traceroute destination web address, either IPv4 or FQDN.
|
>traceroute x.x.x.x
>traceroute www.example.com
|
Privileged mode
Command
|
Description
|
Example of Usage
|
configure
|
Configures system settings, including the network and system.
|
# configure network basic
***Network Configuration***
Specify a value for each item and press ENTER. Settings apply to the management port
(eth0) and require a restart.
Host name:localhost.local
Data interface:eth0
method[static,dhcp]:static
IPv4 address:x.x.x.x
IPv4 Subnet mask:y.y.y.y
IPv4 gateway:z.z.z.z
Preferred DNS:a.a.a.a
Alternate DNS:
Confirm changes and restart (Yy/Nn):y
# configure system password
Type a new password and press Enter in 30 seconds >
Confirm the new password and press Enter in 30 seconds >
|
exit
|
Exits privileged mode.
|
# exit
|
help
|
Displays an overview of the CLI help information.
|
# help
|
history
|
Displays the current session's command line history.
|
# history
|
logout
|
Logs out of the current CLI session.
|
# logout
|
ping
|
Pings a specified host.
|
# ping x.x.x.x
# ping www.example.com
|
reboot
|
reboot [time]
Reboots the TMWS appliance
immediately or after a specified delay.
[time] Optional delay in minutes before rebooting the TMWS [0]
|
# reboot
Do you want to reboot this computer? (y/n):y
# reboot 3
Do you want to reboot this computer? (y/n):y
|
resolve
|
Resolves an IPv4 address on the network.
|
# resolve x.x.x.x
# resolve www.example.com
|
show
|
Displays system and configuration information for TMWS.
|
# show kernel iostat
# show kernel messages
# show kernel modules
# show
kernel parameters
# show memory statistic
# show memory vm
|
shutdown
|
shutdown [time]
Shuts down the TMWS appliance
immediately or after a specified delay.
[time] Optional delay in minutes before shutting down the TMWS appliance [0]
|
# shutdown
Do you want to shutdown this computer? (y/n):y
# shutdown 3
Do you want to shutdown this computer? (y/n):y
|
traceroute
|
Displays the route a packet takes to a specified destination.
|
# traceroute x.x.x.x
# traceroute www.example.com
|
NoteTo enter the privileged mode, use the
>enable command. |