Working Through A Command Sequence; Clear History - Siemens SCALANCE S615 Configuration Manual

Simatic net industrial ethernet security command line interface
Hide thumbs Also See for SCALANCE S615:
Table of Contents

Advertisement

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>
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
SCALANCE S615 Command Line Interface
Configuration Manual, 06/2015, C79000-G8976-C406-02
or
cli#
Description
1.6 General CLI commands
command.
show history
35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents