06-03-2022 10:18 AM
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>
Solved! Go to Solution.
06-03-2022 10:26 AM
06-03-2022 10:26 AM
06-03-2022 03:59 PM - edited 06-06-2022 08:30 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide