Mobileiron Command Line Interface Guide

Mobileiron is an MDM (Mobile Device Management) application used to manage multi platform devices such as iOS, Andriod and Microsoft. Providing secured email communication to mobile devices is very CRITICAL some times when you loose mobile. Using Mobileiron application you can simple control your lost mobile device remotely. Mobileiron Command Line Interface Guide.

[?]Display context sensitive help. This is either a list of possible command completions with summaries, or the full syntax of the current command. A subsequent repeat of this key, when a command has been resolved, will display a detailed reference.

AUTO-COMPLETION  – The following keys both perform auto-completion for the current command line. If the command prefix is not unique then the bell will ring and a subsequent repeat of the key will display possible completions.

[enter]Auto-completes, syntax-checks then executes a command. If there is a syntax error then offending part of the command line will be highlighted and explained.

[tab]Auto-completes, syntax-checks then executes a command. If there is a syntax error then offending part of the command line will be highlighted and explained.

[space]Auto-completes, or if the command is already resolved inserts a space.

Mobileiron Command Line Interface MOVEMENT KEYS

[CTRL-A] – Move to the start of the line
[CTRL-E] – Move to the end of the line.
[up] – Move to the previous command line held in history.
[down] – Move to the next command line held in history.
[left] – Move the insertion point left one character.
[right] – Move the insertion point right one character.

DELETION KEYS

[CTRL-C] – Delete and abort the current line
[CTRL-K] – Delete all the characters to the right of the insertion point.
[CTRL-U] – Delete the whole line.
[CTRL-D] – Quits from the session.
[backspace] – Delete the character to the left of the insertion point.

There are two modes in Mobileiron Core Console. You can access mobileiron using Putty tool Over SSH.
1. Non-Privileged Access
2. Privileged Access

In NON-Privileged mode you can execute below commands which are limited

  • enable Turn on privileged commands
  • exit Exit from the EXEC
  • help Description of the interactive help system
  • host Query Internet name servers
  • logout Exit from the EXEC
  • ping Send echo messages
  • show Show running system information
  • speedtest Performs speed test for disk memory and cpu
  • timeout CLI Idle timeout.
  • traceroute Trace route to destination

Mobileiron Command Line Interface Guide

Performs Speed test for disk memory and CPU

>speedtest
 Warning: System performance may be impacted while the test is in progress
 Proceed? (y/n)n

Change from Non-Privileged to Privileged Mode

> enable
 Password: (Provide Privileged Password)

User prompt will change from $ to #.

Privileged Mode Commands Mobileiron

To See IP Address of mobile iron box

show ip interface brief GigabitEthernet 1

Repository Version Username and Password

show software repository
 https://support.mobileiron.com/mi/vsp/9.1.1.0-29/mobileiron-9.1.1.0-29/ arkit ***

Mobileiron CORE Installed Version

show version
 CORE 8.5.0.2 Build 7 (Branch toronto-core-release)

df like command to see disk partition usage details

show system disk

Filesystem Size Used Avail Use% Mounted on
 /dev/sda3 68G 37G 28G 57% /
 tmpfs 3.9G 5.2M 3.9G 1% /dev/shm
 /dev/sda1 95M 72M 19M 80% /boot

See Host Name

show hostname

Running Services Status

show service

+------------+-----------+---------------
 Servicename + Enabled + Max.Sessions
 +------------+-----------+---------------
 ssh yes 5
 telnet no
 ntp yes

List all Installed RPM’s

install rpm info

Install RPM From cdrom

install rpm cdrom

Install Package by providing its path

install rpm file <FILE PATH>

 You also install RPM using it’s direct URL

install rpm url <URL>

START / STOP and check STATUS of particular service

 service iptables status
 service iptables stop
 service iptables start

Check tomcat

service tomcat status/start/stop

Updating Grub – Updates the grub configuration. Requires reload

grubupdate

Check for updates or update software

 software checkupdate
 software clear-updates
 software force-update
 software update

Halt and Cold Restart

reload

Set CLI Idle timeout. If you connected using CLI and your not using more certain Idle time CLI will close after specified minutes. Positive integer between 0 to 9999 in minutes

timeout (0-9999)
  • clear Reset functions
  • configure Enter configuration mode
  • dbcleanup Delete duplicate and unused rows from the tables.
  • disable Turn off privilized commands
  • diskcleanup Delete unwanted data from the disk.
  • end Exit from privilige context
  • exit Exit from the EXEC
  • failover Commands to assist with managing appliance failover.
  • grubupdate Updates the grub configuration. Requires reload
  • haenable Enable CORE HA version 2.0. Requires MICS service to restart
  • help Description of the interactive help system
  • host Query Internet name servers
  • install Install tools or rpms
  • logout Exit from the EXEC
  • no Negate a command or set to its defaults
  • ping Send echo messages
  • poweroff Power off the system.
  • reload Halt and perform a cold restart
  • service Allows you do service operations
  • setup Run the SETUP command facility
  • show running system information
  • software Check for updates or update software
  • ssh Open a ssh connection
  • telnet Open a telnet connection
  • timeout CLI Idle timeout.
  • traceroute Trace route to destination
  • write Save configuration

Conclusion

Mobileiron Command Line Interface is an easy to setup application and its rules. I have explained commands little bit but there are more commands in mobileiron core console.

Related Articles

bash if statement make decisions

Nagios Core Version Upgrade

Java Update in Linux

Thanks for your wonderful Support and Encouragement

Ravi Kumar Ankam

My Name is ARK. Expert in grasping any new technology, Interested in Sharing the knowledge. Learn more & Earn More

3 Responses

  1. Do you have any video of that? I’d want to find out more details.

  2. ikuto says:

    Hello
    there is another command devshell
    do you know how to login to that mode?

  3. blank Deviance says:

    “Mobileiron Command Line Interface is an easy to setup application and its rules”

    I cannot agree with this. It is a completely pointless limited CLI, others get it much better. How do I exit this crappy shell?

Leave a Reply

Your email address will not be published. Required fields are marked *