Introduction to the CLI
This chapter describes how to use the Keenetic Lite Command-Line Interface (CLI), its
hierarchical structure, authorization levels and its help features.
The primary tool for managing the Keenetic Lite router is the command line interface (CLI).
System settings can be dened as a sequence of commands, which can be executed to
bring the device to the specied condition.
Keenetic Lite has three types of settings:
Current settings running cong is a set of commands describing the current
status of the system. Current settings are stored in RAM and
reect every change of the system settings. However, the
content of RAM is lost when the device is turned off. To
restore the settings after reboot, they must be saved in
non-volatile memory.
Startup conguration startup cong is a sequence of commands, which is stored in
a specic partition of the non-volatile memory. It is used to
initialize the system immediately after startup.
Default settings default cong contains factory default settings of Keenetic
Lite. RESET button is used to reset startup conguration to
the factory default.
Files startup-config and running-config can be edited manually, without participation
of the command line. It should be remembered that the lines with ! in the beginning are
ignored by the parser and the arguments which contain spaces must be enclosed in double
quotes (for example, ssid "Free Wi-Fi"). Quotes themselves are ignored by the parser.
Responsibility for the accuracy of the changes rests with their author.
2.1 Enter commands in the CLI
Command line interpreter in Keenetic Lite is designed for beginners as well as experts.
All command names and options are clear and easy to remember.
Commands are divided into groups and arranged in a hierarchy. Thus, to do a setting, the
operator needs to enter a sequence of nested command group names (node commands),
and then enter the nal command with parameters.
For example, IP-address of the FastEthernet0/Vlan2 network interface is set using the
address command, which is located in the interface → ip group:
(config)>interface FastEthernet0/Vlan2 ip address 192.168.15.43/24
Network address saved.
2
Keenetic Lite (KN-1310) — Command Reference Guide
21