Executing a Command without Logging In To execute a command without logging in to the Dell SonicWALL GMS CLI, use the login command. sgms> login -L “username password” -C “command parameter” Syntax Table 86. Syntax username Admin user. password Password of the admin user. command The command. parameter Any command parameters. Usage Guidelines When this command is entered, Dell SonicWALL GMS does the following: • Checks whether the command is entered with the correct parameters. • If the command is not entered correctly, it returns the correct form of the command. • Checks the validity of the username and password. • Executes the login command. • Creates a new session with a randomly generated session ID. • Executes the command. • Closes the session and exits. Example In the following example, the user admin logs in using the password “password” and runs an addunit command. sgms> login -L admin password -C addunit new_sonicwall.xml