Configuring Devices to Transfer Committed Configurations
You can configure a Junos device to transfer its device configuration to the Junos Scope server when a commit operation succeeds. This feature ensures that the running configuration on the device is always archived in Junos Scope. You can enable or disable transfer-on-commit on selected devices after configuring the Junos Scope server for transfer-on-commit. You can also select a transferred configuration that could not be matched to any of the devices managed in Junos Scope, view the configuration file, select a device, and archive the unmatched transferred configuration into its device archive.
This section contains
Configuring Transfer on Commit
You can enable transfer-on-commit on selected devices. Configure your Junos Scope server for transfer-on-commit before enabling transfer-on commit on devices. You must have superuser or read-write permission to enable transfer-on-commit.
To configure transfer on commit on selected devices, follow these steps:
- In the Junos Scope main window, click Configuration >
Repository > Transfer on Commit > Configure Transfer on Commit. The
Select Group or Device(s) dialog box appears.
- Select the group or device(s) on which you want to configure transfer-on-commit.
- Click Next. The Confirm Selections dialog box appears.
- Confirm that the selections for performing the transfer-on-commit operation are correct and click Finish. The View Status Records dialog box shows the status of the transfer-on-commit operation.
Removing Transfer on Commit
You can disable transfer-on-commit on selected devices. You must have superuser or read-write permission to disable transfer-on-commit.
To remove Transfer on Commit from selected devices, follow these steps:
- In the Junos Scope main window, click Configuration >
Repository > Transfer on Commit > Remove Transfer on Commit. The Select
Device(s) dialog box appears.
- Select the device or devices on which you want to remove transfer-on-commit.
- Click Next. The Confirm Selections dialog box appears.
- Confirm that the selections for removing transfer-on-commit are correct and click Finish. The View Status Records dialog box shows the status of the transfer-on-commit operation.
Archiving an Unmatched Configuration
Junos Scope associates a transferred configuration to a device based on the file name of the transferred configuration. If Junos Scope is not able to match the file name of the transferred configuration to any device, the configuration will be stored in the archive as an unmatched configuration. You can select a transferred configuration that could not be matched to any of the devices managed in Junos Scope, view the configuration file, select a device, and archive the unmatched transferred configuration into its device archive. You must have superuser or read-write permission to archive unmatched configurations.
If you have set the host-name of a device to DNSName-re0 on one routing engine (RE) andDNSName-re1 on the other RE and then commit the configuration file, the name of this transferred configuration file is DNSName-re0. Junos Scope cannot match this configuration file name to any device in the database because Junos Scope knows the device only as DNSName. In this case, Junos Scope removes re0 or re1 from the hostname, matches it to a device, and the configuration is archived under that device. If Junos Scope cannot match the file name of the transferred configuration to any device, the configuration is stored in the archive as an unmatched configuration.
To archive unmatched configurations, follow these steps:
- In the Junos Scope main window, click Configuration >
Repository > Transfer on Commit > Archive Unmatched Configuration.
The Select Unmatched Config dialog box appears.
- Select the configuration you want to match from the Select
Config drop-down list box and click Next. The View Config and Select
Device dialog box appears.
- Select the device to which you want to archive the unmatched configuration from the Archive to Device drop-down list box.
- Click Next. The Confirm Selections dialog box appears.
- Confirm that the selections for archiving unmatched configurations
are correct and click Finish. The View Status dialog box shows the
status of the archive operation.