Description
2.7 General CLI commands
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
54
Configuration Manual, 06/2016, C79000-G8976-C252-11
2.7.3
exit
Description
With this command, you close the current mode.
Syntax
Call the command without parameters:
exit
Result
The current mode was exited. You are then at the next higher level.
If you are in Privileged EXEC Modus or in User EXEC Modus mode, you will be logged out.
2.7.4
do
Description
With this command, you can execute the commands from the Privileged EXEC mode in any
configuration mode.
Syntax
Call up the command with the following parameters:
do [command ]
To do this, you replace
[command ]
with the command from the Privileged EXEC mode that
you want to execute.
Example
You are in the Interface configuration mode and you want to execute the
write startup-
config
command from the Privileged EXEC mode.
cli(config-if-$$)# do write startup-config
Result
The command from the Privileged EXEC mode will be executed.