Feature to Push/Execute commands on a Network gear from LM Config


dpad
 Share

Recommended Posts

Hello Team,

Is there a feature that will allow a user to push config changes/ run a config scrip or command to a Network device? or is it part of the roadmap for LM config? 

Like any other Network shop we have many Network gear and running simple show commands on a dozen device is quite a task and having the ability to run it from the LM console and have the results generated as well would be helpful. 

 

Thanks! 

Link to comment
Share on other sites

  • Administrators

Technically, you can create a LogicModule that uses SSH to connect to the device and execute any commands you want. For DataSources, you'd just need to return some number that you can track, maybe a status of the execution of the command.

There's nothing out of the box that allows you to just push configs back to a device. Can't speak to roadmap though.

  • Upvote 1
Link to comment
Share on other sites

I've done this before by writing a config source that logs into the device via ssh, executes the command or an array of commands, then captures the command outputs and alerts on certain keywords. We've done this to make large scale changes on hundreds of devices relatively all at once. I highly recommend you test on a test device first, but it is possible! 

  • Like 1
Link to comment
Share on other sites

What I've always wanted is a user bindable action button on a resource, like the Poll Now button, but configurable so that the datasource bound to the button is based on some applies to logic, configured in settings.

Link to comment
Share on other sites

  • Administrators

Like have another script configured in the datasource that runs whenever you click that button?  So for configs, "push config". For the ping DS, you could have a "trace route now" option. For CPU, a "show top processes right now" button. Like that?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share