You are here: Home > CLI Commands > Just_CLI_Topics > write


write {erase [all]|memory|terminal}


This command saves the running configuration to memory or displays the running configuration on the screen. This command can also be used to erase the running configuration and return Mobility Master to factory defaults.





Erases the running system configuration file. Rebooting Mobility Master resets it to the factory default configuration. If you specify all, the configuration and all data in Mobility Master databases (including the license, WMS, and internal databases) are erased.


Saves the current system configuration to memory. Any configuration changes made during this session will be made permanent.


Displays the current system configuration.

Usage Guidelines

Configuration changes made using the CLICommand-Line Interface. A console interface with a command line shell that allows users to execute text input as commands and convert these commands to appropriate functions. affect only the current session. You must save your changes for them to be retained across system reboots. Changes are lost if the system reboots before saving the changes. To save your configuration changes, use the write memory command.

If you use the write erase command, the license key management database on Mobility Master is not affected. If you use the write erase all command, all databases on Mobility Master are deleted, including the license key management database. If you reset Mobility Master to the factory default configuration, perform the Initial Setup as described in the ArubaOS Quick Start Guide.

If you use the write terminal command, all of the commands used to configure Mobility Master appear on the terminal. If paging is enabled, there is a pause mechanism that stops the output from printing continuously to the terminal. To navigate through the output, use any of the commands displayed at the bottom of the output, as described in below. If paging is disabled, the output prints continuously to the terminal. For more information about the paging command, see paging.





Exit the display.


Page up through the output.


Page down through the output.


Enter a text string to search for.


Repeat the text string to search for.


The following command saves your changes so they are retained after a reboot:

(host) [mynode] #write memory

The following command deletes the running configuration and databases and returns Mobility Master to the factory default settings:

(host) [mynode] #write erase

Command History




Command introduced.

Command Information



Command Mode

All platforms

Base operating system.

Enable or Config mode on Mobility Master.