Hi, I apologize, I mixed the ifIndex and vlanIfIndex on the snmpwalk :S
Code says : my $oid_isPortSecurityEnabled = "$oid_extremePortVlanInfoMacLockDownEnabled.$ifIndex.$vlanIfIndex"; So it should be : 1.3.6.1.4.1.1916.1.4.17.1.4.5.1001.1000016 Port 1 - Registration VLAN If this walk is not working, I suggest you contact the vendor and ask him what's going on. You could also use mac authentication instead of mac lockdown. On 12-01-27 3:09 AM, [email protected] wrote: > Hi Francois, > > I have walk the ifindex mib. Following are the result. > As per the result given below I think I have put right index number. > > snmpwalk -v 2c -c public 192.168.10.10 1.3.6.1.2.1.2.2.1.1 > IF-MIB::ifIndex.1001 = INTEGER: 1001 > IF-MIB::ifIndex.1002 = INTEGER: 1002 > IF-MIB::ifIndex.1003 = INTEGER: 1003 > IF-MIB::ifIndex.1004 = INTEGER: 1004 > IF-MIB::ifIndex.1005 = INTEGER: 1005 > IF-MIB::ifIndex.1006 = INTEGER: 1006 > IF-MIB::ifIndex.1007 = INTEGER: 1007 > IF-MIB::ifIndex.1008 = INTEGER: 1008 > IF-MIB::ifIndex.1009 = INTEGER: 1009 > IF-MIB::ifIndex.1010 = INTEGER: 1010 > IF-MIB::ifIndex.1011 = INTEGER: 1011 > IF-MIB::ifIndex.1012 = INTEGER: 1012 > IF-MIB::ifIndex.1013 = INTEGER: 1013 > IF-MIB::ifIndex.1014 = INTEGER: 1014 > IF-MIB::ifIndex.1015 = INTEGER: 1015 > IF-MIB::ifIndex.1016 = INTEGER: 1016 > IF-MIB::ifIndex.1017 = INTEGER: 1017 > IF-MIB::ifIndex.1018 = INTEGER: 1018 > IF-MIB::ifIndex.1019 = INTEGER: 1019 > IF-MIB::ifIndex.1020 = INTEGER: 1020 > IF-MIB::ifIndex.1021 = INTEGER: 1021 > IF-MIB::ifIndex.1022 = INTEGER: 1022 > IF-MIB::ifIndex.1023 = INTEGER: 1023 > IF-MIB::ifIndex.1024 = INTEGER: 1024 > IF-MIB::ifIndex.1025 = INTEGER: 1025 > IF-MIB::ifIndex.1026 = INTEGER: 1026 > IF-MIB::ifIndex.1027 = INTEGER: 1027 > IF-MIB::ifIndex.1000001 = INTEGER: 1000001 > IF-MIB::ifIndex.1000002 = INTEGER: 1000002 > IF-MIB::ifIndex.1000003 = INTEGER: 1000003 > IF-MIB::ifIndex.1000004 = INTEGER: 1000004 > IF-MIB::ifIndex.1000005 = INTEGER: 1000005 > IF-MIB::ifIndex.1000006 = INTEGER: 1000006 > IF-MIB::ifIndex.1000007 = INTEGER: 1000007 > IF-MIB::ifIndex.1000009 = INTEGER: 1000009 > IF-MIB::ifIndex.1000012 = INTEGER: 1000012 > IF-MIB::ifIndex.1000016 = INTEGER: 1000016 > IF-MIB::ifIndex.1000017 = INTEGER: 1000017 > > Thanks& Regards, > Kailash Kumar Swain > > > > ----------------------------------------- > This email was sent using the NIT Rourkela Webmail. > "Nation Institute of Technology - Rourkela" > http://www.nitrkl.ac.in > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Packetfence-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/packetfence-users > -- Francois Gaudreault, ing. jr [email protected] :: +1.514.447.4918 (x130) :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Packetfence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
