Page History
Panel | ||||
---|---|---|---|---|
In this section:
|
Overview
Ribbon seeds initial configuration in order to simplify SBC setup. After setup, the SBC provides schema-based configuration management through CLI, SNMP, NETCONF and REST API
. When requested, this configuration management shows the seeded configuration plus subsequent configuration changes or additions made by the user (user configuration). Spacevars 0 model1
In addition, the export/import framework provides an automated way of exporting and importing configuration, but it expects a compressed tar ball as input with metadata to validate the incoming configuration. To simplify editing by users, the SBC provides a way to easily manage the configuration as plain XML files without any metadata.
Info | ||
---|---|---|
| ||
|
user-config-show
Displays the user configuration. This can be fine-grained to a specified XPath.
Command Syntax
Code Block | ||
---|---|---|
| ||
> user-config-show <optional argument XPath> |
Command Parameters
Caption | ||||
---|---|---|---|---|
| ||||
|
Command Example
Code Block | ||
---|---|---|
| ||
admin@cg171> user-config-show <config xmlns="http://tail -f.com/ns/config/1.0"> <eventLog xmlns="http://whatevernet.org/ns/mibs/WHATEVER-GEN2-EVENT-LOG-MIB/1.0"> <typeAdmin> <type>debug</type> <filterLevel>info</filterLevel> </typeAdmin> </eventLog> <aaa xmlns="http://tail -f.com/ns/aaa/1.1"> <authentication> <users> <user> <name>admin</name> <password>xxxXXXXXxxxXXXXxxxxXXXXxxxXXXXxxxxXXXxxxXXXxxxXXXxx</password> </user> </users> </authentication> </aaa> </config> [ok][2020-02-01 05:24:36] |
user-config-export
When there is no modified configuration, user-config-export
will not create a configuration file.
Command Syntax
Code Block | ||
---|---|---|
| ||
> user-config-export <filename> <xpath> |
Command Parameters
Caption | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Command Examples
Code Block | ||
---|---|---|
| ||
admin@cg171> user-config-export sbc-config.xml User configuration saved to sbc-config.xml [ok][2020-02-01 06:24:36] |
user-config-import
Command Syntax
Code Block | ||
---|---|---|
| ||
> user-config-import <filename> |
Command Parameters
Caption | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
Command Examples
Code Block | ||
---|---|---|
| ||
admin@cg171> user-config-import sbc-config.xml [ok][2020-02-01 07:24:36] |
Pagebreak |
---|