Using the Command Line Interface
(CLI)
AS9216 Installation and
Maintenance Manual
8-14
ECI Telecom Ltd. Proprietary
492006-2306-013-A00
Negating Commands
The
no
prefix negates the command or resets the command’s configuration to
its default value. For example, the
log
command logs system messages. To
disable logging, use the
no log
command.
Enabling Features
AS9216 includes many advanced features. The default status of all features is
disabled.
To enable a feature, use the
no shutdown
command.
In the following example the functions of port 1/1/1 are disabled until the
no
shutdown
command is committed.
device-name(config)#port
1/1/1
device-name(config-port-
1/1/1
)#no shutdown
device-name(config-port-
1/1/1
)#commit
Using the Command History
The CLI maintains a history of commands entered in any CLI mode. You can
scroll back through the history of commands by pressing the up arrow key. You
can modify and execute any command displayed in the history list.
You can also use the
show history
command to display a list of executed
commands.
device-name#show history
05:46:29 -- router ospf
05:46:32 -- router-id 1.1.1.1
05:46:37 -- area 0
05:46:44 -- exit
05:46:46 -- area 1
05:46:49 -- exit
05:47:02 -- commit
05:47:04 -- exit
05:47:07 -- rsvp-te lsp 100
05:47:13 -- commit
05:47:16 -- end
05:47:42 -- show history