Command Reference Basic Configuration Management Commands
The following example configures the security password as pw10.
Ruijie(config)# enable secret 0 pw10
Sets passwords for different privilege levels.
Use this command to enable or disable a specified service such as SSH Server/Telnet Server/Web
Server/SNMP Agent.
enable service { ssh-sesrver | telnet-server | web-server [ http | https | all ] | snmp-agent }
Enables SSH Server. IPv4 and IPv6 services are enabled at the
same time.
Enables Telnet Server. IPv4 and IPv6 services are enabled at the
same time.
web-server [ http | https |
all ]
Enables HTTP Server. IPv4 and IPv6 services are enabled at the
same time.
Enables SNMP Agent. IPv4 and IPv6 services are enabled at the
same time.
telnet-server, snmp-agent and web-server are enabled. ssh-server is disabled.
Global configuration mode
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.
The following example enables the SSH Server.
Ruijie(Config)# enable service ssh-sesrver