Re: [PacketFence-users] Add support for LLDP on Cisco Switches

2017-07-31 Thread Cristian Mammoli via PacketFence-users
Yes, I noticed. The problem indeed was the regexp used to match the mac 
address of the phone, not the missing support:


https://github.com/inverse-inc/packetfence/issues/2524

Il 31/07/2017 14:42, Kylián Martin ha scritto:

Hi,
from what i know so far - perl module for 2960 extends the module for 2950 so 
LLDP is supported by PF for 2960 (and other) platforms.

Ing. Martin Kylián
specialista pro správu sítě a bezpečnost

E kyli...@plzen.eu
T +420 378 035 108
M +420 777 247 298
W www.sitmp.cz

Správa informačních technologií města Plzně
Dominikánská 4, 301 00  Plzeň





-Original Message-
From: Cristian Mammoli via PacketFence-users [mailto:packetfence-
us...@lists.sourceforge.net]
Sent: Monday, July 31, 2017 11:30 AM
To: packetfence-users@lists.sourceforge.net
Cc: Cristian Mammoli
Subject: [PacketFence-users] Add support for LLDP on Cisco Switches

Hi, looking at the code it seems that LLDP is only supported in Cisco 2950:

[root@srvpf ~]# grep -r supportsLldp /usr/local/pf/lib/pf/Switch/Cisco
/usr/local/pf/lib/pf/Switch/Cisco/Aironet.pm:sub supportsLldp { return
$FALSE; }
/usr/local/pf/lib/pf/Switch/Cisco/Catalyst_2950.pm:sub supportsLldp {
return $TRUE; }
/usr/local/pf/lib/pf/Switch/Cisco/WLC.pm:sub supportsLldp { return $FALSE;
}

I'm using snom phones on Cisco 2960 and they support LLDP only (not
CDP). Configuring the switch with "lldp run" they work fine (voice vlan
correctly assigned).

Why is the support disabled for (almost) all Cisco gear?
--
Mammoli Cristian
System administrator
T. +39 0731 22911
Via Brodolini 6 | 60035 Jesi (an)


--
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


--
Mammoli Cristian
System administrator
T. +39 0731 22911
Via Brodolini 6 | 60035 Jesi (an)


--
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] Add support for LLDP on Cisco Switches

2017-07-31 Thread Kylián Martin via PacketFence-users
Hi,
from what i know so far - perl module for 2960 extends the module for 2950 so 
LLDP is supported by PF for 2960 (and other) platforms.

Ing. Martin Kylián
specialista pro správu sítě a bezpečnost

E kyli...@plzen.eu
T +420 378 035 108
M +420 777 247 298
W www.sitmp.cz

Správa informačních technologií města Plzně
Dominikánská 4, 301 00  Plzeň




> -Original Message-
> From: Cristian Mammoli via PacketFence-users [mailto:packetfence-
> us...@lists.sourceforge.net]
> Sent: Monday, July 31, 2017 11:30 AM
> To: packetfence-users@lists.sourceforge.net
> Cc: Cristian Mammoli
> Subject: [PacketFence-users] Add support for LLDP on Cisco Switches
> 
> Hi, looking at the code it seems that LLDP is only supported in Cisco 2950:
> 
> [root@srvpf ~]# grep -r supportsLldp /usr/local/pf/lib/pf/Switch/Cisco
> /usr/local/pf/lib/pf/Switch/Cisco/Aironet.pm:sub supportsLldp { return
> $FALSE; }
> /usr/local/pf/lib/pf/Switch/Cisco/Catalyst_2950.pm:sub supportsLldp {
> return $TRUE; }
> /usr/local/pf/lib/pf/Switch/Cisco/WLC.pm:sub supportsLldp { return $FALSE;
> }
> 
> I'm using snom phones on Cisco 2960 and they support LLDP only (not
> CDP). Configuring the switch with "lldp run" they work fine (voice vlan
> correctly assigned).
> 
> Why is the support disabled for (almost) all Cisco gear?
> --
> Mammoli Cristian
> System administrator
> T. +39 0731 22911
> Via Brodolini 6 | 60035 Jesi (an)
> 
> 
> --
> 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
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

--
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


[PacketFence-users] Add support for LLDP on Cisco Switches

2017-07-31 Thread Cristian Mammoli via PacketFence-users

Hi, looking at the code it seems that LLDP is only supported in Cisco 2950:

[root@srvpf ~]# grep -r supportsLldp /usr/local/pf/lib/pf/Switch/Cisco
/usr/local/pf/lib/pf/Switch/Cisco/Aironet.pm:sub supportsLldp { return 
$FALSE; }
/usr/local/pf/lib/pf/Switch/Cisco/Catalyst_2950.pm:sub supportsLldp { 
return $TRUE; }

/usr/local/pf/lib/pf/Switch/Cisco/WLC.pm:sub supportsLldp { return $FALSE; }

I'm using snom phones on Cisco 2960 and they support LLDP only (not 
CDP). Configuring the switch with "lldp run" they work fine (voice vlan 
correctly assigned).


Why is the support disabled for (almost) all Cisco gear?
--
Mammoli Cristian
System administrator
T. +39 0731 22911
Via Brodolini 6 | 60035 Jesi (an)


--
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users