Please do try to use the config for the switch H3C S5120, this should be 
working with HP 1910 and 1920

On July 5, 2017 5:06:51 PM GMT+03:00, devzero--- via PacketFence-users 
<[email protected]> wrote:
>Hello, 
>
>any chance to get packectfence work with HP 1920 Switches?
>
>I wanted to try as a generic device via snmp and getting this far:
>
>Jul  5 15:57:18 packetfence packetfence: INFO pfcmd.pl(12509):
>generating /usr/local/pf/var/conf/ssl-certificates.conf
>(pf::services::manager::httpd::generateCommonConfig)
>Jul  5 15:57:18 packetfence packetfence: INFO pfcmd.pl(12509):
>generating /usr/local/pf/var/conf/captive-portal-common
>(pf::services::manager::httpd::generateCommonConfig)
>Jul  5 15:57:23 packetfence pfqueue: pfqueue(11017) INFO: [mac:] up
>trap received on 172.16.26.25 ifIndex 6
>(pf::task::pfsnmp::handleUpTrap)
>Jul  5 15:57:23 packetfence pfqueue: pfqueue(11017) INFO: [mac:]
>setting 172.16.26.25 port 6 to MAC detection VLAN
>(pf::task::pfsnmp::handleUpTrap)
>Jul  5 15:57:23 packetfence pfqueue: pfqueue(11017) INFO: [mac:]
>setting VLAN at 172.16.26.25 ifIndex 6 from 30 to 4
>(pf::Switch::setVlan)
>Jul  5 15:57:23 packetfence pfqueue: pfqueue(11017) ERROR: [mac:] Error
>occured while handling trap : Can't locate object method "_setVlan" via
>package "pf::Switch::Generic" at /usr/local/pf/lib/pf/Switch.pm line
>688.
> (pf::task::pfsnmp::handleTrap)
>Jul  5 15:57:24 packetfence packetfence: pfsetvlan(0) WARN:
>[mac:[undef]] ignoring non trap line  perl callback function
>0x7fd57fb142c8 returns 1 (main::)
>Jul  5 15:57:24 packetfence packetfence: pfsetvlan(0) WARN:
>[mac:[undef]] ignoring non trap line  perl callback function
>0x7fd57fb142c8 returns 1 (main::)
>Jul  5 15:57:24 packetfence packetfence: pfsetvlan(6) WARN:
>[mac:[undef]] SNMP trap handling not implemented for this type of
>switch. (pf::Switch::parseTrap)
>Jul  5 15:57:24 packetfence packetfence: pfsetvlan(7) WARN:
>[mac:[undef]] SNMP trap handling not implemented for this type of
>switch. (pf::Switch::parseTrap)
>Jul  5 15:57:28 packetfence pfqueue: pfqueue(11026) INFO: [mac:] down
>trap received on 172.16.26.25 ifIndex 6
>(pf::task::pfsnmp::handleDownTrap)
>Jul  5 15:57:28 packetfence pfqueue: pfqueue(11026) INFO: [mac:]
>setting 172.16.26.25 port 6 to MAC detection VLAN
>(pf::task::pfsnmp::handleDownTrap)
>Jul  5 15:57:28 packetfence pfqueue: pfqueue(11026) INFO: [mac:]
>setting VLAN at 172.16.26.25 ifIndex 6 from 30 to 4
>(pf::Switch::setVlan)
>Jul  5 15:57:28 packetfence pfqueue: pfqueue(11026) ERROR: [mac:] Error
>occured while handling trap : Can't locate object method "_setVlan" via
>package "pf::Switch::Generic" at /usr/local/pf/lib/pf/Switch.pm line
>688.
> (pf::task::pfsnmp::handleTrap)
>Jul  5 15:57:30 packetfence packetfence: pfsetvlan(0) WARN:
>[mac:[undef]] ignoring non trap line  perl callback function
>0x7fd57fb142c8 returns 1 (main::)
>Jul  5 15:57:30 packetfence packetfence: pfsetvlan(8) WARN:
>[mac:[undef]] SNMP trap handling not implemented for this type of
>switch. (pf::Switch::parseTrap)
>Jul  5 15:57:31 packetfence pfqueue: pfqueue(11021) INFO:
>[mac:3c:07:54:41:ca:ee] oldip (10.0.30.10) and newip (10.0.20.10) are
>different for 3c:07:54:41:ca:ee - closing ip4log entry
>(pf::api::update_ip4log)
>Jul  5 15:57:32 packetfence pfqueue: pfqueue(11028) INFO: [mac:] up
>trap received on 172.16.26.25 ifIndex 5
>(pf::task::pfsnmp::handleUpTrap)
>Jul  5 15:57:32 packetfence pfqueue: pfqueue(11028) INFO: [mac:]
>setting 172.16.26.25 port 5 to MAC detection VLAN
>(pf::task::pfsnmp::handleUpTrap)
>Jul  5 15:57:32 packetfence pfqueue: pfqueue(11028) INFO: [mac:]
>setting VLAN at 172.16.26.25 ifIndex 5 from 20 to 4
>(pf::Switch::setVlan)
>Jul  5 15:57:32 packetfence pfqueue: pfqueue(11028) ERROR: [mac:] Error
>occured while handling trap : Can't locate object method "_setVlan" via
>package "pf::Switch::Generic" at /usr/local/pf/lib/pf/Switch.pm line
>688.
> (pf::task::pfsnmp::handleTrap)
>
>
>Further question:
>Who can i clean already detected devices from node database?
>I did not enter dhcp server ip in the first setup and nodes seem all to
>be detected via management interface, what i don`t want to occur.
>
>regards
>Roland
>
>------------------------------------------------------------------------------
>Check out the vibrant tech community on one of the world's most
>engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>_______________________________________________
>PacketFence-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/packetfence-users

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to