Quantcast
Channel: SSH.NET Library
Viewing all articles
Browse latest Browse all 2955

New Post: netconfig on juniper solution

$
0
0

I do

static Renci.SshNet.NetConfClient nc;

nc =newNetConfClient(ip,user, pw);

nc.AutomaticMessageIdHandling =false;

nc.OperationTimeout =newTimeSpan(0, 0, 60);

nc.Connect();

System.Xml.XmlDocument c = new System.Xml.XmlDocument();

System.Xml.XmlDocument d = new System.Xml.XmlDocument();

c.PreserveWhitespace =false;

c.LoadXml<rpc><get-chassis-inventory/></rpc>");

d = nc.SendReceiveRpc(c);


Viewing all articles
Browse latest Browse all 2955

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>