I am getting started with ConfD Basic. in example “1-2-3-start-query-model”, after running “make clean all start”, and “make cli” the cli looks very different than expected, it is missing many commands such as set" and “commit”, Right from the start the prompt shows “machine#” instead of “machine>”
What am I missing?
====== terminal ===================
/home/ali/confd_6.3/bin/confd -c confd.conf --addloadpath /home/ali/confd_6.3/etc/confd
In one terminal window, run: tail -f ./confd.log
In another terminal window, run queries
(try 'make query' for an example)
In this window, the DHCP confd daemon now starts:
(hit Enter to exit)
./dhcpd_conf
TRACE Connected (cdb) to ConfD
TRACE CDB_SUBSCRIBE /dhcp --> CONFD_OK
TRACE CDB_SUBSCRIBE_DONE --> CONFD_OK
Subscription point = 6
TRACE Connected (cdb) to ConfD
TRACE CDB_NEW_SESSION --> CONFD_OK
TRACE Established new CDB session to ConfD
TRACE CDB_SET_NAMESPACE --> CONFD_OK
TRACE CDB_GET /dhcp/defaultLeaseTime --> CONFD_OK
TRACE CDB_GET /dhcp/maxLeaseTime --> CONFD_OK
TRACE CDB_GET /dhcp/logFacility --> CONFD_OK
TRACE CDB_NUM_INSTANCES /dhcp/SubNets/subNet --> CONFD_OK
TRACE CDB_NUM_INSTANCES /dhcp/SharedNetworks/sharedNetwork --> CONFD_OK
====== confd.log ===================
$ cat confd.log
<INFO> 1-Jun-2017::00:41:03.699 lenovo confd[29155]: - Writing daemon log to /home/ali/confd_6.3/examples.confd/intro/1-2-3-start-query-model/confd.log
<INFO> 1-Jun-2017::00:41:03.700 lenovo confd[29155]: - Writing NETCONF log to /home/ali/confd_6.3/examples.confd/intro/1-2-3-start-query-model/netconf.log
<INFO> 1-Jun-2017::00:41:03.700 lenovo confd[29155]: - Writing audit log to /home/ali/confd_6.3/examples.confd/intro/1-2-3-start-query-model/audit.log
<INFO> 1-Jun-2017::00:41:03.701 lenovo confd[29155]: - Daemon logging started
<INFO> 1-Jun-2017::00:41:03.701 lenovo confd[29155]: - Writing developer log to /home/ali/confd_6.3/examples.confd/intro/1-2-3-start-query-model/devel.log
<DEBUG> 1-Jun-2017::00:41:03.713 lenovo confd[29155]: - Loading file /home/ali/confd_6.3/etc/confd/iana-crypt-hash.fxs
<DEBUG> 1-Jun-2017::00:41:03.713 lenovo confd[29155]: - Loading file /home/ali/confd_6.3/etc/confd/ietf-netconf-monitoring.fxs
<DEBUG> 1-Jun-2017::00:41:03.714 lenovo confd[29155]: - Loading file /home/ali/confd_6.3/etc/confd/tailf-common-monitoring.fxs
<DEBUG> 1-Jun-2017::00:41:03.715 lenovo confd[29155]: - Loading file /home/ali/confd_6.3/etc/confd/ietf-netconf-acm.fxs
<DEBUG> 1-Jun-2017::00:41:03.715 lenovo confd[29155]: - Loading file /home/ali/confd_6.3/etc/confd/ietf-yang-library.fxs
<DEBUG> 1-Jun-2017::00:41:03.716 lenovo confd[29155]: - Loading file /home/ali/confd_6.3/etc/confd/ietf-netconf-notifications.fxs
<DEBUG> 1-Jun-2017::00:41:03.717 lenovo confd[29155]: - Loading file /home/ali/confd_6.3/etc/confd/tailf-netconf-monitoring.fxs
<DEBUG> 1-Jun-2017::00:41:03.717 lenovo confd[29155]: - Loading file /home/ali/confd_6.3/etc/confd/tailf-confd-monitoring.fxs
<DEBUG> 1-Jun-2017::00:41:03.719 lenovo confd[29155]: - Loading file /home/ali/confd_6.3/etc/confd/tailf-acm.fxs
<DEBUG> 1-Jun-2017::00:41:03.720 lenovo confd[29155]: - Loading file /home/ali/confd_6.3/etc/confd/tailf-rollback.fxs
<DEBUG> 1-Jun-2017::00:41:03.721 lenovo confd[29155]: - Loading file /home/ali/confd_6.3/etc/confd/tailf-kicker.fxs
<DEBUG> 1-Jun-2017::00:41:03.721 lenovo confd[29155]: - Loading file ./dhcpd.fxs
<DEBUG> 1-Jun-2017::00:41:03.722 lenovo confd[29155]: - Loading file /home/ali/confd_6.3/etc/confd/tailf-aaa.fxs
<DEBUG> 1-Jun-2017::00:41:03.726 lenovo confd[29155]: - Loading file ./commands-c.ccl
<DEBUG> 1-Jun-2017::00:41:03.731 lenovo confd[29155]: - Loading file ./commands-j.ccl
<DEBUG> 1-Jun-2017::00:41:03.731 lenovo confd[29155]: - Loading file /home/ali/confd_6.3/etc/confd/confd.ccl
<INFO> 1-Jun-2017::00:41:03.773 lenovo confd[29155]: - Starting to listen for Internal IPC on 127.0.0.1:4565
<INFO> 1-Jun-2017::00:41:04.058 lenovo confd[29155]: - CDB load: processing file: ./confd-cdb/aaa_init.xml
<INFO> 1-Jun-2017::00:41:04.368 lenovo confd[29155]: - Starting to listen for NETCONF SSH on 0.0.0.0:2022
<INFO> 1-Jun-2017::00:41:04.385 lenovo confd[29155]: - Starting to listen for NETCONF TCP on 127.0.0.1:2023
<INFO> 1-Jun-2017::00:41:04.408 lenovo confd[29155]: - Starting to listen for CLI SSH on 0.0.0.0:2024
<INFO> 1-Jun-2017::00:41:04.540 lenovo confd[29155]: - ConfD started vsn: 6.3
============= cli ========================
Welcome to ConfD Basic
The CLI may only be used during product development.
Commercial use of the CLI is prohibited.
You must disable the CLI in confd.conf for production.
For more information, visit http://www.tail-f.com.
admin connected from 127.0.0.1 using console on lenovo
lenovo# ?
Possible completions:
aaa AAA management
autowizard Automatically query for mandatory elements
cd Change working directory
clear Clear parameter
compare Compare running configuration to another configuration or a file
complete-on-space Enable/disable completion on space
config Manipulate software configuration information
describe Display transparent command information
devtools Enable/disable development tools
display-level Configure show command display level
exit Exit the management session
file Perform file operations
help Provide help information
history Configure history size
id Show user id information
idle-timeout Configure idle timeout
ignore-leading-space Ignore leading whitespace (true/false)
job Job operations
logout Logout a user
no Negate a command or set its defaults
output-file Copy output to file or terminal
paginate Paginate output from CLI commands
ping Ping a host
prompt1 Set operational mode prompt
prompt2 Set configure mode prompt
pwd Display current mode path
quit Exit the management session
screen-length Configure screen length
screen-width Configure screen width
script Script actions
send Send message to terminal of one or all users
show Show information about the system
show-defaults Show default values when showing the configuration
source File to source
ssh Open a secure shell on another host
terminal Set terminal type
timestamp Enable/disable the display of timestamp
who Display currently logged on users
write Write configuration
lenovo# config
Entering configuration mode terminal
lenovo(config)# ?
Possible completions:
aaa AAA management
alias Create command alias.
dhcp
nacm Access control
session Global default CLI session parameters
user User specific command aliases and default CLI session parameters
---
abort Abort configuration session
annotate Add a comment to a statement
clear Remove all configuration changes
commit Commit current set of changes
compare Compare configuration
copy Copy a list entry
describe Display transparent command information
do Run an operational-mode command
end Terminate configuration session
exit Exit from current mode
help Provide help information
insert Insert a parameter
load Load configuration from an ASCII file
move Move a parameter
no Negate a command or set its defaults
pwd Display current mode path
rename Rename an identifier
resolved Conflicts have been resolved
revert Copy configuration from running
rollback Roll back database to last committed version
save Save configuration to an ASCII file
service Modify use of network based services
show Show a parameter
tag Manipulate statement tags
top Exit to top level and optionally run command
validate Validate current configuration
lenovo(config)#