cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
512
Views
5
Helpful
2
Replies

Making devtools true as a default

RichardD2
Level 1
Level 1

Hi Folks,

In a recent presentation, it was mentioned that it was possible to enable devtools globally in ncs.conf. What path is used to set this? In the documentation, it makes reference to a YANG file, that I haven't been able to find on the server (at least it's not in src/ncs/yang directory with all the other files ncs uses).

         "The ncs.conf file is an XML file that must adhere to the tailf-ncs-config.yang model"

I tried editing ncs.conf like this but it didn't work. 

<session>
  <devtools>true</devtools>
</session>

 

1 Accepted Solution

Accepted Solutions

vleijon
Cisco Employee
Cisco Employee
I was just been wrong on that one. I knew the others were there, so I didn’t check.

You can still set it true in CDB though using session or user settings.

View solution in original post

2 Replies 2

vleijon
Cisco Employee
Cisco Employee
I was just been wrong on that one. I knew the others were there, so I didn’t check.

You can still set it true in CDB though using session or user settings.

Nabsch
Spotlight
Spotlight

Hello,

 

Not all the settings can be set throught ncs.conf . You can check the tailf-ncs-config.yang or do man ncs.conf.

 

You can for example define the prompt in ncs.conf

 

As Viktor said , you have to set in the CDB. 

 

Here an example for a specific user

 

nabil@DESKTOP-8ECTID4:~$ ncs_cli -C  -u admin

User admin last logged in 2022-06-03T22:52:29.72413+00:00, to DESKTOP-8ECTID4, from 127.0.0.1 using cli-console
admin connected from 127.0.0.1 using console on DESKTOP-8ECTID4
admin@ncs# show running-config user
user admin
 session devtools true
!
admin@ncs# show cli
autowizard            true
complete-on-space     true
devtools              true
display-level         99999999
history               100
idle-timeout          1800
ignore-leading-space  false
leaf-prompting        true
output-file           terminal
paginate              true
prompt1               \u@ncs#
prompt2               \u@ncs(\m)#
screen-length         40
screen-width          156
service prompt config true
show-defaults         false
terminal              xterm-256color
timestamp             disable
admin@ncs#

or  using  session as a global session parameters

admin@ncs# show running-config session
session devtools true