![Siemens SCALANCE S615 Configuration Manual Download Page 35](http://html.mh-extra.com/html/siemens/scalance-s615/scalance-s615_configuration-manual_377351035.webp)
Description
1.6 General CLI commands
SCALANCE S615 Command Line Interface
Configuration Manual, 06/2015, C79000-G8976-C406-02
35
1.6.5.6
Working through a command sequence
Separators for multiple commands in one line
You can call up several commands one after the other in one line in the CLI.
Separate the commands with a semicolon (;).
After completing your input, start the processing of this command sequence with the enter
key.
Example
The command sequence
CLI#conf t; int vlan 1; no ip address dhcp; ip address 192.168.1.1 255.255.255.0;
end; write startup
has the same effect as:
CLI#conf t
CLI(config)#int vlan 1
CLI(config-if-vlan-1)#no ip address dhcp
CLI(config-if-vlan-1)#ip address 192.168.1.1 255.255.255.0
CLI(config-if-vlan-1)#end
CLI#write startup
1.6.5.7
clear history
Description
This command deletes the last commands you entered.
Requirement
You are in the User EXEC mode or in the Privileged EXEC mode.
The command prompt is as follows:
cli>
or
cli#
Syntax
Call the command without parameters:
clear history
Result
The last commands to be input are deleted.
You display a list of the last 14 commands entered with the
show history
command.