EXPORTCONF
Description
This program exports type of configuration to a file stored in /tmp by default.
Command
exportconf -t filter -s index_number -g index_number [-o output_file_format] [-d directory_name ] [-v] [-h] This program exports type of configuration to a file stored in /tmp by default. -t|--type filter : type of configuration to export -s|--slot index_number : export rules of the slot index of the local policy (default is slot index equal to 0) -g|--global index_number : export rules of the slot index of the global policy (default is slot index equal to 0) -o|--output output_file_format : output format of the created file (default is : csv) -d|--directory directory_name : indicate a directory to store the created file -v|--verbose : enable verbose -h|--help : print this help message
Results
Example
SNI40A16B0743A8>exportconf -t filter Creating file: /tmp/SNI40A16B0743A8_policy0_filter_nat_rules_local_2017-04-18_1200.csv SNI40A16B0743A8>SNI40A16B0743A8>exportconf -t filter -g 10 -d /data/tmp Creating file: /data/tmp/SNI40A16B0743A8_policy10_filter_nat_rules_global_2017-04-18_1100.csv SNI40A16B0743A8>