Louis, Awesome!
Thank you very much! Is there a way to force a deletion of phantom nodes - nodes who are still listed as having a location even though they have not been connected for days? What I get trying to delete them is: pfcmd node delete 00:11:bb:68:b5:0d Cannot delete node 00:11:bb:68:b5:0d since there are some records in locationlog table indicating that this node might still be connected and active on the network I also fail to delete it though the OWA as the PF thinks it is active. Boris. On Tue, Jun 2, 2015 at 5:29 PM, Louis Munro <[email protected]> wrote: > > > 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 > >
------------------------------------------------------------------------------
_______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
