Project

General

Profile

Support #24

How to communicate to konfd daemon in linux shell with konf?

Added by Anonymous 3 months ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
-
Start date:
03/26/2019
Due date:
% Done:

0%

Estimated time:

Description

how to communicate to konfd daemon in linux shell with konf? can someone give me an example?
include dump running-config、set、remove entry,I had tried konf -s /tmp/klish.socket dump,but got an error respone.

  1. ../sbin/konf -s /tmp/konfd.socket set
    Error: The error code from the konfd daemon.
]# ../sbin/konf -s /tmp/konfd.socket -s -l "interface eth0"
Error: Can't connect to -l socket.
  1. ../sbin/konf -s /tmp/konfd.socket --set -l "interface eth0"
    ../sbin/konf: unrecognized option '--set'
    Try `konf -h' for more information. #

Thanks.

Also available in: Atom PDF