Hi Luke Robertson!
In some platforms as you correctly stated, the command may not show as available:
root@s10-33> restart m
Possible completions:
> mc-ae-config-check-service MC-LAG Configuration Consistency Check daemon
member Restart software process on specific virtual chassis member (0..9)
> mgd-api Management Daemon GRPC server
> mib-process Management Information Base II process
> mosquitto Mosquitto Broker for notification
> multicast-snooping Multicast Snooping process
However, in some platforms the command is hidden to prevent mistakenly restarting it. But If you manually type the full command it may work:
root@s10-33> restart management
Management process started, pid 30895
WARNING: cli has been replaced by an updated version:
CLI release 18.1R3.3 built by builder on 2018-08-30 05:29:08 UTC
Restart cli using the new version ? [yes,no] (yes) yes
If this still does not work, you can kill it from shell using root access. (using this wayyou need to kill each mgd individually):
start shell user root
root@s10-33:RE:0% ps -auwx| grep mgd
root 4550 0.0 0.4 280500 7284 - I Sat07 0:00.08 /usr/sbin/mgd-api -N
root 30895 0.0 1.6 300196 32136 - S 17:31 0:01.24 /usr/sbin/mgd -N
root 30927 0.0 1.6 300196 32340 - Ss 17:31 0:00.05 mgd: (mgd) (root)/dev/pts/0 (mgd)
root 31039 0.0 0.1 8512 2192 0 S+ 17:32 0:00.01 grep mgd
root@s10-33:RE:0% kill 4550
root@s10-33:RE:0% kill 30895
root@s10-33:RE:0% kill 30927
root@s10-33:RE:0% exit
Please note that either method will logout out of the switch and cancel any pending configuration not committed.
Best regards!
Esteban,
If this clears your concerns, please mark as solve!