Junos Automation (Scripting)
Highlighted
Junos Automation (Scripting)

Running commands on Juniper Switch Through C# (Asp .Net)

‎01-23-2018 10:56 AM

Hello. I am trying to develop sort of web applicaton to manage my network configuration, device status. I have various Ex-3200 switches and SRX 240 firewalls. I am using ASP. Net with C# to develop my network monitoring web applcation. Please help me in identifying right tools/ APIs or method to do so. For example take configuration backup or to execute cli commands on JunOS through my web application.

1 REPLY 1
Junos Automation (Scripting)

Re: Running commands on Juniper Switch Through C# (Asp .Net)

‎02-03-2018 11:53 PM

Ahmed -

 

There's no officially maintained C# library for interacting with JunOS devices to my knowledge. Generally, if you want to interact with JunOS programmatically, the best way to do this is via Python.

 

If you're already building a network management application in .NET/C#, you may consider writing a lightweight Flask/Python REST API for proxying basic requests you want to run as part of your management tasks, and have your C# application call these.

 

Hope that helps!