Search 85,960 posts contributed by 43,625 members or post a topic.

How to backup ‘show vlan’ and other ‘show’ commands as Orion NCM configs

NCM currently supports 2 config types per device: running and startup.  However, you can backup many more things by using these config types as containers for storing other information (e.g., show commands, different firewall context configs, etc.). In this simple example, I’ll walk you through how you can quickly backup the results of the ‘show vlan’ command in either the startup or running config container of a duplicate device.  

First, manually select the existing template for the original device

You’ll need to manually assign the device template for the original device so NCM won’t try to use the modified version we’ll create later.

1. Right-click on the device and select Edit Selected Node.

2. Scroll down to the Communication Section and change the Device Command Template from "Auto Determine" to the appropriate template for your device type (e.g., Cisco IOS for a Cisco 3750)

image 

Second, create a copy of your original device

By creating a copy of your original device, you can use the duplicate device’s startup and running config containers to store other information while leaving the original device for storing proper startup and running configs.

1. Select Nodes > Add New Node

2. Choose a name that will allow you to distinguish the device from the original (e.g., Cisco-Aus-3725-VLAN-Bkup)

3. When prompted to add the network device again, click Yes

image 

Next, create a device template for storing ‘show vlan’ data

We’ll take the original template used for the device, create a copy, and modify it to execute ‘show vlan’ instead of ‘show running’ and store the results in the Running config container. 

1. Open Windows Explorer and navigate to your device template directory:  <install dir>\SolarWinds\Configuration Management\DeviceTypes

2. Copy the original template used for that device and rename it as appropriate (e.g. Cisco IOS Show VLAN-1.3.6.1.4.1.9.ConfigMgmt-Commands
        e.g. ‘Cisco IOS-1.3.6.1.4.1.9.ConfigMgmt-Commands’ to ‘Cisco IOS Show VLAN-1.3.6.1.4.1.9.ConfigMgmt-Commands’

3. Open the file in a text editor and change the name inside it as well:
        e.g. Device="Cisco IOS Show VLAN" to Device="Cisco IOS Show VLAN"

4. Change the Running Config command variable to back up results of ‘show vlan’ instead of ‘show running’:
        e.g. <Command Name="Running" Value="running"/> to <Command Name="Running" Value="vlan"/>

 

Finally, assign the new device template to your secondary (duplicate) device

1. Restart the NCM desktop application

2. Right-click on the duplicate device and select Edit Selected Node

3. Change the Device Command Template from "Auto Determine" to the modified template

image 
4. Right-click on the duplicate device and select Download Configs to test

image

Now when scheduled config backups occur, you will have a backup of the results of ‘show vlan' as well as the startup and running configs.  Remember, we only used the Running config container for the duplicate device.   This means you can still use the Startup config container for some other show command.

We’re working on providing out of the box support for multiple config types per device, but in the interim, we’re hoping you find this workaround useful!


Posted Jan 13 2010, 09:26 PM by chris.lapoint | Email to a Friend
Share with Others »
Digg | Technorati | reddit
Sign In or Join and Add a Comment!

Comments

bcjordo wrote re: How to backup ‘show vlan’ and other ‘show’ commands as Orion NCM configs
on Thu, Jan 14 2010 8:34 AM

Multiple config types would be great as we don't have enough licensing to have every node in duplicate or triplicate.  

Twitter Trackbacks for How to backup ???show vlan??? and other ???show??? commands as Orion NCM configs - Orion Product Team blog - thwack [thwack.com] on Topsy.com wrote Twitter Trackbacks for How to backup ???show vlan??? and other ???show??? commands as Orion NCM configs - Orion Product Team blog - thwack [thwack.com] on Topsy.com
on Thu, Jan 14 2010 8:05 PM

Pingback from  Twitter Trackbacks for                 How to backup ???show vlan??? and other ???show??? commands as Orion NCM configs - Orion Product Team blog - thwack         [thwack.com]        on Topsy.com


Already Joined? Sign in
Orion Product Team blog

orion product blog_

Welcome to Orion product blog, which is written by the product managers for the Orion product line. Here you'll find tips, tricks, news, and the occasional random thought about the Orion product family. We’re hoping for a dialog, not a monologue, so we strongly encourage comments on what we say and suggestions for topics.

syndication_

site disclaimer_

Posts and Comments given in this blog should not be interpreted as a commitment that SolarWinds will deliver any specific feature in any particular time frame. All discussions of future plans or product roadmaps are base on the product teams intentions, but those plans can change at any time.

© 2003 - 2010 SolarWinds, Inc. All Rights Reserved.

Who is SolarWinds?

SolarWinds is rewriting the rules for how companies manage their networks. Guided by a global community of network engineers, SolarWinds develops simple and powerful network management software and network monitoring software for networks of all sizes. SolarWinds also offers a network certification program to become a SolarWinds Certified Professional (SCP).

What is thwack?

thwack, SolarWinds online community site, was designed by network engineers, for network engineers. thwack is a vibrant, growing community of more than 30,000 IT pros who share a passion for technology.

Explore Resources, Answers, Templates, and Advice

Download Free Networking Tools


Learn More About SolarWinds Products