HP BMD00022 manual Viewing, applying, reverting, and saving changes, Viewing pending changes

Models: BMD00022

1 228
Download 228 pages 32.29 Kb
Page 109
Image 109

Table 78 Configuration Menu options

Command

Usage

 

 

ptcfg <host name or IP address of

Backs up current configuration to FTP/TFTP server.

FTP/TFTP server> <filename on host>

 

gtcfg <host name or IP address of

Restores current configuration from FTP/TFTP server.

FTP/TFTP server> <filename on host>

 

cur

Displays the current configuration parameters.

 

 

Viewing, applying, reverting, and saving changes

As you use the configuration menus to set switch parameters, the changes you make do not take effect immediately. All changes are considered pending until you explicitly apply them. Also, any changes are lost the next time the switch boots unless the changes are explicitly saved.

While configuration changes are in the pending state, you can:

View the pending changes

Apply the pending changes

Revert to restore configuration parameters set with the last apply command

Save the changes to flash memory

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

Configuration Menu 109

Page 109
Image 109
HP BMD00022 manual Viewing, applying, reverting, and saving changes, Viewing pending changes, Applying pending changes