Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Find MAC Address

Find MAC Address

Scheduled Pinned Locked Moved Support
10 Posts 3 Posters 56.2k Views
  • 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.
  • L
    L
    lweidig
    wrote on last edited by
    #1

    Is there any way to pass this a partial MAC address and allow it to find all instances that match?  We typically record the last 4 of a MAC address for certain things as it provides enough uniqueness where needed.  Have tried regex and other variations, seems to want all 12 hex digits.  Just curious.

    1 Reply Last reply
    0
    • F
      F
      Filipp Sudanov
      wrote on last edited by
      #2

      Could be done in Tools->Find Object, e.g.

      macAddr != NULL and macAddr like "*A1:12"
      

      You can save predefined queries for there, they will be accessible in Configuration -> Object queries. It's possible to add input field there so that when you run the query, it opens dialog where user can enter search string. But a few more clicks to access this then Tools -> Find mac address.

      1 Reply Last reply
      0
      • L
        L
        lweidig
        wrote on last edited by
        #3

        This works ofc but not with the desired result.  If we search for one of the MAC addresses on a router with multiple interfaces this returns the interface object and not the node associated with that.  There is not an easy way from the Interface to tell the node it is associated with either.

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          I've added feature request for supporting search by partial MAC address: https://track.radensolutions.com/issue/NX-2154.

          Best regards,
          Victor

          1 Reply Last reply
          0
          • L
            L
            lweidig
            wrote on last edited by
            #5

            Thanks Victor, appreciate that!

            1 Reply Last reply
            0
            • L
              L
              lweidig
              wrote on last edited by
              #6

              Per the 4.1 release notes this was supposed to be fixed.  Cannot figure out how to use it though as any partial MAC address combination I try comes back with:

              MAC address entered is incorrect.  Please enter correct MAC address.

              This is 4.1.283 console / server.  Thanks!

              1 Reply Last reply
              0
              • V
                V
                Victor Kirhenshtein
                wrote on last edited by
                #7

                Hi,

                it requires at least 3 bytes of MAC address. Idea was to limit potentially very broad search. But I think we can change it if there is a use case for such wide searches.

                Best regards,
                Victor

                1 Reply Last reply
                0
                • L
                  L
                  lweidig
                  wrote on last edited by
                  #8

                  Yes, 3 bytes is working.  We typically always just searched on the last 2 bytes and would like that to work, but we will use this in the meantime.  Thanks for clarifying!

                  1 Reply Last reply
                  0
                  • V
                    V
                    Victor Kirhenshtein
                    wrote on last edited by
                    #9

                    Just reduced limit to two bytes, will be included into next patch release.

                    Best regards,
                    Victor

                    1 Reply Last reply
                    0
                    • L
                      L
                      lweidig
                      wrote on last edited by
                      #10

                      Thanks!

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups