cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4939
Views
10
Helpful
8
Replies

default UI login/password for free NSO installation

I have installed Cisco NSO using free download. trying to go through with provided examples.

CLI is working fine. But need to access GUI. Pls help me with the default login/password in UI for new installation of NSO4.7.1.1.1

 

Thanks

Satish

8 Replies 8

hniska
Cisco Employee
Cisco Employee
Try login: admin
password: admin

Sorry to mention that i have already tried this. Which was perfectly working in my previous installment.
But unfortunately not working for new installation.
Pls help.

Sorry to mention that i have already tried this. Which was perfectly working in my previous installation.
But unfortunately not working for new installation.
I there any way to get it debugged some where?

 

Rgds
Satish

Authentication is agnostic to the API, which means, the credentials you use for CLI are also applicable to the web UI.

If you did a local-install, then default admin/admin credentials should exist, and you should be able to use them through any API.

If you did a system-install, then no users are created by default, and in fact local authentication is also disabled.

 

Which one did you do?

I have used --local-install only.

Used following commands for installation:

ubuntu@ubuntu1604:~/nso-4.7.linux.x86_64$ sh nso-4.7.linux.x86_64.signed.bin
Unpacking...
Verifying signature... 

.

.

.

ubuntu@ubuntu1604:~/nso-4.7.linux.x86_64$ sh nso-4.7.linux.x86_64.installer.bin $HOME/nso-4.7 --local-install
INFO Using temporary directory /tmp/ncs_installer.25206 to stage NCS installation bundle
INFO Unpacked ncs-4.7 in /home/ubuntu/nso-4.7
INFO Found and unpacked corresponding DOCUMENTATION_PACKAGE
INFO Found and unpacked corresponding EXAMPLE_PACKAGE
INFO Generating default SSH hostkey (this may take some time)
INFO SSH hostkey generated
INFO Environment set-up generated in /home/ubuntu/nso-4.7/ncsrc
INFO NCS installation script finished
INFO Found and unpacked corresponding NETSIM_PACKAGE
INFO NCS installation complete

 

ubuntu@ubuntu1604:~/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios$ ncs-netsim create-network /home/ubuntu/nso-4.7/packages/neds/cisco-ios 3 c
DEVICE c0 CREATED
DEVICE c1 CREATED
DEVICE c2 CREATED
ubuntu@ubuntu1604:~/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios$ ncs-setup --netsim-dir ./netsim --dest .
Using netsim dir ./netsim
ubuntu@ubuntu1604:~/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios$ ncs-netsim start
DEVICE c0 OK STARTED
DEVICE c1 OK STARTED
DEVICE c2 OK STARTED
ubuntu@ubuntu1604:~/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios$ ncs
NCS package upgrade failed with reason 'User java class "com.tailf.packages.ned.ios.UpgradeNedId" exited with status 127'
Daemon died status=13
ubuntu@ubuntu1604:~/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios$ ncs-netsim stop
DEVICE c0 STOPPED
DEVICE c1 STOPPED
DEVICE c2 STOPPED
ubuntu@ubuntu1604:~/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios$ ncs --stop
connection refused (stop)
ubuntu@ubuntu1604:~/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios$ ncs-netsim start
DEVICE c0 OK STARTED
DEVICE c1 OK STARTED
DEVICE c2 OK STARTED
ubuntu@ubuntu1604:~/nso-4.7/examples.ncs/getting-started/using-ncs/1-simulated-cisco-ios$ ncs

 

NOW tried to access UI using IP:8080 and admin/admin

It does not work. Am i missing some thing?

CLI is working using admin. because it done not ask for password.

Attaching the screenshot of UI.

Try 'ssh admin@localhost -p 2024'. See if the credentials work.

In any case, you can use ncs_cli, to log into NSO and check 'show running-config aaa authentication users'

See which users are defined.

You can then set a new password to the admin user.

 

ssh does not seem to be working..

ubuntu@ubuntu1604:~/nso-4.7.linux.x86_64$ ssh admin@localhost -p 2024

The authenticity of host '[localhost]:2024 ([127.0.0.1]:2024)' can't be established.
RSA key fingerprint is SHA256:/97HBLX53rKCV2bVue+0nsjDpiERr1NW0RtxxRnz18Q.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:2024' (RSA) to the list of known hosts.
admin@localhost's password:
Permission denied, please try again.
admin@localhost's password:
Permission denied, please try again.
admin@localhost's password:

 

For running config, it is giving synex error. Pls see below. 

admin@ncs(config)#
admin@ncs(config)#
admin@ncs(config)# exit
admin@ncs# show running-config aaa authentication users
-------------------------------^
syntax error: element does not exist
admin@ncs# config
Entering configuration mode terminal
admin@ncs(config)# show full-configuration aaa authentication users user
-------------------------------------------^
syntax error: element does not exist
admin@ncs(config)# show running-config aaa authentication users user
------------------------^
syntax error: expecting
configuration - Show a parameter
full-configuration - Show a parameter
history - Display CLI command history
parser - Display parser information
admin@ncs(config)# show configuration aaa authentication users user
--------------------------------------^
syntax error: element does not exist
admin@ncs(config)#

 

Will u be able to help me for this using some screen sharing tool? like teamviewer or some thing?

Thanks  Yfherzog

I got it resolved. Actually problem was the java environment. as on on Ubuntu machine JDK was not installed. So was the issue.

Thanks for all your support.

Rgds

Satish