When trying to remove an old syslog server using the NSX manager CLI, you run into an error saying that '% Command not found: del logging-server' due to incorrect command syntax.
Correct cli command to delete syslog server via NSX manager cli:
del logging-server <hostname-or-ip-address[:port]> proto <proto> level <level>
If any of the above mandatory fields are missing when deleting an existing server entry, you will run into the below error:
'% Command not found: <Entered command>'
Use below command to confirm deletion of existing syslog server:
get logging-server
Configure remote logging - Follow this techdoc link for more information on various options with configuring remote logging