Network Change & Configuration Management

Reply

Pull Cisco Running Config From a Switch Identified in NetMRI

Posts: 6
2351     0

Hi All,

 

As you can see in the title, I wan to pull all the running config of a switch that can be identified by NetMRi software. The config inforamtion would be everything the swtich can offer. I want in some way, integrate the scrip to vRealize Orchestra because there's no plug-in to integrate these two softwares. Any help would be appreciated.

Re: Pull Cisco Running Config From a Switch Identified in NetMRI

Adviser
Posts: 357
2352     0
You want access to the configuration text in your script? What is the use case exactly?

If NetMRI is collecting the configuration regularly (which it normally would be if it has the credentials, etc.), then you can use a Perl script and just call the "running_config_text" method on the device object. This can be done by running a script within NetMRI against that device, or by running the Perl script outside of NetMRI and loading that device via the Device API.

See https://netmri/api/3/devices/docs#running_config_text

John

Re: Pull Cisco Running Config From a Switch Identified in NetMRI

Adviser
Posts: 357
2352     0
You want access to the configuration text in your script? What is the use case exactly?

If NetMRI is collecting the configuration regularly (which it normally would be if it has the credentials, etc.), then you can use a Perl script and just call the "running_config_text" method on the device object. This can be done by running a script within NetMRI against that device, or by running the Perl script outside of NetMRI and loading that device via the Device API.

See https://netmri/api/3/devices/docs#running_config_text

John
Showing results for 
Search instead for 
Do you mean 

Recommended for You