Hi Louis,
Yeah don’t I know it. PC’s connected to the data switch port on a Cisco phone
caused us massive issues a few years
back when we tried to deploy wired 802.1X across our network.
Before recent firmware updates on the phones the 802.1X session state was not
torn down on the switch when a PC
was disconnected from the IP phone (but obviously was on the PC itself). So
when the PC was again plugged into the phone
a mac violation was detected and the port put into a blocked state. Even worse
was if the device being unplugged from the phone
was a laptop that was ‘put to sleep’ first.
The only way around it was to unplug the phone from the network (or a shut/no
shut) – try explaining that to a bunch of students!
Nowadays CISCO phones pass the port transition state back to the switch via CDP
(LLDP for other vendors) so that the switch can
reset the 802.1X state properly.
Andrew
Andrew Torry
Senior Infrastructure Engineer
Tel: 01326 370760
Email: [email protected]
[cid:[email protected]]
[Falmouth Exeter Plus]
[cid:[email protected]]
[Twitter] <https://twitter.com/falmouthexeter> [Facebook]
<https://www.facebook.com/falmouthexeter> [Instagram]
<https://www.instagram.com/falmouthexeterplus/> [YouTube]
<https://www.youtube.com/channel/UC5-Jq4vTOhWgYoJJDYrZHWw>
[cid:[email protected]]
[Falmouth University]
Falmouth Exeter Plus is an exempt charity established by Falmouth University
and the University of Exeter to deliver their shared Higher Education services
in Cornwall.
From: Louis Munro [mailto:[email protected]]
Sent: 07 April 2017 17:10
To: [email protected]
Subject: Re: [PacketFence-users] How to configure switch for VLAN changes ?
On Apr 7, 2017, at 11:53 AM, Torry, Andrew
<[email protected]<mailto:[email protected]>> wrote:
I did not impicitly say that PF uses SNMP to change the VLAN.
The question was about how do you get the client machine to ‘recognise’ the
change and to request a new IP address so that it would
no longer hit the captive portal.
I implied that SNMP was used as a mechanism to achieve the same results as CoA
(which is predominantly a WiFi contrsucts by the way not a
wired one and is not as well supported .
If a PC is connected to the data port of a switch that does NOT support CoA
then no amount of changing the VLAN is going to ‘persuade’
a windows PC to get a new IP address. The only mechanism I have found to get
that working (on an old 8 port 2940 for instance) is in the
SNMP settings of the switch where you specify the timings whereby the SHUT is
sent a certain time after a VLAN change and the
NO SHUT is sent a certain timer after that.
CoA is relatively badly supported in older Cisco switches and IOS versions but
there are alternatives and that is what I was advising.
Sorry if I misread you then.
It's true that CoA is not as well supported/implemented on wired switches as it
is on wireless controllers (still, in this day and age...)
I agree with all you said above.
The problem has always been that if you shut the port on a wired switch then
everything that's on that port is disconnected including phones, which is more
common nowadays.
Since a lot of IP phones use PoE, that will reboot the phone.
So we try to do that as little as possible.
Cheers,
--
Louis Munro
[email protected]<mailto:[email protected]> ::
www.inverse.ca<http://www.inverse.ca>
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and
PacketFence (www.packetfence.org<http://www.packetfence.org>)
------------------------------------------------------------------------------
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