C H A P T E R
12
Configuration Import/Export
•
About Configuration Import/Export, page 159
•
Exporting a Configuration File, page 160
•
Scheduling Automatic Configuration Export, page 161
•
Setting a Configuration Export Reminder, page 162
•
Importing a Configuration File, page 162
About Configuration Import/Export
You can use the configuration export feature to export an XML file containing logical device and platform configuration settings for your FXOS chassis to a remote server or your local computer. You can later import that configuration file to quickly apply the configuration settings to your FXOS chassis to return to a known good configuration or to recover from a system failure.
Guidelines and Restrictions
• Do not modify the contents of the configuration file. If a configuration file is modified, configuration import using that file might fail.
• Application-specific configuration settings are not contained in the configuration file. You must use the configuration backup tools provided by the application to manage application-specific settings and configurations.
• When you import a configuration to the FXOS chassis, all existing configuration on the FXOS chassis
(including any logical devices) will be deleted and completely replaced by the configuration contained in the import file.
• We recommend that you only import a configuration file to the same FXOS chassis from which the configuration was exported.
• The platform software version of the FXOS chassis to which you are importing should be the same version as when the export was taken. If not, the import operation is not guaranteed to be successful.
We recommend that you export a backup configuration whenever the FXOS chassis is upgraded or downgraded.
Cisco FXOS Firepower Chassis Manager Configuration Guide, 2.0(1)
159
Configuration Import/Export
Exporting a Configuration File
• The FXOS chassis to which you are importing must have the same Network Modules installed in the same slots as when the export was taken.
• The FXOS chassis to which you are importing must have the correct software application images installed for any logical devices defined in the export file that your are importing.
• If the configuration file being imported contains a logical device whose application has an End-User
License Agreement (EULA), the EULA for that application must be accepted on the FXOS chassis before importing the configuration or the operation will fail.
• To avoid overwriting existing backup files, please be sure to change the filename in the backup operation or copy the existing file to another location.
Exporting a Configuration File
Use the configuration export feature to export an XML file containing logical device and platform configuration settings for your FXOS chassis to a remote server or your local computer.
Please review the
About Configuration Import/Export
for important information about using the configuration export feature.
Procedure
Step 1
Choose
System
>
Configuration
>
Export
.
Step 2
To export a configuration file to your local computer, click
Export Locally
.
The configuration file is created and, depending on your browser, the file might be automatically downloaded to your default download location or you might be prompted to save the file.
Step 3
To export the configuration file to a previously configured remote server, click
Export
for the Remote
Configuration you want to use.
The configuration file is created and exported to the specified location.
Step 4
To export the configuration file to a new remote server: a) Under On-Demand Export, click
Add On-Demand Configuration
.
b) Choose the protocol to use when communicating with the remote server. This can be one of the following:
FTP, TFTP, SCP, or SFTP.
c) Enter the hostname or IP address of the location where the backup file should be stored. This can be a server, storage array, local drive, or any read/write media that the FXOS chassis can access through the network.
If you use a hostname rather than an IP address, you must configure a DNS server.
d) If you are using a non-default port, enter the port number in the
Port
field.
e) Enter the username the system should use to log in to the remote server. This field does not apply if the protocol is TFTP.
f) Enter the password for the remote server username. This field does not apply if the protocol is TFTP.
g) In the
Location
field, enter the full path to where you want the configuration file exported including the filename. If you omit the filename, the export procedure assigns a name to the file.
h) Click
OK
.
The Remote Configuration is added to the On-Demand Export table.
i) Click
Export
for the Remote Configuration you want to use.
160
Cisco FXOS Firepower Chassis Manager Configuration Guide, 2.0(1)
Configuration Import/Export
Scheduling Automatic Configuration Export
The configuration file is created and exported to the specified location.
Scheduling Automatic Configuration Export
Use the scheduled export feature to automatically export an XML file containing logical device and platform configuration settings for your FXOS chassis to a remote server or your local computer. You can schedule the exports to be run daily, weekly, or every two weeks. The configuration export will be executed according to the schedule based on the when the scheduled export feature is enabled. So, for example, if you enable weekly scheduled export on a Wednesday at 10:00pm, the system will trigger a new export every Wednesday at 10:00pm.
Please review the
About Configuration Import/Export
for important information about using the configuration export feature.
Procedure
Step 1
Choose
System
>
Configuration
>
Export
.
Step 2
Click
Schedule Export
.
You see the
Configure Scheduled Export
dialog box.
Step 3
Choose the protocol to use when communicating with the remote server. This can be one of the following:
FTP, TFTP, SCP, or SFTP.
Step 4
To enable the scheduled export, check the
Enable
check box.
Note
You can enable or disable the schedule export at a later time using this check box; however, you will need to specify the password again when enabling or disabling the scheduled export.
Step 5
Enter the hostname or IP address of the location where the backup file should be stored. This can be a server, storage array, local drive, or any read/write media that the FXOS chassis can access through the network.
If you use a hostname rather than an IP address, you must configure a DNS server.
Step 6
If you are using a non-default port, enter the port number in the
Port
field.
Step 7
Enter the username the system should use to log in to the remote server. This field does not apply if the protocol is TFTP.
Step 8
Enter the password for the remote server username. This field does not apply if the protocol is TFTP.
Step 9
In the
Location
field, enter the full path to where you want the configuration file exported including the filename. If you omit the filename, the export procedure assigns a name to the file.
Step 10
Choose the schedule on which you would like to have the configuration automatically exported. This can be one of the following: Daily, Weekly, or BiWeekly.
Step 11
Click
OK
.
The scheduled export is created. If you enabled the scheduled export, the system will automatically export a configuration file to the specified location according to the schedule that you selected.
Cisco FXOS Firepower Chassis Manager Configuration Guide, 2.0(1)
161
Configuration Import/Export
Setting a Configuration Export Reminder
Setting a Configuration Export Reminder
Use the Export Reminder feature to have the system generate a fault when a configuration export hasn't been executed in a certain number of days.
Procedure
Step 1
Choose
System
>
Configuration
>
Export
.
Step 2
To enable the configuration export reminder, check the check box under
Reminder to trigger an export
.
Step 3
Enter the number of days, between 1 and 365, that the system should wait between configuration exports before generating a reminder fault.
Step 4
Click
Save Reminder
.
Importing a Configuration File
You can use the configuration import feature to apply configuration settings that were previously exported from your FXOS chassis. This feature allows you to return to a known good configuration or to recover from a system failure. Please review the
About Configuration Import/Export
for important information about using the configuration import feature.
Procedure
Step 1
Choose
System
>
Configuration
>
Import
.
Step 2
To import from a local configuration file: a) Click
Choose File
to navigate to and select the configuration file that you want to import.
b) Click
Import
.
A confirmation dialog box opens asking you to confirm that you want to proceed and warning you that the chassis might need to restart.
c) Click
Yes
to confirm that you want to import the specified configuration file.
The existing configuration is deleted and the configuration specified in the import file is applied to the
FXOS chassis. If there is a breakout port configuration change during the import, the FXOS chassis will need to restart.
Step 3
To import the configuration file from a previously configured remote server: a) In the Remote Import table, click
Import
for the Remote Configuration you want to use.
A confirmation dialog box opens asking you to confirm that you want to proceed and warning you that the chassis might need to restart.
b) Click
Yes
to confirm that you want to import the specified configuration file.
The existing configuration is deleted and the configuration specified in the import file is applied to the
FXOS chassis. If there is a breakout port configuration change during the import, the FXOS chassis will need to restart.
Step 4
To import from a configuration file on a new remote server:
162
Cisco FXOS Firepower Chassis Manager Configuration Guide, 2.0(1)
Configuration Import/Export
Importing a Configuration File
a) Under Remote Import, click
Add Remote Configuration
.
b) Choose the protocol to use when communicating with the remote server. This can be one of the following:
FTP, TFTP, SCP, or SFTP.
c) If you are using a non-default port, enter the port number in the
Port
field.
d) Enter the hostname or IP address of the location where the backup file is stored. This can be a server, storage array, local drive, or any read/write media that the FXOS chassis can access through the network.
If you use a hostname rather than an IP address, you must configure a DNS server.
e) Enter the username the system should use to log in to the remote server. This field does not apply if the protocol is TFTP.
f) Enter the password for the remote server username. This field does not apply if the protocol is TFTP.
g) In the
File Path
field, enter the full path to the configuration file including the filename.
h) Click
Save
.
The Remote Configuration is added to the Remote Import table.
i) Click
Import
for the Remote Configuration you want to use.
A confirmation dialog box opens asking you to confirm that you want to proceed and warning you that the chassis might need to restart.
j) Click
Yes
to confirm that you want to import the specified configuration file.
The existing configuration is deleted and the configuration specified in the import file is applied to the
FXOS chassis. If there is a breakout port configuration change during the import, the FXOS chassis will need to restart.
Cisco FXOS Firepower Chassis Manager Configuration Guide, 2.0(1)
163
Importing a Configuration File
Configuration Import/Export
164
Cisco FXOS Firepower Chassis Manager Configuration Guide, 2.0(1)