restart process

restart process [class cname | name {msm slot}]

Description

Terminates and restarts the specified process during a software upgrade on the switch.

Syntax Description

cname Specifies the name of the process to restart. With this parameter, you can terminate and restart all instances of the process associated with a specific routing protocol on all VRs.You can restart the OSPF routing protocol and associated processes.
name Specifies the name of the process to terminate and restart. You can use this command with the following processes: bgp, eaps, exsshd, isis, lldp, netLogin, netTools, ntp, ospf, ospfv3, snmp Subagent, snmpMaster, telnetd, thttpd, tftpd, vrrp, and xmld.
slot On a SummitStack, specifies the node‘s slot number. The number is a value from 1 to 8.

Default

N/A.

Usage Guidelines

Use this command to terminate and restart a process during a software upgrade on the switch. You have the following options:

Depending on the software version running on your switch and the type of switch you have, you can terminate and restart different or additional processes. To see which processes you can restart during a software upgrade, enter restart process followed by [Tab]. The switch displays a list of available processes.

SummitStack Only

You can issue this command only from the master node. If you issue this command from any other node, the following message appears:

 Error: Processes created by user can only be restarted on the primary node slot.

To display the status of ExtremeXOS processes on the switch, including how many times a process has been restarted, use the show process {name} {detail} {description} {slotslotid} command. The following is a truncated sample of the show process command on a switch:

Process Name     Version  Restart    State             Start Time
-------------------------------------------------------------------------
aaa              3.0.0.2     0    Ready        Thu Sep  1 17:00:52 2005
acl              3.0.0.2     0    Ready        Thu Sep  1 17:00:54 2005
bgp              Not Started 0    No license   Not Started
cfgmgr           3.0.0.21    0    Ready        Thu Sep  1 17:00:52 2005
cli              3.0.0.22    0    Ready        Thu Sep  1 17:00:52 2005
devmgr           3.0.0.2     0    Ready        Thu Sep  1 17:00:52 2005
dirser           3.0.0.2     0    Ready        Thu Sep  1 17:00:51 2005
dosprotect       3.0.0.1     0    Ready        Thu Sep  1 17:00:56 2005
eaps             3.0.0.8     0    Ready        Thu Sep  1 17:00:53 2005
...

You can also use the restart process command when upgrading a software modular package. For more information, see the section Upgrading a Modular Software Package in the Switch Engine 32.3 User Guide .

Example

The following example stops and restarts the process tftpd during a software upgrade:

restart process tftpd

The following example stops and restarts all instances of the OSPF routing protocol for all VRs during a software upgrade:

restart process class ospf

History

This command was first available in ExtremeXOS 11.3.

Support for restarting the Link Layer Discovery Protocol (lldp), Open Shortest Path First (ospf), and network login (netLogin) processes was added in ExtremeXOS 11.3.

Support for Border Gateway Protocol (bgp) and Ethernet Automatic Protection Switching (eaps) was added in ExtremeXOS 11.4.

Support for MultiProtocol Label Switching (mpls) and Virtual Router Redundancy Protocol (vrrp) was added in ExtremeXOS 11.6.

Support for netTools was added in ExtremeXOS 12.4.

Platform Availability

This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.