cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
610
Views
0
Helpful
1
Replies

netsim ios-xr connect error ./show_version.sh: Permission denied

Laura_FMES
Level 1
Level 1

Hello, 

 

I've created with ncs-netsim 2 devices by following the next steps

 

1. ncs-netsim add-to-network ./packages/cisco-iosxr-cli-7.21/ 2 ASR_lf

2. ncs-netsim start ASR_lf0

3. ncs-netsim start ASR_lf1

4. ncs-netsim ncs-xml-init ASR_lf0 ASR_lf1 > netsim_xml/ASR_lf.xml

 

Then I've loaded those devices in NSO by following the next steps: 

 

admin@ncs(config)# load merge nso/ncs-run-5.2.5/netsim_xml/ASR_lf.xml
Loading.
1.85 KiB parsed in 0.01 sec (110.87 KiB/sec)
admin@ncs(config)# commit
Commit complete.

 

And finally when I've tried to connect to the device, I've got this error: 

 

devices device ASR_lf0 ssh fetch-host-keys
result unchanged
fingerprint {
algorithm ssh-rsa
value ce:ae:4f:7e:99:94:64:44:78:40:80:21:9b:36:f9:85
}
admin@ncs(config)# devices device ASR_lf* connect
devices device ASR_lfelipe0 connect
result false
info Failed to connect to device ASR_lf0: connection refused: Failed to setup NED :: Unknown device ::
./show_version.sh: Permission denied

 

Could someone help me out?

Thanks

1 Reply 1

Elvin J
Level 1
Level 1

find netsim/ -name show_version.sh | xargs ls -al
chmod +x FOUND_DIRECTORY