Command Line Interface is a user-friendly interface. It is mostly used in network device management. Using Command Line Interface, user can easily communicate to any component in a computer, hardware device, network device, operating system, and other applications.
Despite advances in network management technologies and the advent of other popular management protocols, such as SNMP, there are still numerous devices in the network, which offer CLI as the only way or preferred way of managing them. Also CLI-based configuration tasks have been simplified using scripts. Thus it has become by far the most prevalent management connectivity in the world. After the popularity of the Internet and IP networks, the CLI protocol was offered not only on serial links but also over TCP and other transport protocols. This offered a lot of flexibility to CLI users who could still use the same CLI command from a remote terminal to manage the device instead of being tied down to a terminal connected to the device over a serial link. These management terminals (remote and local) gradually came to be known as 'Management Console' or 'Management Stations'.
Following are the advantages of the Command Line Interface:
You can make and modify configuration settings.
You can create, update, and delete a component, device in a network, or any database information
You can start, stop and suspend any service in network operation.
You can control a service running on a network device.
You can enable and disable a switching component in a network or in any conditional storage variable.
You can view the properties of a network device or any specified component.
Command line Interface is either text string based or character key based. This makes the Command Line Interface very user friendly. Any terminal interface, such as Telnet interface, Serial interface, etc. acts as a CLI.