11-14-2020 07:49 PM
sync-result {
device S-Test
result false
info Failed to connect to device S-Test: connection refused: NEDCOM CONNECT: The kexTimeout (20000 ms) expired. in new state
}
Any help to fix this appreciated
Solved! Go to Solution.
11-18-2020 04:02 AM - edited 11-18-2020 04:02 AM
Hi srisikha,
I have answered the question here, please have a look.
-Kiran
11-18-2020 04:02 AM - edited 11-18-2020 04:02 AM
Hi srisikha,
I have answered the question here, please have a look.
-Kiran
11-18-2020 05:14 AM
Hi Kiran,
Thanks- just some background - we have a product called SAE - Secure agile exchange which is on top of NSO/NFVO and it has GUI and we are adding a device from that GUI. Looks like that device is not present on NSO device list and when we did a Sync on it we getting a timeout -instead of device not present. Thanks - we will add the device to netsim.
11-18-2020 04:54 AM
Before sync from please check the device is present on netsim or not, the device should be alive and started in ncs
to check same use this command >> ncs-netsim is-alive
if it is not present there, follow below steps to add same and sync it
1.create netsim device >> i have added device as TEST_ASA1
#ncs-netsim add-device packages/cisco-asa-cli-6.9 TEST_ASA1
DEVICE TEST_ASA1 CREATED
2.start the netsim device
# ncs-netsim start TEST_ASA1
DEVICE TEST_ASA1 OK STARTED
3. To check if it is added or not
# ncs-netsim list
we need to fetch ssh key to avoid sync from error
4. Fetch SSH key for the device
admin@ncs# devices device TEST_ASA1 ssh fetch-host-keys
5. run below command to sync
admin@ncs# devices device TEST_ASA1 sync-from
To check the device is sync or not run below command
#request devices fetch-ssh-host-keys
This is how i have resolved the issue with the help of kiran
Thank you Kiran:)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide