cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
494
Views
0
Helpful
4
Replies

Re-numbering the network with Ciscoworks

orsonjoon
Level 1
Level 1

Hello,

We would like to move all our network access switches to a new subnet range.

Is it possible to do this with Ciscoworks, for example by a Netconfig job?

Every switch needs a different ip address, and I don't want to do this on a per switch base, but want this all on a easy manner in one single job. :))

4 Replies 4

Joe Clarke
Cisco Employee
Cisco Employee

On the surface, this is very easy to do. You would create a parameterized Netconfig template to deploy your IP address change. Your template would look like:

interface Vlan 1

ip address $address 255.255.255.0

Then, your parameterized command file would look like:

10.1.1.1

20.1.1.1

...

However, when this job runs, RME will no longer be able to access the switches after it deploys the commands. It will therefore now be able to determine if the deployment succeeded, and thus mark the job as failed.

You will also need to go into DCR after making this change, and update the IP addresses there (if you are keeping IPs in DCR). This could be made easier if you export the DCR data, change the IPs in bulk, then re-import the file.

Hello Joe,

What could we do without your, excellent advice, thanks again.

I have tested this with 2 switches and it works, however as you expected the job fails and the devices are still in the DCR with their old ip addresses.

Shouldn't Ciscoworks update this ip address and name automatically with it's daily devices discovery job?

Another thing, is there a way to purge devices from the database if they are for example not reachable for over a month?

Thanks again.

No. First, you're using a user-defined template, so there is no inherent knowledge that what you're doing would affect manageability. Second, you could be changing just some arbitrary interface address, and not the management address.

We are looking at automatically grouping unreachable devices for LMS 3.2. This way, it would be up to the user if they want to purge these devices in one shot.

The following steps worked for me:

1) Add ip address and Vlan interface

2) Change default gateway

3) Change tftp source int., ntp source and delete old Vlan interface

4) Change DNS

After the device discovery job finishess, the devices automatically appear in the DCR with new IP address, without the need to change this manually.

It would be great thou if some tools are embedded in Ciscoworks for creating parameter files in the new version.

Also a little more tooling to create and modify default configuration templates files are welcome, so life can be a little easier ;))

It would also be great if you can see in groups (for e.g. day, week , month, year) which devices weren't reachable, so the user can choose to delete them from the DCR or not. Can't wait for version 3.2!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: