Command Reference Basic Management Commands
Command
Mode
Global configuration mode
Usage Guide
Use this command to enable or disable a specified service. Use the no enable service command to
disable the specified service.
The enable service web-server command is followed by three optional keywords: [http |
https | all]. If the command is followed by no keyword or by all, the command enables
http and https services. Followed by http, the command enables http service only.
Followed by https, the command enables https service only.
Configuration
Examples
The following example enables the SSH Server:
Ruijie(Config)# enable service ssh-sesrver
Command Description Related
commands
show service
Views the service status in the current system.
Platform
Description
None
execute
To run the commands in batches, use the execute command in privileged EXEC mode.
run [flash: ] filename
Parameter Description
flash:
Parent directory of the batch file
Parameter
Description
filename
Name of the batch file
Defaults
None
Command
Mode
Privileged EXEC mode
Usage Guide
This command is used to run commands in batches.
You can define the filename and content of each batch file. When edited, the batch files on your
computer are transferred to the flash memory of the device through TFTP. These batch files imitate