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

    Quicker Way to Edit Interface Description (name) for Multiple VLANs

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 549 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.
    • V
      vlandrummer
      last edited by

      Hey all,

      We are installing two 6100s in HA at a client with 250+ VLANs. I was just wondering if anyone had some suggestions on the quickest way to edit the description/name of a large amount of interfaces, other than doing it manually one by one via the WebGUI. The goal is to have the interface description match the VLAN number, as opposed to the automatically assigned OPTX description.

      Thanks for your time!

      A 1 Reply Last reply Reply Quote 0
      • A
        akuma1x @vlandrummer
        last edited by akuma1x

        @vlandrummer You could export the config.xml file and edit in a text editor of some sort - one that gives you "find and replace" functions. That would be pretty quick, sort of... way better than by hand in the webgui. Then pull it back in and your changes should be all set.

        Be careful in here though, since you've got such a large amount of config data to change! If you make a mistake in editing somewhere, and re-import the file, something could be messed up and you won't even know it. Maybe work with a couple of revs of a config.xml file, making saves after a couple dozen or so changes?

        V 1 Reply Last reply Reply Quote 1
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Yup that. At 250VLANs I wouldn't even consider doing it in the GUI myself! ๐Ÿ˜‰

          Steve

          V 1 Reply Last reply Reply Quote 1
          • V
            vlandrummer @akuma1x
            last edited by

            @akuma1x perfect, that is definitely the way I'll do it. Thanks for the recommendation!

            1 Reply Last reply Reply Quote 0
            • V
              vlandrummer @stephenw10
              last edited by

              @stephenw10 said in Quicker Way to Edit Interface Description (name) for Multiple VLANs:

              Yup that. At 250VLANs I wouldn't even consider doing it in the GUI myself! ๐Ÿ˜‰

              Steve

              I knew there HAD to be a way around it, no way would any sane person put themself through that!

              Thanks for the confirmation ๐Ÿ™‚

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