cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4854
Views
8
Helpful
3
Replies

How to connect to device that requires jump host?

bcaloger
Cisco Employee
Cisco Employee

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

1 Accepted Solution

Accepted Solutions

Hiro Takahashi
Cisco Employee
Cisco Employee

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

View solution in original post

3 Replies 3

Hiro Takahashi
Cisco Employee
Cisco Employee

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

Bruno,

See if this helps:  NED Operation over a Terminal Server

Best,

Scott

sujmurth
Cisco Employee
Cisco Employee

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

Polls
AI-powered tools for network troubleshooting are likely to be part of everyone’s workflow sooner or later. What is the single biggest challenge or concern you see with adopting these tools in your organization?