@logout
- Last Updated: May 12, 2023
- 1 minute read
- WhatsUp Gold
- Version 2026
- Version 2025
- Version 2024
- Version 2023.1
The last step of any Configuration Management script is typically to logout of the device. This is preferably done with the Configuration Management @logout command.
The @logout command writes out a logout command (the command defaults to exit) to the device with optional parameters to specify the command written and to specify expected device queries. After the command is written, Configuration Management waits to read the device's output.
The @logout command takes the following form:
@logout <optional device logout word><optional query>
Examples
Command | Output |
|---|---|
|
|
Writes |
|
|
Writes |
|
|
Writes |