Louis,

Thank you, that is what I’d needed, and apparently missed reading through the 
file earlier.

There is a “[default]” that contains “vlans=1,22,23,24,25,110,111,112” and then 
lines with the name of the vlan and its value, lines of this type for 
“registration”
“registrationVlan=110”

And I do see how some switches, for instance, one campus in particular, has in 
each stanza lines that read “Default_VLANVlan=112” or nearly unique “General 
Usevlan=1”.

I should be able to set “RegistrationVlan=150” in the stanzas for the end point 
switches at this one particular location. Reconfigure the router to put the 
necessary network into the new vlan and if it works do the same process for the 
Isolation vlan.

Since there are only a few switches per floor in the building, and we route by 
floor (unique network with unique vlan id) I can modify those via the web 
interface as I go.

My PF manager said something about a DOS INI file but this looks like a normal 
unix file to me, which I will edit with # vi.

And I guess, reload the server, # ~pf/bin/pfcmd services pf restart

Does this seem correct? I’m trying to be verbose, not just for myself, but 
maybe for the next guy.

Thank you,
Brian


From: Louis Munro [mailto:[email protected]]
Sent: Wednesday, February 17, 2016 12:34 PM
To: [email protected]
Subject: Re: [PacketFence-users] change vlan map on multiple switches

Hi Brian,
Any switch for which the values are not defined takes those values from the 
“default” switch.

So if you use the same VLANs for all switches, you can simply change the 
default switch and that will apply to all of them unless specifically overriden.

If you need to change a large number of switches, you may want to use a script 
to generate a new conf/switches.conf file instead of manually editing the old 
one.
It depends on what is easier for you I suppose and the number of switches to 
change.

Regards,
--
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>)

On Feb 17, 2016, at 11:46 , Cuttler, Brian (HEALTH) 
<[email protected]<mailto:[email protected]>> wrote:

Hello,

I've searched (perhaps ineffectively) in the archive and don't see a mechanism 
to update the vlan map for multiple switches at the same time. I see that 
packetfence v 5.6.0 has a "switch group" but we are at, and are staying at 
5.0.2 so that is not an option for us.

Issue is we are moving our network management from 2 buildings to 1 (we have 5 
campuses but are not consolidating others, at least not now, these two building 
just happen to be near each other) and will have some vlan collisions. Want to 
migrate one of the buildings to new/unused vlans prior to moving the routing.

I can iterate through the switches, there are not "a lot", but changing them 
all at once would reduce the window of confusion on the network.

We'd thought that conf/switches.conf would contain the settings, but as a rule 
only the default_vlan is listed in each stanza, and I'm not seeing where our 
Registration or Isolation vlans are defined.

Thanks in advance for your advice and guidance.

Brian


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
PacketFence-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to