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 prefix.
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
(config-if)
:
(config)>interface FastEthernet1
(config-if)>ip address 192.168.15.43/24
Network address saved.
(config-if)>[Ctrl]+[D]
(config)>
2.2 Getting Help and auto-completion
To make the configuring 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:
(config)>in[Tab]
interface - network interface configuration
(config)> interface Fa[Tab]
Usage template:
interface {name}
Variants:
FastEthernet0
FastEthernet0/Vlan1
FastEthernet1
(config)> interface FastEthernet0[Tab]
Usage template:
interface {name}
Variants:
FastEthernet0/Vlan1
FastEthernet1
(config)> interface FastEthernet0[Enter]
(config-if)> ip[Tab]
address - set interface IP address
alias - add interface IP alias
dhcp - enable dhcp client
Command Reference Guide — Keenetic Extra (KN-1710)
22
Chapter 2 Introduction to the CLI
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...