05-03-2019 11:05 AM - edited 05-03-2019 11:23 AM
Hi I am getting familiar with NSO, starting with the "getting started guide". But I have issue to connected to simulated device.
I have clean install of NSO 4.7, I have same issue on MacOS and Ubuntu 18.04.:
I think I am missing some initial step. On MacOS initially it shown issue with java, which I resolved by installing older version of java 6.
cisco@ubuntu:~$ source /home/cisco/nso-4.7/ncsrc cisco@ubuntu:~$ cd /home/cisco/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios cisco@ubuntu:~/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios$ ncs-netsim create-network /home/cisco/nso-4.7/packages/neds/cisco-ios 3 c DEVICE c0 CREATED DEVICE c1 CREATED DEVICE c2 CREATED cisco@ubuntu:~/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios$ ncs-netsim list ncs-netsim list for /home/cisco/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios/netsim name=c0 netconf=12022 snmp=11022 ipc=5010 cli=10022 dir=/home/cisco/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios/netsim/c/c0 name=c1 netconf=12023 snmp=11023 ipc=5011 cli=10023 dir=/home/cisco/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios/netsim/c/c1 name=c2 netconf=12024 snmp=11024 ipc=5012 cli=10024 dir=/home/cisco/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios/netsim/c/c2 cisco@ubuntu:~/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios$ ncs-netsim cli-i c1 Failed to connect to server cisco@ubuntu:~/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios$ ncs-netsim cli-c c1 Failed to connect to server
It seems, the simulated device does not start at all:
ncs-netsim is-alive DEVICE c0 FAIL DEVICE c1 FAIL DEVICE c2 FAIL
Any advise?
This is how I installed the NSO:
133 cd nso-4.7.linux.x86_64/ 134 ls 135 sh nso-4.7.linux.x86_64.signed.bin 136 ls 137 sh nso-4.7.linux.x86_64.installer.bin $HOME/nso-4.7
Solved! Go to Solution.
05-03-2019 11:33 AM
Hello,
From the output it doesn't look like you have started the netsim devices.
$ ncs-netsim start
Here is the sequence I generally use:
05-03-2019 11:33 AM
Hello,
From the output it doesn't look like you have started the netsim devices.
$ ncs-netsim start
Here is the sequence I generally use:
05-03-2019 11:40 AM
05-03-2019 12:07 PM - edited 05-04-2019 04:12 AM
Thank you very much for you help, I indeed skipped the step to start simulated devices.
I will re-read the starting guide. Your help is much appreciated.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: