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 defined as a sequence of commands, which can be executed to
bring the device to the specified condition.
Keenetic Lite has three types of settings:
Current settings
Startup configuration
Default settings
Files
startup-config
of the command line. It should be remembered that the lines with
ignored by the parser and the arguments which contain
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 final 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.
Keenetic Lite (KN-1310) — Command Reference Guide
Introduction to the CLI
running config is a set of commands describing the current
status of the system. Current settings are stored in RAM and
reflect 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 config is a sequence of commands, which is stored in
a specific partition of the non-volatile memory. It is used to
initialize the system immediately after startup.
default config contains factory default settings of Keenetic
Lite. RESET button is used to reset startup configuration to
the factory default.
and
can be edited manually, without participation
running-config
2
in the beginning are
!
must be enclosed in double
spaces
21
Need help?
Do you have a question about the Lite KN-1310 and is the answer not in the manual?