Hi all.
I´ve been looking for a way to automaticly download and save the routing tables of my routers - At least the most intresting ones :)
I have´nt been able to figure out how to do that.
Any one that can assist ?
Brgds
Jesper
Hi all.
I´ve been looking for a way to automaticly download and save the routing tables of my routers - At least the most intresting ones :)
I have´nt been able to figure out how to do that.
Any one that can assist ?
Brgds
Jesper
Strange that it has to be added twice !?
This is because a device can use only one template, so we need a second instance of the same node to use the modified template and keep your configuration as it is for the first instance.
I will give a try here in the lab for a 6500 series device.
The steps would be:
1- identify the template used by the device
2- Create a copy of it and edit the DownloadConfig variable
3- Add a second time the device
4- Set the custom template to be used by this new device.
5- Test if that works.
Yann
You are right freemen, but then the results can be saved only in text files which means that you will not be able to e.g. run some policy reports.
If there is no need of the advanced features then of course your method is faster to implement.
Up to Jesper :-)
Jesper,
I am stuck at the moment as I am getting the error "Connectivity issues discarding config file. Device IP:xxxxxxxxx" whereas NCM is able to download properly the file but it cannot "catch" the prompt.
Here is what I did so far:
1- Manually select the existing template for the device I am going to add a second time
Right-click on the device and select Edit Selected Node.
Scroll down to the Communication Section and change the Device Command Template from "Auto Determine" to your the template used by the device. e.g. Cisoc Catalyst CatOS for a Cisco CATOS 6503.
2- Copy the original template used for that device and rename its name to something easy to understand.
e.g. Cisco Catalyst CatOS-1.3.6.1.4.1.9.5.ConfigMgmt-Commands to Cisco Catalyst CatOS_RT-1.3.6.1.4.1.9.5.ConfigMgmt-Commands
Edit in your text editor and change the name inside it as well:
e.g. Device="Cisco Catalyst CatOS" to Device="Cisco Catalyst CatOS_RT"
Change the Download Config command variable:
e.g. <Command Name="DownloadConfig" Value="Show ${ConfigType}"/> to
<Command Name="DownloadConfig" Value="Show ip route"/>
3- Add a second time your equipment
In NCM, Nodes > Add New Node
You will be asked to confirm that you want to add a duplicate node.
4- Select the modified template in the properties of the new node
5- Try to download the config
Right-click on the new device and select Download Configs.
Let me know if you get the error as well, if you get the error, please post a session trace:
Sanitize the trace before to post it.
Thanks
Yann
Hi Jesper,
I checked with Chris Lapoint and there is already a report that list the Routing tables of your devices.
You need to run the inventory on the nodes you wish to review the routing table.
- In NCM, Inventory > Start Full Inventory or Right-Click on a device > Inventory Selected Nodes
Then for a single node:
In NCM, Double-Click on a device. Select the Inventory tab and in the drop down list choose the Route Table report.
For multiple nodes:
In NCM, Click on Reports > View Report.
Under the Route Tables Inventory section, select Route Tables and click on Ok.
This method does not require you to make any modifications in NCM unlike what I described in the above posts. You will not be able to use the Policy Reporter with that method but it is a ready to use feature.
HTH,
Yann
Hi Yann
I did not yet manage to test your previous post, but will do so later this week.
However the allready build-in feature of downloading the routing table is not enough. I want to be able to download and store routing tables, to be able to compare with old routing tables from that device.
brgds Jesper
Hi Yann
Had some time to test :)
Its working fine - Tested on the folowing devices 7600, 6500, 3560E, and a 4500. The only disadvantage is that i need to create the node twice...
Could be a request for further development for NCM :)
Tnx for your assistance !
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.