04-03-2019 07:14 AM
Hi All,
I am trying to connect a Huawei-switch using huawei-vrp ned.
devices device Huawei_xx.xx.xx.xx
address xx.xx.xx.xx
authgroup 013217
device-type cli ned-id huawei-vrp
device-type cli protocol telnet
state admin-state unlocked
config
vrp:sysname HUAWEI
no vrp:dcn
no ios:service pad
no ios:ip domain-lookup
no ios:ip http secure-server
ios:ip source-route
!
!
But when I try to connect I get the following error:
admin@ncs(config-device-Huawei_xx.xx.xx.xx)# connect
result false
info Failed to connect to device Huawei_xx.xx.xx.xx: connection refused: ned_external_error Read timed out
In devel.log:
I see the following logs:
<DEBUG> 2-Apr-2019::19:00:55.596 ubans-virtual-machine ncs[21669]: ncs device Huawei_xx.xx.xx.xx: connect: send NED connect
<DEBUG> 2-Apr-2019::19:00:55.600 ubans-virtual-machine ncs[21669]: devel-cdb connect from Cdb-ResourceManaged-203
<DEBUG> 2-Apr-2019::19:00:55.601 ubans-virtual-machine ncs[21669]: devel-cdb new session on operational for Cdb-ResourceManaged-20
<DEBUG> 2-Apr-2019::19:01:17.333 ubans-virtual-machine ncs[21669]: devel-cdb end session on operational for Cdb-ResourceManaged-20
<DEBUG> 2-Apr-2019::19:01:17.334 ubans-virtual-machine ncs[21669]: devel-cdb inactive client Cdb-ResourceManaged-203 closed
<INFO> 2-Apr-2019::19:01:17.335 ubans-virtual-machine ncs[21669]: ncs device Huawei_xx.xx.xx.xx: connect: device connect error
I am able to telnet the device from the shell. Is it a ned issue or I am missing some configuration??
Solved! Go to Solution.
04-04-2019 05:37 PM
Telnet/ssh works from shell, correct?
I agree that you should enable device trace to raw format and attempt to connect. You can enable verbose logging of the devel by editing the ncs.conf to <trace> instead of info.
04-03-2019 07:47 AM
04-04-2019 05:37 PM
Telnet/ssh works from shell, correct?
I agree that you should enable device trace to raw format and attempt to connect. You can enable verbose logging of the devel by editing the ncs.conf to <trace> instead of info.
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