Restart Network with svcadm

The svcadm command can be used to restart many solaris services. Restarting the network after changes is important. Specifying the right service name is important for restarting the network. Below is an example of how to use the svcadm command to do this:

root@computer:~# svcs | grep physical
online          5:32:22 svc:/network/physical:nwam
root@computer:~# svcadm restart /network/physical:default

We use the svcs to get the network service name and then use svcadm command to restart it. This is useful if you want to perform a network restart without having to reboot solaris and thereby reduce system downtime.

Be the first to comment

Leave a Reply