Loading A Configuration; Changing The Default Configuration File - Brocade Communications Systems 5600 Quick Start Manual

Hide thumbs Also See for 5600:
Table of Contents

Advertisement

Saving configuration to another file
Save the configuration to a different file in the default directory by specifying a different file name.
vyatta@vyatta# save testconfig
Saving configuration to '/config/testconfig'...
Done
[edit]
vyatta@vyatta#
Saving the configuration to a file provides the ability to have multiple configuration files for different
situations (for example, test and production).
You can also save a configuration file to a location path other than the standard /config configuration
directory by specifying a different path. You can save to a hard drive, compact Flash, or USB device by
including the directory on which the device is mounted in the path.

Loading a configuration

A configuration can be loaded by using the load command in configuration mode. You can load only a
file that has first been saved by using the save command.
Load a configuration from the default directory
Load a configuration from the default directory by specifying only the file name.
vyatta@vyatta# load testconfig
Loading configuration file /config/testconfig...
No configuration changes to commit
Done
[edit]
vyatta@vyatta#
To load a configuration from a directory other than the default directory, the full path must be specified.

Changing the default configuration file

To change the default configuration file to one that you have previously saved, use both the load and
save commands.
Load a previously saved configuration and save it as the default configuration
Load the previously saved configuration file (testconfig) from the default directory by specifying only
the file name and then save it to the default file (config.boot).
vyatta@vyatta# load testconfig
Loading configuration file /config/testconfig...
No configuration changes to commit
Done
[edit]
vyatta@vyatta# save
Saving configuration to '/config/config.boot'...
Done
[edit]
vyatta@vyatta#
At this point, the configurations in the testconfig and config.boot files are the same. The currently
active configuration is the same as what is loaded when the system restarts.
Brocade 5600 vRouter Quick Start Guide
53-1003725-03
Loading a configuration
37

Advertisement

Table of Contents
loading

Table of Contents