cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
536
Views
10
Helpful
1
Replies

How to operate on a device through a Telnet/Terminal Server?

jf lecole
Beginner
Beginner

Hello,

I have a device reacheable by a terminal server through a console cable.

In order to log into this device i have to enable a telnet session address port with a password but without a username.

When i use telnet i have to press enter to access to the password field.

 

This device use the last ned cli huawei-vrp.

 

I wonder how to configure the authgroup and the device (include ned-setting if needed) in order to operate this device through NSO?

 

Thanks

1 Reply 1

RichardD2
Beginner
Beginner

@jf lecole 

There's typically a  README file inside the NED package that will provide you details on the applicable ned-settings.

Haven't used Huawei before but for Cisco you have these:

Hopefully this helps

 

devices device mydevice connect-timeout 60 read-timeout 120 write-timeout 120
devices device mydevice state admin-state unlocked
devices device mydevice ned-settings cisco-iosxr proxy remote-connection ssh
devices device mydevice ned-settings cisco-iosxr proxy proxy-prompt $
devices device mydevice ned-settings cisco-iosxr proxy remote-address 1.2.3.4 (real IP of the network device)
devices device mydevice ned-settings cisco-iosxr proxy remote-port 22
devices device mydevice ned-settings cisco-iosxr proxy remote-name myuser (your username to access the devices)
devices device mydevice ned-settings cisco-iosxr proxy remote-password (your password)
devices authgroups group myauthgroup umap me remote-name (proxy-user)
devices authgroups group myauthgroup umap me remote-password(proxy password)

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community:

Recognize Your Peers