show confdmgr subscriptions
See below for a sample output for show confdmgr subscriptions:
[local]<host_name># show confdmgr subscriptions
Subscriptions:
Path Index Namespace
---------------------------------------------------
/active-charging 6 http://www.cisco.com/staros-cli-con
fig
/context 7 http://www.cisco.com/staros-cli-con
fig
/bulkstats/server 8 http://www.cisco.com/staros-config
/bulkstats/schemas 9 http://www.cisco.com/staros-config
/confd 10 http://www.cisco.com/staros-config
[local<host_name>#
Subscriptions are configuration points defined in the Yang model for which confdmgr wants to be notified
when a change occurs.
clear confdmgr confd cdb
This Exec mode command erases the configuration in the ConfD Configuration Database (CDB) which is
used by ConfD to store configuration objects. StarOS accesses the database via ConfD-supplied APIs.
The CDB cannot be erased unless the Context Configuration mode no server confd command is run in
the local context to disable ConfD and NETCONF protocol support.
Note
The following is a sample command sequence for clearing the CDB:
[local]host_name# config
[local]host_name(config)# context local
[local]host_name(config-ctx)# no server confd
[localhost_name(config-ctx)# end
[local]host_name# clear confdmgr confd cdb
About to delete the ConfD configuration database
The running configuration is NOT affected.
Are you sure? [Yes|No]: y
[local]host_name#
Clearing the CDB is a terminal operation. The CDB will be repopulated when the Context Configuration
mode server confd command is run in the local context to re-enable ConfD and NETCONF protocol
support.
Caution
clear confdmgr statistics
This command clears everything listed in the "Statistics" section of the output of the show confdmgr command,
including:
•
Triggers
•
Replays
ASR 5500 System Administration Guide, StarOS Release 21.5
352
NETCONF and ConfD
clear confdmgr confd cdb