Hi Jason,
Thanks for the reply.
> Have you followed the entire configuration for this setup from the
> network guide? Is SNMP working from the packetfence server to the
> switch? And are SNMP Traps making it from the switch to the packetfence
> server?
Yes I did follow the entire instruction from the network guide. As I said
before it worked for a while on some ports. So I believe SNMP and SNMP
traps are working fine because PF was able to change the VLAN setting on
the switch.
I was thinking to clear the record manually from the database. I removed
the record from the tabel "Node" and did not see the mac address from other
tables any more but still have the same error from the switch.
Is there anywhere else is locking the record?
Regards,
Jacky
On Thu, Jul 11, 2013 at 7:55 PM, Jason Frisvold <[email protected]>wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> forbmsyn wrote:
> > Hi Fabrice,
> >
> > I added the two snmp strings to the switch and it worked for a while
> > but now the error came back.
> >
> > Below is the error from my swtich.
> >
> > *Mar 7 00:57:55.580: %PORT_SECURITY-2-PSECURE_VIOLATION: Security
> > violation occurred, caused by MAC address dc0e.a18a.d48f on port
> > FastEthernet0/5. *Mar 7 00:58:00.714:
> > %PORT_SECURITY-2-PSECURE_VIOLATION: Security violation occurred,
> > caused by MAC address dc0e.a18a.d48f on port FastEthernet0/5.
>
> This looks correct. The whole port-security mac-address bit seems like
> a hack of sorts to me. If it's working properly, you'll see these
> messages every time a new machine is plugged into the switch. This
> triggers a trap that's sent to packetfence. Packetfence identifies the
> MAC, determines if it's registered or not, and acts accordingly. If the
> user is authenticated, it updates the config on the switch with the new
> MAC.
>
> > It seems the mac address dc0e.a18a.d48f has been locked somewhere
> > that cause the violation. I tried to delete the node from Web UI but
> > it said "Error! The node can't be deleted."
>
> The node likely can't be deleted because there are still locationlog
> entries.
>
> > And from the log of packetfence it shows: Jul 11 13:40:27
> > httpd.admin(0) WARN: dc:0e:a1:8a:d4:8f has an open locationlog entry.
> > Node deletion prohibited (pf::node::node_delete)
>
> Yep. locationlog entries.
>
> > Can you please advise what I should do next?
>
> Have you followed the entire configuration for this setup from the
> network guide? Is SNMP working from the packetfence server to the
> switch? And are SNMP Traps making it from the switch to the packetfence
> server?
>
> > Regards, Jacky
>
> - --
> - ---------------------------
> Jason 'XenoPhage' Frisvold
> [email protected]
> - ---------------------------
>
> "Any sufficiently advanced magic is indistinguishable from technology."
> - - Niven's Inverse of Clarke's Third Law
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlHfRe4ACgkQ8CjzPZyTUTQbjgCfZFoQJzQIio5Vh0hoBjD/4cBB
> agYAnj/u9FYBhjDmH1CMJV1NF1NjNNQ6
> =TdCt
> -----END PGP SIGNATURE-----
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users