Hi Guys,

I've setup a LAB and having issues with PacketFence 4.1.0 (running on
CentOS 6.5 X86_64) not adjusting the vlans on a HP Procurve 2510G-48
switch. I'm able to adjust the vlans on the switch manually from
Packetfence using the pfsetvlan command.  Below are the configurations and
logs, could anyone assist?

*# switches.conf*
[172.20.17.15]
mode=production
deauthMethod=SNMP
description=PFTEST
type=HP::Procurve_2500
VoIPEnabled=N
uplink=1,48
SNMPCommunityWrite=public
defaultVlan=203
macDetectionVlan=900
isolationVlan=900
registrationVlan=901


*# packetfence.log*
Jan 07 09:41:59 pfsetvlan(21) DEBUG: trap currently not handled
(pf::SNMP::HP::parseTrap)
Jan 07 09:41:59 pfsetvlan(21) INFO: ignoring unknown trap:
2014-01-07|07:41:56|UDP:
[172.20.17.15]:161->[172.20.17.16]|172.20.17.15|BEGIN TYPE 6 END TYPE BEGIN
SUBTYPE .5 END SUBTYPE BEGIN VARIABLEBINDINGS
.1.3.6.1.4.1.11.2.14.11.1.7.2.1.4.22 = INTEGER:
12|.1.3.6.1.4.1.11.2.14.11.1.7.2.1.5.22 = INTEGER:
2|.1.3.6.1.4.1.11.2.14.11.1.7.2.1.6.22 = INTEGER:
2|.1.3.6.1.4.1.11.2.14.11.1.7.3.0.22 = STRING: "
http://172.20.17.15/cgi/fDetail?index=22<http://10.2.17.15/cgi/fDetail?index=22>"
END VARIABLEBINDINGS (main::parseTrap)
Jan 07 09:41:59 pfsetvlan(22) DEBUG: opening SNMP v1 read connection to
172.20.17.15 (pf::SNMP::connectRead)
Jan 07 09:41:59 pfsetvlan(22) DEBUG: dot1dBasePort corresponding to ifIndex
10 is 10 (pf::SNMP::getDot1dBasePortForThisIfIndex)
Jan 07 09:41:59 pfsetvlan(22) DEBUG: opening SNMP v1 read connection to
172.20.17.15 (pf::SNMP::connectRead)
Jan 07 09:41:59 pfsetvlan(22) INFO: secureMacAddrViolation trap on
172.20.17.15 ifIndex 10. Port Security is no longer configured on the port.
Flush the trap (main::signalHandlerTrapListQueued)


*# snmptrapd.log*
2014-01-07|07:41:56|UDP:
[172.20.17.15]:161->[172.20.17.16]|172.20.17.15|BEGIN TYPE 6 END TYPE BEGIN
SUBTYPE .5 END SUBTYPE BEGIN VARIABLEBINDINGS
.1.3.6.1.4.1.11.2.14.11.1.7.2.1.4.22 = INTEGER:
12|.1.3.6.1.4.1.11.2.14.11.1.7.2.1.5.22 = INTEGER:
2|.1.3.6.1.4.1.11.2.14.11.1.7.2.1.6.22 = INTEGER:
2|.1.3.6.1.4.1.11.2.14.11.1.7.3.0.22 = STRING: "
http://172.20.17.15/cgi/fDetail?index=22<http://10.2.17.15/cgi/fDetail?index=22>"
END VARIABLEBINDINGS
2014-01-07|07:41:56|UDP:
[172.20.17.15]:161->[172.20.17.16]|172.20.17.15|BEGIN TYPE 6 END TYPE BEGIN
SUBTYPE .1 END SUBTYPE BEGIN VARIABLEBINDINGS
.1.3.6.1.4.1.11.2.14.2.10.2.1.2.1.10 = INTEGER:
1|.1.3.6.1.4.1.11.2.14.2.10.2.1.3.1.10 = INTEGER:
10|.1.3.6.1.4.1.11.2.14.2.10.2.1.4.1.10 = Hex-STRING: 00 06 4F 8C AC B7
|.1.3.6.1.4.1.11.2.14.2.10.2.1.6.1.10 = INTEGER:
1|.1.3.6.1.4.1.11.2.14.2.10.2.1.7.1.10 = INTEGER: 1 END VARIABLEBINDINGS



*# HP Procurve 2510G-48*

PFTEST(vlan-203)# show running-config

Running configuration:

; J9280A Configuration Editor; Created on release #Y.11.44

hostname "PFTEST"
trunk 48 Trk1 Trunk
trunk 1 Trk2 Trunk
ip default-gateway 172.20.17.1
snmp-server community "public" Operator Unrestricted
snmp-server host 172.20.17.16 "public" Not-INFO
vlan 1
   name "DEFAULT_VLAN"
   untagged 4-47,Trk1-Trk2
   no ip address
   no untagged 2-3
   exit
vlan 203
   name "DEFAULT"
   tagged 2,Trk1-Trk2
   exit
vlan 200
   name "MANAGEMENT"
   untagged 2-3
   ip address 172.20.17.15 255.255.255.0
   tagged Trk1-Trk2
   exit
vlan 900
   name "ISOLATION"
   exit
vlan 901
   name "REGISTRATION"
   exit
port-security 4 learn-mode configured action send-alarm mac-address
000000000004
port-security 5 learn-mode configured action send-alarm mac-address
000000000005
port-security 6 learn-mode configured action send-alarm mac-address
000000000006
port-security 7 learn-mode configured action send-alarm mac-address
000000000007
port-security 8 learn-mode configured action send-alarm mac-address
000000000008
port-security 9 learn-mode configured action send-alarm mac-address
000000000009
port-security 10 learn-mode configured action send-alarm mac-address
000000000010

no snmp-server enable traps link-change 1-48
spanning-tree Trk1 priority 4
spanning-tree Trk2 priority 4
password manager




Thanks,
Jono
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to