Viewing pending changes

You can view all pending configuration changes by entering diff at any CLI prompt:

# diff

You can view all pending configuration changes that have been applied but not saved to flash memory by entering diff flash at any CLI prompt:

# diff flash

Applying pending changes

To make your configuration changes active, you must apply them. To apply configuration changes, enter the following command at any prompt:

# apply

NOTE: All configuration changes take effect immediately when applied.

Reverting changes

The revert command removes configuration changes that have been made, but not applied. Enter revert apply to remove all changes that have not been saved:

# revert

Saving the configuration

In addition to applying the configuration changes, you can save them to flash memory on the switch.

IMPORTANT: If you do not save the changes, they will be lost the next time the system is rebooted.

To save the new configuration, enter the following command at any prompt:

# save

When you save configuration changes, the changes are saved to the active configuration block. The configuration being replaced by the save is first copied to the backup configuration block. If you do not want the previous configuration block copied to the backup configuration block, enter the following instead:

# save n

You can decide which configuration you want to run the next time you reset the switch. Your options include:

The active configuration block

The backup configuration block

Factory default configuration block

You can view all pending configuration changes that have been applied but not saved to flash memory using the diff flash command. It is a global command that can be executed from any prompt.

For instructions on selecting the configuration to run at the next system reset, see the “Selecting a configuration block” section in the “Boot Options Menu” chapter.

Command Line Interface 61