cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5266
Views
7
Helpful
3
Replies

NETCONF on CSR 1000V

Ochieng2006
Level 1
Level 1

 

I am trying to create a lab using csr1000v-universalk9.16.06.04 on VMWare Workstation

I have followed the standard configs

1. Created username and password with privilege level 15

2. Generate certificate

3. netconf ssh

4. netconf-yang

5. line vty 0 4 - transport input ssh and login local

6. aaa new-model, enable authentication local and authorization exec local

 

When i try to connect from my Ubuntu VM or Ubuntu App on Windows:

rodevnet@DOUBLE-O:~$ ssh -s admin@192.168.239.128 -p 830 netconf

 

I get below error

ssh: connect to host 192.168.239.128 port 830: Connection refused

 

Please help

2 Accepted Solutions

Accepted Solutions

omz
VIP Alumni
VIP Alumni

try - 

ssh -p 830 -s admin@192.168.239.128 netconf

ssh -s admin@192.168.239.128 netconf

View solution in original post

Heya,

 

Can you telnet to that port? If it's working you should see a response like SSH-2.0-OpenSSH_6.1 or something. I've just done that on an IOS-XE device running NETCONF & thats my response. That will at least tell you if NETCONF is listening. 

 

My syntax to see the hello/capabilities via SSH (just tested and it's working) is:

ssh admin@192.168.239.128 -p 830 -s netconf

 

View solution in original post

3 Replies 3

omz
VIP Alumni
VIP Alumni

Hi

Config looks ok to me .. 

Can you ssh to the box on port 22? just normal ssh - admin@192.168.239.128

 

 

omz
VIP Alumni
VIP Alumni

try - 

ssh -p 830 -s admin@192.168.239.128 netconf

ssh -s admin@192.168.239.128 netconf

Heya,

 

Can you telnet to that port? If it's working you should see a response like SSH-2.0-OpenSSH_6.1 or something. I've just done that on an IOS-XE device running NETCONF & thats my response. That will at least tell you if NETCONF is listening. 

 

My syntax to see the hello/capabilities via SSH (just tested and it's working) is:

ssh admin@192.168.239.128 -p 830 -s netconf

 

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 community: