Description
1.6 General CLI commands
SCALANCE S615 Command Line Interface
Configuration Manual, 06/2015, C79000-G8976-C406-02
35
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.
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
clear history
Description
This command deletes the last commands you entered.
You are in the User EXEC mode or in the Privileged EXEC mode.
The command prompt is as follows:
cli> or cli#
Call the command without parameters:
clear history
The last commands to be input are deleted.
You display a list of the last 14 commands entered with the
show history command.