Introduction to the CLI
This chapter describes how to use the Keenetic Extra Command-Line Interface (CLI), its
hierarchical structure, authorization levels and its help features.
The primary tool for managing the Keenetic Extra router is the command line interface
). System settings can be defined as a sequence of commands, which can be executed
to bring the device to the specified condition.
Keenetic Extra has three types of settings:
Current settings
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 configuration
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 settings
default config contains factory default settings of Keenetic
Extra. RESET button is used to reset startup configuration 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 Extra 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 FastEthernet1 network interface is set using the address
command, which is located in the interface → ip group:
(config)>interface FastEthernet1 ip address 192.168.15.43/24
Network address saved.
2
Keenetic Extra (KN-1710) — Command Reference Guide
21
Summary of Contents for EXTRA KN-1710
Page 2: ......
Page 6: ...Command Reference Guide Keenetic Extra KN 1710 6 Contents Overview...
Page 20: ...Command Reference Guide Keenetic Extra KN 1710 20 Chapter 1 Product Overview...
Page 26: ...Command Reference Guide Keenetic Extra KN 1710 26 Chapter 2 Introduction to the CLI...
Page 322: ...Command Reference Guide Keenetic Extra KN 1710 322 Chapter 3 Command Reference...
Page 332: ...Command Reference Guide Keenetic Extra KN 1710 332 Glossary...
Page 348: ...Command Reference Guide Keenetic Extra KN 1710 348 Appendix C SNMP MIB...