Use the CLI
28
2/1553-ZAT 759 94 Uen B – December 2005
Within the CLI, the following functions can be used:
* Hitting ? halfway through a word shows all valid completions of that
prefix
* Hitting ? after a word shows a list of the words that can follow it
* Hitting TAB halfway through a word completes it, if it is unique
* The UP and DOWN cursor keys move back and forward through the
command history
* LEFT and RIGHT cursor keys can be used for line-editing, and CTRL+A
and CTRL+E move the cursor to the start and end of the line
respectively
Pressing ? at the top-level prompt will display a list of the command
groups available. Typing one followed by a space and then hitting ?
will show the subcommands within that group, and so on.
2.5.4
Identification in the CLI
Existing CLI interfaces, transports, tunnels and so on can be identified by their
name or number. You assign a name when you create the interface (or
transport, tunnel etc) using the add interface command. Once created, the CLI
adds this interface to a list of IP interfaces which you can display using the
ip
list interfaces
command. Interfaces are given identification numbers
that appear under the first column under the heading ID:
-->
ip list interfaces
IP Interfaces:
ID | Name | IP Address | DHCP | Transport
-----|--------------|------------------|----------|----------------
1 | IpInterface | 192.168.1.1 | disabled | <BRIDGE>
2 | WanIpInterface | 0.0.0.0 | ENABLED | WanTransport
-------------------------------------------------------------------
Identification numbers
only
reflect the order they appear in the interface list.
2.5.5
Use the Source CLI Commands
The
source <filename>
command allows you to run a list of predefined
commands stored in an existing file. This saves you having to retype lengthily
configurations that you will want to use again.
Before you can use this command, you need to create a file containing the
command list and save it in your ISFS directory. Once you specify the
filename
in the
source
command, the file is located and the commands are
executed.
Содержание HM4x0
Страница 1: ...HM4x0 CLI Reference Guide ...
Страница 125: ...DHCP Client CLI Commands 2 1553 ZAT 759 94 Uen B December 2005 125 ID Identifier Suggested Value 1 host name Vancouver ...
Страница 353: ...NAT CLI Commands 2 1553 ZAT 759 94 Uen B December 2005 353 inside the network internal or DMZ ...
Страница 643: ...System CLI Commands 2 1553 ZAT 759 94 Uen B December 2005 643 22 3 5 Example system add login john temporarily ...
Страница 702: ...Ericsson AB Ericsson AB 2005 All Rights Reserved www ericsson com 2 1553 ZAT 759 94 Uen B December 2005 ...