On Jun 2, 2015, at 17:19 , Boris Epstein <[email protected]> wrote:

> Hello all,
> 
> My understanding is that pfcmd is supposed to be a full CLI for PF v5. Is 
> that true?
> 
> If so, there are some things I can't quite figure out. For instance, how do I 
> use it to delete a node? Or to introduce one?


Hi Boris,

Sadly, it is not yet complete and is being rewritten as the old one had become 
a mess and was unmaintainable.
So it’s not feature complete.

On the other hand, this will probably get you going some ways:

[root@autotest pf]# bin/pfcmd node 
Usage:
     pfcmd node <add|count|view|edit|delete> mac [assignments]

    manipulate node entries

    examples:

      pfcmd node view all
      pfcmd node view all order by pid limit 10,20
      pfcmd node view pid="admin" order by pid desc limit 10,20
      pfcmd node count all
      pfcmd node add 00:01:02:03:04:05 status="reg" pid="admin"
      pfcmd node edit 00:01:02:03:04:05 status="reg"
      pfcmd node delete 00:01:02:03:04:05

Regards,
--
Louis Munro
[email protected]  ::  www.inverse.ca 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to