Specifications
use configuration
ExtremeWare XOS 10.1 Command Reference Guide 739
use configuration
use configuration [primary | secondary | <file_name>
Description
Configures the switch to use a previously saved configuration on the next reboot.
Syntax Description
Default
N/A.
Usage Guidelines
Configuration files have a .cfg file extension. When you enter the name of the file in the CLI, the system
automatically adds the .cfg file extension.
You can create a new configuration file by saving your current switch configurations and using that file
on the next reboot. For example, to create a new configuration named test1 based on your current CLI
session and switch configurations, use the following command:
save configuration test1
To keep track of your configuration file names, write them down each time you create a new
configuration. In addition, you can see a list of available configuration files when you use the
use
configuration
command. The following is sample output from this command (“test” and “XOS1” are
the names of the user-created and defined configurations):
exsh.1 # use configuration
primary Primary configuration file
secondary Secondary configuration file
<file-name> Configuration file name
“test” "XOS1"
On the BlackDiamond 10800, you can also use the ls command to display a list of the current
configuration and policy files in the system.
To view the currently running configuration, use the show switch command.
Example
The following command specifies that the next reboot should use the saved configuration file named
XOS1.cfg:
use configuration XOS1.cfg
primary Specifies the primary configuration file.
secondary Specifies the secondary configuration file.
file_name Specifies any saved configuration file. By default, the switch has two
configuration files: primary and secondary.