Skip to content

confdb

noc confdb - ConfDB manipulation tool

Synopsis

noc confdb syntax [path ...]
           tokenizer [--object=<id>|--profile=<profile> --config=<path>]
           normalizer [--object=<id>|--profile=<profile> --config=<path>]

Description

ConfDB investigation tool

Examples

Dump ConfDB syntax:

./noc confdb syntax

Dump part of ConfDB syntax:

./noc confdb syntax intefaces x

Dump result of object's tokenizer. Managed Object ID is 120:

./noc confdb tokenizer --object=120

Dump result of object's tokenizer, applied to arbitrary file:

./noc confdb tokenizer --object=120 --config=config.txt

Dump result of profile's tokenizer, applied to arbitrary file:

./noc confdb tokenizer --profile=Cisco.IOS --config=config.txt

Dump result of object's normalizer. Managed Object ID is 120:

./noc confdb normalizer --object=120

Dump result of object's normalizer, applied to arbitrary file:

./noc confdb normalizer --object=120 --config=config.txt

Dump result of profile's normalizer, applied to arbitrary file:

./noc confdb normalizer --profile=Cisco.IOS --config=config.txt

See also