service

Starts, stops, or restarts all the controllers services.
Syntax
service{restart|start}
no service
Command Default

All controller services are running by default.

Parameters
restart
Restarts all the controller services.
start
Starts all the controller services.
Modes

Privileged EXEC mode

Usage Guidelines

While the controller services are running by default, use the service start command if you have previously stopped the controller services using the no service command. Restoring a backup file to the controller requires restarting all of the controller services using the service restart command.

This command is supported on all SmartZone platforms except SmartZone Data Plane controller.

Examples

The following example shows how to start all the controller services. Use this option if the controller services have been stopped.

device# service start
Please note that this command will cause current SSH connection closed for SSH restart. 
Do you want to start all services (yes/no)? yes
Starting all services...
wait for (cassandra,communicator,eventreader,freeradius,memcached,monitor,northbound,repcached,scheduler,tomcat) Up!
wait for (cassandra,communicator,eventreader,freeradius,memcached,monitor,northbound,repcached,scheduler,tomcat) Up!
wait for (communicator,eventreader,freeradius,memcached,monitor,northbound,repcached,scheduler,tomcat) Up!
wait for (communicator,eventreader,monitor,northbound,repcached,scheduler,tomcat) Up!
wait for (communicator,eventreader,monitor,northbound,repcached,scheduler,tomcat) Up!
wait for (communicator,eventreader,monitor,northbound,repcached,scheduler,tomcat) Up!
wait for (communicator,eventreader,monitor,northbound,repcached,scheduler,tomcat) Up!
wait for (communicator,eventreader,northbound,tomcat) Up!
All services are up!
device# Connection to 10.2.6.230 closed by remote host.

The following example shows how to restart all the controller services. Use this option if you have restored a backup file to the controller.

device# service restart
Please note that this command will cause current SSH connection closed for SSH restart. 
Do you want to restart all services (yes/no)? yes
Restarting all services...

The following example shows how to stop all the controller services.

device# no service
Please note that this command will cause current SSH connection closed for SSH restart. 
Do you want to stop all services (yes/no)? yes
Stopping all services...
Connection to 10.2.6.230 closed by remote host.