![]() |
Table Of Contents
Where You Should End Up—Verification
Configuring Multiple Devices
As a network administrator, you have to make one or more configuration changes on multiple devices in your network. To accomplish this task, create a custom template containing these configuration commands, and then execute it against multiple devices. You can execute the commands immediately or schedule them to run in the future.
What You Need—Prerequisites
In this scenario, you will use only the NetConfig application.
To create a template using this application, you must have Network Administrator permissions. To execute a job using a template, you must have permission to use the template. If you have Network Administrator permissions, you can use any template. If you do not, a network administrator must assign your permissions.
How To Do It—Procedures
The purpose of this scenario is to show you how a specific application can be used to perform this task. Seeing the application being used in this way might help you understand how to use the application to perform a similar task in your network.
Create a Template
Step 1
Select Resource Manager Essentials > Configuration Management > NetConfig. The NetConfig application window opens.
Step 2
Select Admin > Create/Edit User Templates. The Create/Edit User Templates wizard appears.
Step 3
Enter a name in the Name text box.
Step 4
Select IOS from the Device Types drop-down list box.
Note
Each NetConfig job can run on only one device category. You must create a separate job for each additional category of devices that you want to configure.
Step 5
Select Config as the command mode.
Step 6
Enter the commands in the Enter CLI Commands text box
or
Import the file that contains the commands you wish to use. To do this:
a.
Click Browse. The Browse dialog box appears.
b.
Locate the required file, then click OK.
Step 7
Enter the rollback commands, if any, in the Enter Rollback Commands text box
or
Import the file that contains the commands you wish to use. To do this:
a.
Click Browse. The Browse dialog box appears.
b.
Locate the required file, then click OK.
Step 8
Click Assign to give permissions for the use of this template. The Assign Users dialog box appears.
Step 9
Select the users to whom you wish to give permission, click the >> button, then click Finish.
If there are no users available, select Server Configuration > Setup > Security > Add Users. Use the Add Users dialog box to add new users.
Step 10
Click Save. The template appears in the left pane.
Define a NetConfig Job
Step 1
Select Resource Manager Essentials > Configuration Management > NetConfig. The NetConfig application window opens.
Step 2
Select Jobs > New Job. The New Job wizard appears with the Select Device Category dialog box open.
Step 3
Select IOS from the Select Device Category drop-down list box, then click Next. The Select Devices dialog box appears.
Note
Each NetConfig job can run on only one device category. You must create a separate job for each additional category of devices that you want to configure.
Step 4
Select the required Cisco IOS devices in the inventory using the device selector, then click Next. The Apply Template dialog box appears, unless you selected any devices whose configurations are not archived.
If you selected any devices whose configurations are not archived in the configuration archive, a dialog box appears listing those devices. Click one of the buttons:
•
Open Archive Status. Opens the Archive Status dialog box in the CiscoWorks2000 window, where you can troubleshoot devices and add their configurations to the archive.
•
Cancel. Cancels device selection and returns you to Select Devices dialog box.
•
Continue. Removes devices whose configurations are not archived and continues the New Job wizard at the Apply Templates dialog box.
Step 5
From the Select Template drop-down list box, select the template you created in the previous procedure. The commands contained in the template appear in the Commands text box.
Step 6
Click Add. The template and its corresponding configuration commands appear at the bottom of the dialog box.
Step 7
Click Next. The Job Properties dialog box appears.
Step 8
Enter a description in the Description text box and any comments in the Config Comments text box.
Step 9
Specify the job schedule and other options, then click Next.
•
If Job Approval is enabled, the Set Approver dialog box appears.
Select an approver list and enter any other optional information, then click Next.
•
If Job Approval is not enabled, the Work Order dialog box appears.
Step 10
Review the work order.
Step 11
If you need to edit the job, click Back to return to previous dialog boxes, make the necessary changes, then click Next until the Work Order dialog box appears.
Step 12
Click Finish. The job is registered and runs, unless it is scheduled to run in the future.
Step 13
Note the Job ID that is displayed.
Step 14
Verify that the job runs successfully. Refer to the section "Where You Should End Up—Verification" for more information.
Where You Should End Up—Verification
After the job runs, the device configuration of the selected devices are changed. You should verify that the process was successful:
Step 1
Select Resource Manager Essentials > Configuration Management > NetConfig. The NetConfig application window opens.
Step 2
Select Jobs > Job Browser. The Job Browser dialog box appears.
Step 3
Locate the job record and check its status entry to determine if it completed successfully.
Step 4
Select the job record and click Job Details. The Job Details dialog box appears.
•
If the job failed, review the Download Summary page and the device details for each device to determine why it failed.
•
If the job completed successfully, click Check Credentials button to verify that your commands are executed correctly on the devices.
For more information about browsing jobs and job details, refer to the online help.