Hello,
Sorry if this mail is sent twice. I send it this morning and can't see
it on the list so I try again.
------
I use packetfence on a full HP Procurve Networking infrastructure.
Actually I try to make it work with an HP 3500 yl switch. Really,
everything work fine and I can let it that way but I want it to work
faster by using deauthentication method.
It seems that snmp request work with HP switches when I try manually. I
can see on the switch my interface going up and down:
# pfcmd_vlan -setIfAdminStatus -ifAdminStatus 1(or 2) -ifIndex 32
-switch 192.168.1.100 -verbose 4
DEBUG - instantiating new SwitchFactory object
DEBUG - cache get for namespace='switch.overlay', key='192.168.1.100',
cache='File:l1_cache', time='0ms': MISS (not in cache)
DEBUG - cache get for namespace='switch.overlay', key='192.168.1.100',
cache='File', time='0ms': MISS (not in cache)
DEBUG - creating new pf::Switch::HP::Procurve_2600 object
DEBUG - start handling 'setIfAdminStatus' command
DEBUG - opening SNMP v2c write connection to 192.168.1.100
TRACE - SNMP get_request for sysLocation: 1.3.6.1.2.1.1.6.0
TRACE - SNMP set_request for sysLocation: 1.3.6.1.2.1.1.6.0 to DO -
Bureau DSI
TRACE - SNMP set_request for ifAdminStatus: 1.3.6.1.2.1.2.2.1.7.32 = 1
DEBUG - finished handling 'setIfAdminStatus' command
But in packetfence.log, it seems that the switch doesn't accept the
incoming snmp trap:
Sep 04 09:09:49 pfsetvlan(24) DEBUG: *ignoring unknown trap*:
2014-09-04|07:09:45|UDP:
[192.168.1.100]:161->[192.168.1.50]|192.168.1.100|BEGIN TYPE 2 END TYPE
BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS
.1.3.6.1.2.1.2.2.1.1.32 = INTEGER: 32|.1.3.6.1.2.1.2.2.1.7.32 = INTEGER:
down(2)|.1.3.6.1.2.1.2.2.1.8.32 = INTEGER:
down(2)|.1.3.6.1.2.1.2.2.1.2.32 = STRING: 32|.1.3.6.1.2.1.31.1.1.1.18.32
= STRING: prise.DO-J-15 END VARIABLEBINDINGS (main::parseTrap)
Sep 04 09:09:55 pfsetvlan(21) DEBUG:*ignoring unknown trap*:
2014-09-04|07:09:52|UDP:
[192.168.1.100]:161->[192.168.1.50]|192.168.1.100|BEGIN TYPE 3 END TYPE
BEGIN SUBTYPE 0 END SUBTYPE BEGIN VARIABLEBINDINGS
.1.3.6.1.2.1.2.2.1.1.32 = INTEGER: 32|.1.3.6.1.2.1.2.2.1.7.32 = INTEGER:
up(1)|.1.3.6.1.2.1.2.2.1.8.32 = INTEGER: up(1)|.1.3.6.1.2.1.2.2.1.2.32 =
STRING: 32|.1.3.6.1.2.1.31.1.1.1.18.32 = STRING: prise.DO-J-15 END
VARIABLEBINDINGS (main::parseTrap)
Is there something to modify in HP.pm to make it work andaccelerate
dynamic vlan assignement ? Thanks for your answers.
Regards,
--
Sabrina Louison-François
Ingénieure Réseaux et Télécoms
Direction des Systèmes d'Information
École normale supérieure de Cachan
61, avenue du Président Wilson
94235 Cachan cedex
tél : 01 47 40 74 24
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users