09-21-2017 08:03 PM - edited 03-01-2019 04:00 AM
Hey guys !
The title says it all, I'd like to connect to a gate-way that requires a jump-host, any ideas on how to set this up on NSO
Solved! Go to Solution.
09-21-2017 08:42 PM
Hello,
Yes, that is possible. But it might depend on NED though.
Please take a look at following IOS example.
[topology]
NSO ----> (192.168.0.1) jump server ----> (10.0.0.1) IE4000_1 End Device
[Config]
admin@ncs# show running-config devices device Router1
devices device Router1
address 192.168.0.1 << IP address of jump server
authgroup IOS
device-type cli ned-id cisco-ios
device-type cli protocol telnet
ned-settings cisco-ios-proxy-settings remote-connection telnet
ned-settings cisco-ios-proxy-settings remote-address 10.0.0.1 << IP address of Router1
ned-settings cisco-ios-proxy-settings remote-port 23
ned-settings cisco-ios-proxy-settings proxy-prompt .*# << Prompt of jump server
ned-settings cisco-ios-proxy-settings remote-prompt .*# << Prompt of Router1
ned-settings cisco-ios-proxy-settings remote-name cisco
ned-settings cisco-ios-proxy-settings remote-password cisco
ned-settings cisco-ios-proxy-settings remote-secondary-password cisco
state admin-state unlocked
Best regards,
Hiro
09-21-2017 08:42 PM
Hello,
Yes, that is possible. But it might depend on NED though.
Please take a look at following IOS example.
[topology]
NSO ----> (192.168.0.1) jump server ----> (10.0.0.1) IE4000_1 End Device
[Config]
admin@ncs# show running-config devices device Router1
devices device Router1
address 192.168.0.1 << IP address of jump server
authgroup IOS
device-type cli ned-id cisco-ios
device-type cli protocol telnet
ned-settings cisco-ios-proxy-settings remote-connection telnet
ned-settings cisco-ios-proxy-settings remote-address 10.0.0.1 << IP address of Router1
ned-settings cisco-ios-proxy-settings remote-port 23
ned-settings cisco-ios-proxy-settings proxy-prompt .*# << Prompt of jump server
ned-settings cisco-ios-proxy-settings remote-prompt .*# << Prompt of Router1
ned-settings cisco-ios-proxy-settings remote-name cisco
ned-settings cisco-ios-proxy-settings remote-password cisco
ned-settings cisco-ios-proxy-settings remote-secondary-password cisco
state admin-state unlocked
Best regards,
Hiro
09-25-2017 11:49 AM
04-18-2018 03:09 PM
Can we have similar settings for
device-type {
netconf {
ned-id netconf;
Dont see settings on ned to provide proxy settings
admin@ncs% set devices device CSP1 ned-settings use-
Possible completions:
use-confirmed-commit - Control usage of confirmed commit
use-junos-rollback - If set to true use device rollback as a revert strategy.
use-private-candidate - Control usage of the private candidate
use-startup - Control usage of the startup datastore
use-transaction-id - Control usage of fetching the transaction id
use-validate - Control usage of validate
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