The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

write

Prev Next

Saves the running configuration to the current active configuration file or displays the CLI commands for the running configuration. The active configuration is loaded automatically when you reboot the system. Note that configuration changes are applied immediately to the running configuration, but they must be saved to a configuration file if you want to retain them after the next reboot.

Syntax

write {memory | terminal}

Parameters

memory

Saves the running configuration to the current active configuration file.

terminal

Displays the CLI commands for the running configuration.

Example

The following example saves the running configuration to the current active configuration.

hostname (config) # write memory
Saving configuration file ... Done!