Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Multiple VLans +300

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 3 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      Roofus
      last edited by

      Hi,

      I know how to configure VLans through the interface and bridge, there are some good examples I have seen.

      My question is to see if a number of VLANS (+300 VLans) can be added in a more efficient/productive way, rather then by the Web GUI.  I can easily generate the configuration separately and dump to a text file.

      It would be easier to cut and paste configuration to a file etc, is this possible?

      Roofus

      1 Reply Last reply Reply Quote 0
      • S Offline
        stpq
        last edited by

        i would suggest something like backup/restore, download xml of vlans config than add what u need, and restore…

        the file looks like this:

         <vlans><vlan><if>fxp0</if>
        		<tag>20</tag>
        
        		<vlanif>fxp0_vlan20</vlanif></vlan> 
        	 <vlan><if>fxp0</if>
        		<tag>251</tag>
        
        		<vlanif>fxp0_vlan251</vlanif></vlan> 
        	 <vlan><if>fxp0</if>
        		<tag>252</tag>
        
        		<vlanif>fxp0_vlan252</vlanif></vlan> 
        	 <vlan><if>fxp0</if>
        		<tag>253</tag>
        
        		<vlanif>fxp0_vlan253</vlanif></vlan></vlans> 
        
        1 Reply Last reply Reply Quote 0
        • R Offline
          Roofus
          last edited by

          Thanks,

          I'll have a go on Thursday, but looks like a good alternative.

          Roofus

          1 Reply Last reply Reply Quote 0
          • E Offline
            eri--
            last edited by

            There used to be a feature that you could enter a vlan range on the interface and it will generate all of them.

            Not sure if its still there need to check that.

            1 Reply Last reply Reply Quote 0
            • R Offline
              Roofus
              last edited by

              Hi,

              Could not see that option there.  Suggestion of editing XML file worked a treat, just used Excel to construct all the strings and pasted them in.

              Also used this method for a couple of other things, such as interfaces for VLAN's, worked a treat and has save a LOT of time.

              Menus are a little overloaded now though, wish there was a way to make them display/sort better!

              Roofus

              2014-09-12_09-42-37.jpg
              2014-09-12_09-42-37.jpg_thumb

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.