- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 12:34 AM
Hello
I have installed cisco nso 6.1 and created devices using ncs-netsim as below:
#configure authgroup
ncs_cli -C -u admin
conf
devices authgroups group labtest
default-map remote-name cisco
default-map remote-password cisco
default-map remote-secondary-password cisco
commit
end
#add device using ncs-netsim
ncs-netsim add-device cisco-ios-cli-3.8 rtr08
cd netsim
ncs-netsim start rtr08
ncs-netsim is-alive
#configure device on nso
ncs_cli -C -u admin
conf
devices device rtr08
address 127.0.0.1 port 10026
authgroup labtest
device-type cli ned-id cisco-ios-cli-3.8
device-type cli protocol telnet
ssh host-key-verification none
commit
state admin-state unlocked
commit
end
I am getting the below response when trying to connect to the configured router either through CLI or through the webui:
admin@ncs(config-device-rtr08)# connect
result false
info Failed to connect to device rtr08: connection refused: No login prompt
Any idea of what I am doing wrong?
Thanks
Solved! Go to Solution.
- Labels:
-
Other NSO Topics
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 01:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 01:36 AM
We have several examples on how to setup netsim and NSO. Take a look at this Learning Lab - https://developer.cisco.com/learning/labs/learn-nso-with-netsim/
On the first step "Setting up NSO", you can see how to mix ncs-netsim with ncs-setup to automatically add your devices to NSO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 01:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 01:36 AM
We have several examples on how to setup netsim and NSO. Take a look at this Learning Lab - https://developer.cisco.com/learning/labs/learn-nso-with-netsim/
On the first step "Setting up NSO", you can see how to mix ncs-netsim with ncs-setup to automatically add your devices to NSO.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 11:33 AM - edited 10-10-2023 11:33 AM
ncs-netsim --help
Usage ncs-netsim [--dir <NetsimDir>]
ncs-xml-init
ncs-netsim ncs-xml-init > devices.xxml
ncs_cli -u admin
configure
load merge devices.xml
commit
request devices sync-from
done
