'% Command not found: del logging-server' error when deleting remote syslog server in NSX
search cancel

'% Command not found: del logging-server' error when deleting remote syslog server in NSX

book

Article ID: 409520

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

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.

 

Resolution

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

Additional Information

Configure remote logging - Follow this techdoc link for more information on various options with configuring remote logging