service restart

Restart the specified service. Services require restarting if their configurations have changed. For example, after changing any network settings using the network commands, you should restart the network service to ensure the new settings take effect. Restarting a service isn't always the same as stopping and then starting a service. If you restart the network service while connected to the appliance via the network (ssh), you will not lose your connection (assuming no changes were made that would cause a connection loss). However, if you were to stop the network service, you would immediately lose your connection, and you would need to log in via the local console to start the service again.

User access

admin, pseoperator

Syntax

service restart <service>

Argument(s) Shortcut Description
<service>  

Specifies the service to restart.

Valid values: network, etnetserver, iptables, snmp, ssh, syslog

Example

psesh:>service restart syslog

Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]

Command Result : 0 (Success)

 

psesh:>service restart network

Shutting down interface eth0:                       [  OK  ]
Shutting down interface eth1:                       [  OK  ]
Shutting down loopback interface:                   [  OK  ]
Bringing up loopback interface:                     [  OK  ]
Bringing up interface eth0:                         [  OK  ]
Bringing up interface eth1:                         [  OK  ]
Determining IP information for eth0... done.        [  OK  ]
Determining IP information for eth1... done.        [  OK  ]


Command Result : 0 (Success)