0

I have done everything like in this article. There is an account (with super-user privileges), password, set netconf ssh and set ssh commands issued along with an ip address (for em0 192.168.56.150/24). My host OS (windows 8.1) for Ethernet adapter VirtualBox Host-Only Network has 192.168.56.101. I have downloaded and "ready to run" Netconf java toolkit (by juniper group). How can I connect to junos instance from java toolkit ? (how to set adressess between host os and juniper os running inside virtualbox)

predi
  • 5,528
  • 32
  • 60
user3529850
  • 1,632
  • 5
  • 32
  • 51

1 Answers1

0

On junos box:

config# set system services netconf ssh

config# commit

Use the below link to create simple java program on host and the program:

Link

Device device = new Device("junos-box-ip-address", "username-junos", "password-junos", null);

Vijay Shetty
  • 901
  • 10
  • 11