write memory

Description                                                    Write the running-config to a configuration profile.

Syntax                                                                  write memory
  [primary | secondary | profile-name]
    [
all-partitions | partition {shared | part-name}]

Parameter

Description

primary

Replaces the configuration profile stored in the primary image area with the running-config.

secondary

Replaces the configuration profile stored in the secondary image area with the running-config.

profile-name

Replaces the commands in the specified configuration profile with the running-config.

all-partitions

Saves changes for all resources in all partitions.

shared

Saves changes only for the resources in the shared partition.

part-name

Saves changes only for the resources in the specified L3V partition.

Default                                                                If you enter write memory without additional options, the command replaces the configu­ration profile that is currently linked to by “startup-config” with the commands in the run­ning-config. If startup-config is set to its default (linked to the configuration profile stored in the image area that was used for the last reboot), then write memory replaces the configu­ration profile in the image area with the running-config.

Unless you use the force option, the command checks for system readiness and saves the configuration only if the system is ready.

Mode                                                                   Privileged EXEC and Global configuration

Example                                                            The following command saves the running-config to the configuration profile stored in the primary image area of the hard disk:

ACOS#write memory primary

Building configuration...

Write configuration to primary default startup-config

Do you also want to write configuration to secondary default startup-config as well?

(y/n):y
[OK]

 

Example                                                            The following command saves the running-config to a configuration profile named "slbcon­fig2":

ACOS#write memory slbconfig2

 

Example                                                            The following command attempts to save the running-config but the system is not ready:

ACOS#write memory

ACOS is not ready. Cannot save the configuration.

 

Table of Contents

Index

Glossary

-Search-

Back