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 (available only when you have installed the SSH module), isis, lldp, netLogin, netTools, ospf, snmp Subagent, snmpMaster, telnetd, thttpd, tftpd, vrrp, and xmld.
slot Specifies the MSM/MM where the process should be terminated and restarted. A specifies the MSM/MM installed in slot A, and B specifies the MSM/MM installed in slot B.
Note: This parameter is available only on modular switches.

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:

  • cname—Specifies that the software terminates and restarts all instances of the process associated with a specific routing protocol on all VRs.
  • name—Specifies the name of the process.

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: This command can only be executed on Master. 

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 Summit 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.

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 all platforms.