This guide contains Command-Line Interface (CLI) commands to maintain the Keenetic
Lite device. This guide provides a complete listing of all possible commands. The other
chapters provide examples of how to implement the most common of these commands,
general information on the interrelationships between the commands and the conceptual
background of how to use them.
1 Readership
This guide is for the networking or computer technician responsible for conguring and
maintaining the Keenetic Lite on-site. It is also intended for the operator who manages
the Keenetic Lite. This manual cover high-level technical support procedures available to
Root administrators and Keenetic Lite technical support personnel.
Preface
Preface
2 Organization
This manual covers the following topics:
Introduction to the CLIDescribes how to use the Keenetic Lite Command-Line
Interface (CLI), its hierarchical structure, authorization
levels and its help features.
Command ReferenceProvides an alphabetical list of the available CLI commands
that you can use to congure the Keenetic Lite device.
3 Document Conventions
Command descriptions use the following conventions:
boldface font
italic font
[ optional ]
‹required›
Commands and keywords are in boldface.
Must be typed exactly as shown. Bold font
is used as a user input in examples.
Arguments for which you supply values are
in italics.
Elements in square brackets are optional.
Elements in angle brackets are required.
(x | y | z)
[x | y | z]
Keenetic Lite (KN-1310) — Command Reference Guide
Alternative keywords are grouped in round
brackets and separated by vertical bars.
Optional alternative keywords are grouped
in brackets and separated by vertical bars.
3
Preface
Each command description is broken down into the following sub-sections:
Description of what the command does.Description
The general format of the command.Synopsis
Prex no
Change settings
Group entry
Interface type
Arguments
Example
The possibility of using no prex with
command.
The ability of command to change the
settings.
The possibility of multiple input.Multiple input
Name of the group that owns the command.
If there is no group, this section does not
displayed.
Type of interface, which can be managed by
the command. The section does not
displayed, if this context has no meaning for
the command.
Interfaces used in the system and the
relationships between them are shown in
the diagrams below.
List of arguments if they exists, and
explanations to them.
An illustration of how the command looks
when invoked. Because the interface is
straightforward, some of the examples are
obvious, but they are included for clarity.
Notes, cautionary statements, and safety warnings use these conventions.
Note:Means "reader take note". Notes contain helpful suggestions or
references to materials not contained in this manual.
Warning:Means "reader be careful". You are capable of doing something that
Keenetic Lite (KN-1310) — Command Reference Guide19Command Reference Guide — Keenetic Lite (KN-1310)
Chapter 1 Product Overview
20
2
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 settingsrunning 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 congurationstartup 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 settingsdefault 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.
Keenetic Lite (KN-1310) — Command Reference Guide
21
Chapter 2 Introduction to the CLI
2.1.1 Entering a group
Some of the node commands (containing a group of child commands) can be “entered”
to allow direct executing of the child commands without typing the node name as prex.
In this case the prompt is changed to indicate the entered group.
The exit command or [Ctrl]+[D] key combination can be used to exit a group.
For example, after entering the interface group the command line prompt is changed to
To make the conguring process as comfortable as possible, the CLI provides
auto-completion of commands and parameters, hinting the operator, which commands
are available at the current level of nesting. Auto-completion works by pressing [Tab].
Example:
For example, the command interface is responsible for creating a network interface with
the given name. When used with this command, prex no causes the opposite action —
removing of the interface:
(config)> no interface PPPoE0
ip - set interface IP parameters
igmp - set interface IGMP parameters
up - enable interface
down - disable interface
If the command is composite, no can be placed in front of any member. For example,
service dhcp enables the DHCP service. It consists of two parts: service — the group name
in the hierarchy of commands, and dhcp — the nal command. Prex no can be placed
either at the beginning, or in the middle. The action is the same in both cases: stopping
of the service.
Keenetic Lite (KN-1310) — Command Reference Guide
23
Chapter 2 Introduction to the CLI
(config)> no service dhcp
(config)> service no dhcp
2.4 Multiple input
Many commands have the property of idempotence, which means that multiple input of a
command has the same effect as as the single input. For example, entering service http
adds a single line “service http” to the current settings, and re-entering does not change
anything.
However, some of the commands allow you to add not a single, but multiple records, if
they are entered with different arguments. For example, static routing table entries ip
route or lters access-list are added sequentially and appear in the settings as a list:
Example 2.1. Using a command with multiple input
(config)> ip route 1.1.1.0/24 PPTP0
Network::RoutingTable: Added static route: 1.1.1.0/24 via PPTP0.
(config)> ip route 1.1.2.0/24 PPTP0
Network::RoutingTable: Added static route: 1.1.2.0/24 via PPTP0.
(config)> ip route 1.1.3.0/24 PPTP1
Network::RoutingTable: Added static route: 1.1.3.0/24 via PPTP1.
(config)> show running-config
...
ip route 1.1.1.0 255.255.255.0 PPTP0
ip route 1.1.2.0 255.255.255.0 PPTP0
ip route 1.1.3.0 255.255.255.0 PPTP1
...
Records from such tables can be removed one by one, using prex no and arguments to
identify the record you want to remove:
(config)> no ip route 1.1.2.0/24
Network::RoutingTable: Deleted static route: 1.1.2.0/24 via PPTP0.
(config)> show running-config
...
ip route 1.1.1.0 255.255.255.0 PPTP0
ip route 1.1.3.0 255.255.255.0 PPTP1
...
2.5 Saving to startup settings
Current and startup settings are stored in the les running-cong and startup-cong,
respectively. To save the current settings in the non-volatile memory, copy them as shown
below:
If Keenetic Lite device is located away from the operator and is managed remotely, there
is a risk to lose control over it because of a misoperation. In this case it will be difcult to
reboot and return to the saved settings.
The system reboot command lets you set a delayed restart timer, perform “risky” settings,
then turn off the timer and save the changes. If connection to the device is lost during
conguration, the operator will be enough to wait for automatic reboot and connect to
the device again.
Chapter 2 Introduction to the CLI
Keenetic Lite (KN-1310) — Command Reference Guide
25
Chapter 2 Introduction to the CLI
26
Command Reference Guide — Keenetic Lite (KN-1310)
3
Command Reference
3.1 Core commands
Core commands are used to manage les on your device.
3.1.1 copy
DescriptionCopy the contents of one le to another. Used for the rmware updating,
saving the current settings, resetting to factory, etc.
Prex noNo
Change settingsNo
Multiple inputNo
Synopsis
Arguments
ExampleCurrent settings can be saved as follows:
History
(cong)>copy ‹source› ‹destination›
DescriptionValueArgument
Filenamesource
(config)> copy running-config startup-config
File names in this example are aliases. Full names of the conguration les
are system:running-config and flash:startup-config, respectively.
VersionDescription
The copy command has been introduced.2.00
Full path to the le to be copied in <le
system>:<path> format
Full path to the directory for the new le.Filenamedestination
3.1.2 erase
DescriptionDelete a le from the Keenetic Lite device.
Prex noNo
Change settingsYes
Keenetic Lite (KN-1310) — Command Reference Guide
27
Chapter 3 Command Reference
Multiple inputYes
Synopsis
Arguments
Example
History
(cong)>erase ‹filename›
(config)> erase FLASH:swap
Erased FLASH:swap.
VersionDescription
The erase command has been introduced.2.00
3.1.3 exit
DescriptionLeave the command node.
Prex noNo
Change settingsNo
Multiple inputNo
DescriptionValueArgument
Species the le to be removed.Filenamefilename
Synopsis
Example
History
(cong)>exit
(config-dyndns)> exit
(config)>
VersionDescription
The exit command has been introduced.2.00
3.1.4 ls
DescriptionDisplay list of les from the specied directory.
Prex noNo
Change settingsNo
Multiple inputNo
Synopsis
(cong)>ls [ directory ]
28
Command Reference Guide — Keenetic Lite (KN-1310)
Chapter 3 Command Reference
Arguments
Example
Stringdirectory
(config)> ls temp:
rel: temp:
entry, type = R:
entry, type = D:
entry, type = D:
entry, type = R:
entry, type = R:
entry, type = D:
entry, type = D:
entry, type = D:
entry, type = D:
entry, type = D:
entry, type = D:
DescriptionValueArgument
Path to the directory. Must contain the
name of the le system and path to the
folder directly in the following format <le
system>:<path>. Examples of le systems
— ash, temp, proc, usb. etc.
name: resolv.conf
size: 107
name: db
name: dhcp6c
name: TZ
size: 6
name: passwd
size: 128
name: dnscache
name: mnt
name: tmp
name: ppp
name: lib
name: run
History
VersionDescription
The ls command has been introduced.2.00
3.1.5 more
DescriptionDisplay the contents of a text le line by line.
DescriptionAccess to a group of commands to congure the selected list of packet ltering
rules. If the list is not found, the command tries to create it. Such a list can
be assigned to a network interface using interface ip access-group command.
Command with no prex removes the list of rules.
Prex noYes
Change settingsYes
Multiple inputYes
Group entry(config-acl)
Synopsis
Arguments
History
(cong)>access-list ‹name›
(cong)> no access-list ‹name›
VersionDescription
DescriptionValueArgument
Stringname
The access-list command has been introduced.2.00
Filtering rules list name (Access Control List,
ACL).
3.2.1 access-list deny
DescriptionAdd a packet ltering deny rule into a specied ACL.
The cloud control client connect command has been
introduced.
3.4 cloud control client name
DescriptionRename the registered client.
Prex noNo
Change settingsYes
Multiple inputNo
Synopsis
Arguments
Example
History
(cong)>cloud control client ‹id› name ‹name›
DescriptionValueArgument
Stringid
Stringname
(config)> cloud control client a78d...30ab name "New Client"
CloudControl::Agent: A client name changed.
VersionDescription
2.05
The cloud control client name command has been
introduced.
256-bit identier of client recorded in
hexadecimal format with a xed length.
An arbitrary name, which length does not
exceed 64 UTF-8 character.
36
Command Reference Guide — Keenetic Lite (KN-1310)
Chapter 3 Command Reference
3.5 cloud control client session timeout
DescriptionSet timeout of the client session in seconds.
Command with no prex resets value to default (300 seconds).
Prex noYes
Change settingsYes
Multiple inputYes
Synopsis
Arguments
Example
History
(cong)>cloud control client ‹id› session timeout ‹seconds›
(cong)> no cloud control client [‹id›] session timeout
DescriptionValueArgument
Stringid
Integerseconds
(config)> cloud control client a78d...30ab session timeout 35
CloudControl::Agent: "test_client" session timeout set to 35 ►
seconds.
VersionDescription
2.05
The cloud control client session timeout command has
been introduced.
256-bit identier of client recorded in
hexadecimal format with a xed length.
The period of time that a session can
remain idle, without any end-user
interaction. Can take values in the range
from 30 to 600 inclusively.
3.6 components
DescriptionAccess to a group of commands to manage rmware components.
Prex noNo
Change settingsNo
Multiple inputNo
Group entry(config-comp)
Synopsis
Keenetic Lite (KN-1310) — Command Reference Guide
(cong)>components
37
Chapter 3 Command Reference
History
VersionDescription
The components command has been introduced.2.00
3.6.1 components commit
DescriptionApply the changes made by components install and components remove
commands.
Prex noNo
Change settingsYes
Multiple inputNo
Synopsis
History
(cong-comp)>commit
VersionDescription
2.00
The components commit command has been
introduced.
3.6.2 components install
DescriptionMark component to install. Final installation carried out with components
commit command.
Prex noNo
Change settingsYes
Multiple inputYes
Synopsis
Arguments
Example
History
(cong-comp)>install ‹component›
DescriptionValueArgument
Stringcomponent
(config-comp)> install ntfs
Component is queued for installation: ntfs
VersionDescription
The components install command has been introduced.2.00
Component name. List of available
components for installation can be
displayed with the components list
command.
38
Command Reference Guide — Keenetic Lite (KN-1310)
Chapter 3 Command Reference
3.6.3 components list
DescriptionDisplay the list of installed components, and components available for
installation. If there is no Internet connection, only the list of installed
components will be displayed.
Prex noNo
Change settingsNo
Multiple inputNo
Synopsis
Arguments
Example
(cong-comp)>list [ sandbox ]
DescriptionValueArgument
Remote sandbox, such as stable or beta.Stringsandbox
(config-comp)> list
firmware:
version: 2.12.A.1.0-1
sandbox: draft
component:
name: storage
group: USB storage
libndm: Swap
priority: normal
depend: usb
size: 363447
order: 0
version: 3.4.113-1
hash: 2db7d67820f1598186dd939ff08a6531
installed: 3.4.113-1
preset: minimal
preset: recommended
queued: yes
...
History
VersionDescription
The components list command has been introduced.2.00
2.06.A.6
The sandbox parameter has been introduced. The
command components list should be used in favour of
components sync.
Keenetic Lite (KN-1310) — Command Reference Guide
39
Chapter 3 Command Reference
3.6.4 components preset
DescriptionSelect a predened set of components. Installation of preset is carried out
with components commit command.
Before preset installation check the latest versions of components on the
update server with components list command. Internet connection required.
Prex noNo
Change settingsYes
Multiple inputNo
Synopsis
ArgumentsNumber and names of presets can be changed, so check the list of available
Example
History
(cong-comp)>preset ‹preset›
presets with help of preset ? command.
DescriptionValueArgument
presetMinimal set of components will be marked.minimal
recommended
(config-comp)> preset recommended
lib::libndmComponents error[268369922]: updates are available ►
for this system.
(config-comp)> commit
Core::System::UConfig: done.
VersionDescription
The components preset command has been introduced.2.00
Recommended set of components will be
marked for installation.
3.6.5 components preview
DescriptionShow size of rmware as current set of components selected with
components install command.
Prex noNo
Change settingsYes
Multiple inputNo
Synopsis
Example
40
(cong-comp)>preview
(config-comp)> preview
Command Reference Guide — Keenetic Lite (KN-1310)
preview:
Chapter 3 Command Reference
size: 7733308
History
VersionDescription
2.06
The components preview command has been
introduced.
3.6.6 components remove
DescriptionMark component to remove. Final removal carried out with components
commit command.
Prex noNo
Change settingsYes
Multiple inputYes
Synopsis
Arguments
(cong-comp)>remove ‹component›
DescriptionValueArgument
Stringcomponent
Component name. List of available
components for removal can be displayed
with the components list command.
Example
History
(config-comp)> remove ntfs
Component is queued for removal: ntfs
VersionDescription
2.00
The components remove command has been
introduced.
3.6.7 components validity-period
DescriptionSet a validity period of a local component list. After this time the command
components list will be automalically executed to get actual list of
components from update server.
Command with no prex resets period to default. By default, value 1800 is
used.
The interval of sending DPD
packets in seconds. Can take
values from 2 to 3600.
55
Chapter 3 Command Reference
DescriptionValueArgument
Integerretry-count
Number of attempts to send DPD
packets. Can take values from 3 to
60.
Example
History
(config-ipsec-profile)> dpd-interval 5 30
IpSec::Manager: crypto ipsec profile "test" dpd-interval is set ►
to 5 s.
IpSec::Manager: crypto ipsec profile "test" dpd retry count is ►
set to 30
VersionDescription
2.06
The crypto ipsec prole dpd-interval command has
been introduced.
3.12.4 crypto ipsec prole identity-local
DescriptionSet a local identier of IPsec prole.
Command with no prex removes the local identier.
Prex noYes
Change settingsYes
Multiple inputNo
Synopsis
Arguments
Example
(cong-ipsec-prole)>identity-local ‹type› ‹id›
(cong-ipsec-prole)> no identity-local
DescriptionValueArgument
typeID type is IP-address.address
ID type is full domain name.fqdn
ID type is domain name.dn
ID type is e-mail address.email
Local ID value.Stringid
(config-ipsec-profile)> identity-local address 10.10.10.5
IpSec::Manager: Crypto ipsec profile "test" identity-local is ►
set to "10.10.10.5" with type "address".
56
Command Reference Guide — Keenetic Lite (KN-1310)
Chapter 3 Command Reference
History
VersionDescription
2.06
The crypto ipsec prole identity-local command has
been introduced.
3.12.5 crypto ipsec prole match-identity-remote
DescriptionSet remote host identier for IPsec prole.
The crypto ipsec prole xauth-password command has
been introduced.
3.13 crypto map
DescriptionAccess to a group of commands to congure selected IPsec crypto map. If
crypto map is not found, the command tries to create it.
Command with no prex removes crypto map.
Prex noYes
Change settingsYes
Multiple inputYes
Group entry(config-crypto-map)
Synopsis
Arguments
Example
(cong)>crypto map ‹name›
(cong)> no crypto map ‹name›
(config)> crypto map test
IpSec::Manager: Crypto map "test" successfully created.
DescriptionValueArgument
Stringname
IPsec crypto map name. Latin
letters, numbers, dots, hyphens
and underscores are acceptable.
Keenetic Lite (KN-1310) — Command Reference Guide
61
Chapter 3 Command Reference
History
VersionDescription
The crypto map command has been introduced.2.06
3.13.1 crypto map connect
DescriptionEnable automatic unconditional IPsec connection to the remote host. Setting
has no meaning if basic remote host was set to any (see crypto map set-peer
command). By default, setting is disabled and connection is established when
attempting to transmit trafc through the IPsec ESP transformation.
Command with no prex disables automatic unconditional connection.
Period of checking in seconds. Can
take values from 60 to 86400.
Example
History
(config-crypto-map)> fallback-check-interval 120
IpSec::Manager: Crypto map "test" fallback check interval is set ►
to 120.
VersionDescription
2.06
The crypto map fallback-check-interval command has
been introduced.
3.13.4 crypto map force-encaps
DescriptionEnforce the ESP packet wrapping mode in UDP to bypass the rewall and NAT.
Command with no prex disables the mode.
Prex noYes
Change settingsYes
Multiple inputNo
Synopsis
(cong-crypto-map)>force-encaps
(cong-crypto-map)> no force-encaps
Keenetic Lite (KN-1310) — Command Reference Guide
63
Chapter 3 Command Reference
Example
History
(config-crypto-map)> force-encaps
IpSec::Manager: "test": crypto map force ESP in UDP encapsulation ►
enabled.
(config-crypto-map)> no force-encaps
IpSec::Manager: "test": crypto map force ESP in UDP encapsulation ►
disabled.
VersionDescription
2.08
The crypto map force-encaps command has been
introduced.
3.13.5 crypto map match-address
DescriptionSet the reference to existing list of packet ltering rules (see access-list
command). The rst rule in the list will be used for IPsec Phase 2.
Command with no prex removes the reference.
Prex noYes
Change settingsYes
Multiple inputNo
Synopsis
Arguments
Example
History
(cong-crypto-map)>match-address ‹access-list›
(cong-crypto-map)> no match-address
(config-crypto-map)> match-address acl1
IpSec::Manager: Crypto map "test" match-address set to "acl1".
VersionDescription
2.06
3.13.6 crypto map nail-up
DescriptionValueArgument
Stringaccess-list
The crypto map match-address command has been
introduced.
Packet ltering rules list name. You
can see the list of available lists
with help of match-address ?
command.
DescriptionEnable automatic renegotiation of IPsec ESP transformations at their
obsolescence. By default, setting is disabled.
64
Command Reference Guide — Keenetic Lite (KN-1310)
Command with no prex disables automatic renegotiation.
Prex noYes
Change settingsYes
Multiple inputNo
Chapter 3 Command Reference
Synopsis
Example
History
(cong-crypto-map)>nail-up
(cong-crypto-map)> no nail-up
(config-crypto-map)> nail-up
IpSec::Manager: Crypto map "test" SA renegotiation enabled.
VersionDescription
The crypto map nail-up command has been introduced.2.06
3.13.7 crypto map set-peer
DescriptionSet basic remote host for IPsec connection.
Command with no prex removes the setting.
Prex noYes
Change settingsYes
Multiple inputNo
Synopsis
Arguments
Example
History
Keenetic Lite (KN-1310) — Command Reference Guide
(cong-crypto-map)>set-peer ‹remote-ip›
(cong-crypto-map)> no set-peer
remote-ipIP-address or domain name of remote host.String
(config-crypto-map)> set-peer ipsec.test.com
IpSec::Manager: Crypto map "test" primary remote peer is set to ►
"ipsec.test.com".
VersionDescription
The crypto map set-peer command has been introduced.2.06
DescriptionValueArgument
Accept any incoming connections.any
65
Chapter 3 Command Reference
3.13.8 crypto map set-peer-fallback
DescriptionSet backup remote host for IPsec connection. This setting can be made after
assignment of basic host (see crypto map set-peer command).
Command with no prex removes the setting.
Prex noYes
Change settingsYes
Multiple inputNo
Synopsis
Arguments
Example
History
(cong-crypto-map)>set-peer-fallback ‹remote-ip›
(cong-crypto-map)> no set-peer-fallback
DescriptionValueArgument
Stringremote-ip
(config-crypto-map)> set-peer-fallback test.com
IpSec::Manager: Crypto map "test" fallback remote peer is set ►
to "test.com".
VersionDescription
2.06
The crypto map set-peer-fallback command has been
introduced.
IP-address or domain name of
remote host.
3.13.9 crypto map set-prole
DescriptionSet the reference to existing IPsec prole (see crypto ipsec prole command).
Prex noYes
Change settingsYes
Multiple inputNo
Synopsis
66
Command with no prex removes the reference.
(cong-crypto-map)>set-profile ‹profile›
(cong-crypto-map)> no set-profile
Command Reference Guide — Keenetic Lite (KN-1310)
Chapter 3 Command Reference
Arguments
Example
History
Stringprofile
(config-crypto-map)> set-profile test
IpSec::Manager: Crypto map "test" ipsec profile is set to "test".
VersionDescription
2.06
The crypto map set-prole command has been
introduced.
DescriptionValueArgument
IPsec prole name. You can see the
list of available proles with help
of set-prole ? command.
3.13.10 crypto map set-tcpmss
DescriptionSet the limit on the segment size of outgoing TCP sessions within IPsec tunnel.
If the MSS value, which is transmitted in the header of SYN-packets, exceeds
the specied limit, command changes it. Path MTU Discovery mode allows
automatically identiy MSS limit.
Command with no prex removes all limits from MSS.
Prex noYes
Change settingsYes
Multiple inputNo
Synopsis
Arguments
Example
History
(cong-crypto-map)>set-tcpmss ‹mss-value›
(cong-crypto-map)> no set-tcpmss
mss-valueMSS upper limit. Can take values from 576 to
(config-crypto-map)> set-tcpmss 1280
IpSec::Manager: Crypto map "test" tcpmss set to 1280.
VersionDescription
2.06
DescriptionValueArgument
Integer
1500.
Enable Path MTU Discovery mode.pmtu
The crypto map set-tcpmss command has been
introduced.
Keenetic Lite (KN-1310) — Command Reference Guide
67
Chapter 3 Command Reference
3.13.11 crypto map set-transform
DescriptionSet the reference to existing IPsec ESP transformation (see crypto ipsec
transform-set command).
Command with no prex removes the reference.
Prex noYes
Change settingsYes
Multiple inputNo
Synopsis
Arguments
Example
History
(cong-crypto-map)>set-transform ‹transform-set›
(cong-crypto-map)> no set-transform
DescriptionValueArgument
Stringtransform-set
(config-crypto-map)> set-transform test
IpSec::Manager: Crypto map "test" ipsec transform-set is set to ►
"test".
VersionDescription
2.06
The crypto map set-transform command has been
introduced.
IPsec transformation name. You
can see the list of available
transformations with help of
transform-set ? command.
3.13.12 crypto map virtual-ip dns-server
DescriptionSet DNS-server issued to clients in Virtual IP server mode.
The dyndns prole username command has been
introduced.
3.16 interface
DescriptionAccess to a group of commands to congure the selected interface. If the
interface is not found, the command tries to create it.
The interface name species its class that inherits certain properties, see the
diagrams in the Appendix. The commands work in relation to classes. The
corresponding interface class is specied in the command description.
Command with no prex deletes the interface.
Prex noYes
Change settingsYes
Multiple inputYes
78
Command Reference Guide — Keenetic Lite (KN-1310)
Group entry(config-if)
Chapter 3 Command Reference
Synopsis
Arguments
History
(cong)>interface ‹name›
(cong)> no interface ‹name›
name
VersionDescription
Interface
name
The interface command has been introduced.2.00
DescriptionValueArgument
Full interface name or an alias. You can see
the list of available interfaces with help of
interface ? command.
3.16.1 interface authentication chap
DescriptionEnable CHAP authentication support.
Command with no prex disables CHAP.
Prex noYes
Change settingsYes
Multiple inputNo
Interface typeSecure
Synopsis
Example
History
(cong-if)>authentication chap
(cong-if)> no authentication chap
(config-if)> authentication chap
CHAP authentication enabled.
VersionDescription
2.00
The interface authentication chap command has been
introduced.
The interface authentication shared command has
been introduced.
3.16.10 interface authentication wpa-psk
DescriptionSpecify the pre-agreed key for authentication via WPA-PSK protocol. It is
possible to specify the key as a 256-bit hexadecimal number or as a string of
ASCII-characters. In the second case, the string is used as a code phrase to
generate the key (passphrase).
The interface authentication wpa-psk command has
been introduced.
3.16.11 interface bandwidth-limit
DescriptionValueArgument
Pre-agreed key in the form of a 256-bit
hexadecimal number, which consists of
64 hexadecimal digits, or in the form of
ASCII string of 8 to 63 characters length.
DescriptionSet tariff speed of Internet connection for the interface. It is used to determine
the bandwidth usage in the trafc analysis (see service ntce command).
Command with no prex removes setting.
84
Command Reference Guide — Keenetic Lite (KN-1310)
Prex noYes
Change settingsYes
Multiple inputNo
Chapter 3 Command Reference
Synopsis
Arguments
Example
History
(cong-if)>bandwidth-limit ‹limit›
(cong-if)> no bandwidth-limit
DescriptionValueArgument
The value of the tariff speed in Kbps.Integerlimit
(config-if)> bandwidth-limit 50000
Ntce::BandwidthLimits: Set bandwidth limit 50000 Kbps to ISP.
VersionDescription
2.06
The interface bandwidth-limit command has been
introduced.
3.16.12 interface ccp
DescriptionEnable CCP support during establishing connection.
Command with no prex disables CCP.
Prex noYes
Change settingsYes
Multiple inputNo
Interface typePPP
Synopsis
Example
History
(cong-if)>ccp
(cong-if)> no ccp
(config-if)> ccp
CCP enabled.
VersionDescription
The interface ccp command has been introduced.2.00
Keenetic Lite (KN-1310) — Command Reference Guide
85
Chapter 3 Command Reference
3.16.13 interface channel
DescriptionSet the radio channel (broadcasting frequency band) for wireless interfaces.
Wi-Fi interfaces take integers from 1 to 14 (frequency range from 2.412 GHz
to 2.484 GHz). By default, auto value is used.
Command with no prex resets to default.
Prex noYes
Change settingsYes
Multiple inputNo
Interface typeRadio
Synopsis
Arguments
Example
History
(cong-if)>channel ‹channel›
(cong-if)> no channel
channelNumber of radio channel.number
auto
(config-if)> channel 8
Channel saved.
VersionDescription
The interface channel command has been introduced.2.00
DescriptionValueArgument
Radio channel number is detected
automatically.
3.16.14 interface channel auto-rescan
DescriptionSet a schedule for radio channel automatic scanning. By default, the setting
Expand the bandwidth up to 40 MHz using
next channel.
Expand the bandwidth up to 40 MHz using
previous channel.
Keenetic Lite (KN-1310) — Command Reference Guide
87
Chapter 3 Command Reference
History
VersionDescription
2.04
The interface channel width command has been
introduced.
3.16.16 interface compatibility
DescriptionSet the standard for wireless communications, with which a given wireless
adapter (the interface) must be compatible. For Wi-Fi interfaces, the
compatibility is set by string of Latin letters B, G, N, that denote extentions
to the standard IEEE 802.11. For example, the presence 'N' in the compability
line will imply that the given adapter will be able to deal with the
802.11n-compatible devices via radio channel. The set of admissible
compatibility lines is dened by the hardware capabilities of a particular
adapter and provisions of the relevant additions to the IEEE 802.11 standard.
By default, “BGN” value is used for 2.4 GHz.
Prex noNo
Change settingsYes
Multiple inputNo
Interface typeRadio
Synopsis
Arguments
Example
History
(cong-if)>compatibility ‹annex›
DescriptionValueArgument
annexFor 2,4 GHz.B, G, N
(config-if)> compatibility GN
Compatibility set.
VersionDescription
2.00
The interface compatibility command has been
introduced.
3.16.17 interface connect
DescriptionStart the process of connecting to a remote node.
Command with no prex terminates the connection.
Prex noYes
Change settingsYes
Multiple inputNo
88
Command Reference Guide — Keenetic Lite (KN-1310)
Interface typePPP, IP
Chapter 3 Command Reference
Synopsis
Arguments
Example
History
(cong-if)>connect [ via ‹interface› ]
(cong-if)> no connect
DescriptionValueArgument
via
(config-if)> connect via UsbModem3
PPP connection enabled.
VersionDescription
Interface
name
The interface connect command has been introduced.2.00
Interface through which remote node is
accessed. For PPPoE this option is
mandatory.
3.16.18 interface country-code
DescriptionAssign to the interface a literal country code, which inuences the set of radio
channels. By default, RU value is used.
Prex noNo
Change settingsYes
Multiple inputNo
Interface typeRadio
Synopsis
Arguments
Example
History
(cong-if)>country-code ‹code›
(config-if)> country-code RU
Country code set.
VersionDescription
2.00
DescriptionValueArgument
The country code.Stringcode
The interface country-code command has been
introduced.
Keenetic Lite (KN-1310) — Command Reference Guide
89
Chapter 3 Command Reference
3.16.19 interface debug
DescriptionEnable debug mode of PPP connection. Detailed info about connection
progress is saved to the system log. By default, setting is disabled.
Command with no prex disables the debug mode.
Prex noYes
Change settingsYes
Multiple inputNo
Interface typePPP
Synopsis
Example
History
(cong-if)>debug
(cong-if)> no debug
(config-if)> debug
Debug enabled.
VersionDescription
The interface debug command has been introduced.2.00
3.16.20 interface description
DescriptionAssign arbitrary descrption to the specied network interface.
Command with no prex deletes the description.
Prex noYes
Change settingsYes
Multiple inputNo
Synopsis
Arguments
Example
90
(cong-if)>description ‹description›
(cong-if)> no description
DescriptionValueArgument
Arbitrary description of the interface.Stringdescription
The interface description command has been
introduced.
3.16.21 interface down
DescriptionDisable the network interface and persist the state “down” to the settings.
Command with no prex enables the network interface and deletes “down”
from settings.
Prex noYes
Change settingsYes
Multiple inputNo
Synopsis
Example
(cong-if)>down
(cong-if)> no down
(config-if)> down
Interface disabled.
History
VersionDescription
The interface down command has been introduced.2.00
3.16.22 interface duplex
DescriptionSet the duplex mode of the Ethernet port. By default, auto value is set.
Command with no prex resets setting to default.
Prex noYes
Change settingsYes
Multiple inputNo
Interface typeEthernet
Synopsis
Arguments
(cong-if)>duplex ‹mode›
(cong-if)> no duplex
DescriptionValueArgument
modeFull duplex mode.full
Keenetic Lite (KN-1310) — Command Reference Guide
91
Chapter 3 Command Reference
DescriptionValueArgument
Half duplex mode.half
Auto duplex mode.auto
Example
History
(config-if)> duplex full
Network::Interface::Ethernet: Duplex set to "full".
VersionDescription
The interface duplex command has been introduced.2.06.B.1
3.16.23 interface dyndns prole
DescriptionAssign the DynDns prole to the interface. Prole must be created and
customized with dyndns prole commands before execution.
Command with no prex unbinds the prole.
Prex noYes
Change settingsYes
Multiple inputNo
Synopsis
(cong-if)>dyndns profile ‹profile›
(cong-if)> no dyndns profile
Arguments
Example
History
(config-if)> dyndns profile test
Core::Configurator: done.
VersionDescription
2.02
The interface dyndns prole command has been
introduced.
DescriptionValueArgument
The name of DynDns prole.Stringprofile
3.16.24 interface dyndns update
DescriptionUpdate IP-address for DynDns manually. By default command works in
accordance with the policy of the DynDns service provider, that is not allows
to update too often. Using the keyword force allows you to update excluding
The interface encryption enable command has been
introduced.
3.16.27 interface encryption key
DescriptionSpecify the WEP encryption keys. Depending on the bit, the key can be
standard 64-bit WEP uses a 40 bit key (also known as WEP-40), or 128-bit WEP
uses a 26 hexadecimal characters (13 characters ASCII). Overall, there can be
1 to 4 encryption keys, with one of them default key must be assigned.
The interface encryption wpa2 command has been
introduced.
3.16.31 interface owcontrol
DescriptionCongure Ethernet ow control Tx/Rx. By default, the feature is enabled.
Command with no prex disables the feature.
Prex noYes
Change settingsYes
96
Command Reference Guide — Keenetic Lite (KN-1310)
Multiple inputNo
Interface typeEthernet
Chapter 3 Command Reference
Synopsis
Arguments
Example
History
(cong-if)>flowcontrol on
(cong-if)> no flowcontrol [send]
(config-if)> flowcontrol on
Network::Interface::Ethernet: "GigabitEthernet0/0": flow control ►
enabled.
(config-if)> no flowcontrol send
Network::Interface::Ethernet: "GigabitEthernet0/0": flow control ►
send disabled.
VersionDescription
2.08
3.16.32 interface hide-ssid
DescriptionValueArgument
Flow control works asynchronously.Keywordsend
The interface owcontrol command has been
introduced.
DescriptionEnable hidden SSID mode. When using this feature, Access Point will not be
displayed in the list of available wireless networks. But if user informed of
the existence of this network and know its SSID, than he can connect to it.
The mode is disabled by default.
The interface igmp downstream command has been
introduced.
3.16.34 interface igmp fork
DescriptionEnable the duplication of outgoing packets IGMPupstream to the specied
interface. There can be only one fork interface.
Command with no prex disables the mode.
Prex noYes
Change settingsYes
Multiple inputNo
Interface typeIP
Synopsis
98
(cong-if)>igmp fork
(cong-if)> no igmp fork
Command Reference Guide — Keenetic Lite (KN-1310)
Chapter 3 Command Reference
Example
History
(config-if)> igmp fork
fork role assigned to ISP.
VersionDescription
The interface igmp fork command has been introduced.2.00
3.16.35 interface igmp upstream
DescriptionEnable IGMP mode on the interface in the direction of the multicast source.
service igmp-proxy must be enabled on the device. Only one upstream
interface is allowed.
Command with no prex disables the mode.
Prex noYes
Change settingsYes
Multiple inputNo
Interface typeIP
Synopsis
Example
History
(cong-if)>igmp upstream
(cong-if)> no igmp upstream
(config-if)> igmp upstream
upstream role assigned to ISP.
VersionDescription
2.00
The interface igmp upstream command has been
introduced.
3.16.36 interface include
DescriptionSpecify Ethernet-interface name which will be added to the software bridge
as a port.
Command with no prex removes the interface from the bridge.
Prex noYes
Change settingsYes
Multiple inputYes
Interface typeBridge
Keenetic Lite (KN-1310) — Command Reference Guide
99
Chapter 3 Command Reference
Synopsis
Arguments
Example
History
(cong-if)>include ‹interface›
(cong-if)> no include ‹interface›
DescriptionValueArgument
interface
(config-if)> include WifiStation0
Interface acquired.
VersionDescription
Interface
name
The interface include command has been introduced.2.00
Name or alias of the Ethernet-interface
that should be plugged into the bridge.
3.16.37 interface inherit
DescriptionSpecify the name of the Ethernet-interface which will be added to the program
bridge as a port. In contrast with the include command, inherit command
transfers some settings of the interface being added to the bridge, such as
IP-address, mask and IP-aliases. On removing either the bridge itself or the
bridge interface, these settings, even if they have been changed will be copied
back to the vacant interface.
The command allows one to add the device control interface to the bridge
so that control is not lost.
Command with no prex removes the interface from the bridge, returns the
settings that have earlier been inherited by the bridge back to the interface,
and resets these settings on the bridge.
Prex noYes
Change settingsYes
Multiple inputYes
Interface typeBridge
Synopsis
Arguments
(cong-if)>inherit ‹interface›
(cong-if)> no inherit ‹interface›
interface
Interface
name
DescriptionValueArgument
Name or alias of the Ethernet-interface
that should be plugged into the bridge.
100
Command Reference Guide — Keenetic Lite (KN-1310)
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.