Cdb Maintenance - Cisco ASR 5000 Series Administration Manual

Staros release 21.4
Hide thumbs Also See for ASR 5000 Series:
Table of Contents

Advertisement

CDB Maintenance

CDB Maintenance
A local copy of the ConfD Configuration Database (CDB) is managed by ConfD on StarOS.
You can show and save all ConfD supported StarOS configuration commands to a URL. The confd keyword
has been added to the show configuration and save configuration commands for these purposes.
After saving a ConfD-supported configuration to a URL, you can apply it directly to the CDB via the Exec
mode configure confd <url> command. This command applies the contents of the file at the url to the running
configuration of ConfD.
Additional detail regarding the above commands is provided below.
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
Note
the local context to disable ConfD and NETCONF protocol support.
The following is a sample command sequence for clearing the CDB:
[local]
[local]
[local]host_name(config-ctx)#
[local
[local]
About to delete the ConfD configuration database
The running configuration is NOT affected.
Are you sure? [Yes|No]:
[local]
Clearing the CDB is a terminal operation. The CDB must be repopulated afterwards.
Caution
configure confd <url>
This Exec mode command applies the contents of the configuration script specified by the URL to the current
ConfD configuration database (CDB).
A sample command sequence is provided below.
[local]
[local]
Info: #!$$ StarOS V20.2 Chassis 52767e9ff9e207bed12c76f7f8a5352c
Info: config
Info:
Info:
Info:
Info:
Info: end
[local]
ASR 5500 System Administration Guide, StarOS Release 21.4
432
host_name
config
#
host_name
context local
(config)#
host_name
end
(config-ctx)#
host_name
clear confdmgr confd cdb
#
y
host_name
#
host_name
save configuration /flash/confd.config confd
#
host_name
configure confd /flash/confd.config
#
active-charging service acs
rulebase default
#exit
#exit
host_name
#
no server confd
NETCONF and ConfD

Advertisement

Table of Contents
loading

This manual is also suitable for:

Asr 5500

Table of Contents