Request search for MAC address #1693

Closed
opened 2025-12-29 16:34:28 +01:00 by adam · 5 comments
Owner

Originally created by @emarton77 on GitHub (Apr 24, 2018).

Issue type

[X] Feature request
[ ] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.2
  • NetBox version: 2.3.2

Description

Would be nice to have the ability to search for MAC addresses in any format from the UI. Would help track down interfaces of servers and/or VM's by MAC rather then by IP.

Originally created by @emarton77 on GitHub (Apr 24, 2018). <!-- Before opening a new issue, please search through the existing issues to see if your topic has already been addressed. Note that you may need to remove the "is:open" filter from the search bar to include closed issues. Check the appropriate type for your issue below by placing an x between the brackets. For assistance with installation issues, or for any other issues other than those listed below, please raise your topic for discussion on our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please note that issues which do not fall under any of the below categories will be closed. Due to an excessive backlog of feature requests, we are not currently accepting any proposals which extend NetBox's feature scope. Do not prepend any sort of tag to your issue's title. An administrator will review your issue and assign labels as appropriate. ---> ### Issue type [X] Feature request <!-- An enhancement of existing functionality --> [ ] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> <!-- Please describe the environment in which you are running NetBox. (Be sure to verify that you are running the latest stable release of NetBox before submitting a bug report.) If you are submitting a bug report and have made any changes to the code base, please first validate that your bug can be recreated while running an official release. --> ### Environment * Python version: 3.5.2 <!-- Example: 3.5.4 --> * NetBox version: 2.3.2 <!-- Example: 2.1.3 --> <!-- BUG REPORTS must include: * A list of the steps needed for someone else to reproduce the bug * A description of the expected and observed behavior * Any relevant error messages (screenshots may also help) FEATURE REQUESTS must include: * A detailed description of the proposed functionality * A use case for the new feature * A rough description of any necessary changes to the database schema * Any relevant third-party libraries which would be needed --> ### Description Would be nice to have the ability to search for MAC addresses in any format from the UI. Would help track down interfaces of servers and/or VM's by MAC rather then by IP.
adam closed this issue 2025-12-29 16:34:29 +01:00
Author
Owner

@Keyhaku commented on GitHub (Apr 27, 2018):

Hello,

It seems it's already implemented, see 1379

You can globally search for MAC addresses (in the global search input field), but I don't know why it doesn't seems to work.

Or you can use the dedicated filter in dcim -> Devices view, there is an input field on the bottom of the search box to the right of that page.

@jeremystretch It seems this dedicated filter doesn't exist for Virtual Machine, is it desired ?

@Keyhaku commented on GitHub (Apr 27, 2018): Hello, It seems it's already implemented, see [1379](https://github.com/digitalocean/netbox/issues/1379) You can globally search for MAC addresses (in the global search input field), but I don't know why it doesn't seems to work. Or you can use the dedicated filter in dcim -> Devices view, there is an input field on the bottom of the search box to the right of that page. @jeremystretch It seems this dedicated filter doesn't exist for Virtual Machine, is it desired ?
Author
Owner

@jeremystretch commented on GitHub (May 4, 2018):

@emarton77 There's a "MAC address" field in the search form to the right-hand side of the devices list.

@Keyhaku We can add one for virtual machines, but please open a new ticket specifically for that.

@jeremystretch commented on GitHub (May 4, 2018): @emarton77 There's a "MAC address" field in the search form to the right-hand side of the devices list. @Keyhaku We can add one for virtual machines, but please open a new ticket specifically for that.
Author
Owner

@jkldgoefgkljefogeg commented on GitHub (Jul 15, 2018):

It would be nice for global search bar (top right, next to username) to include MAC search.

@jkldgoefgkljefogeg commented on GitHub (Jul 15, 2018): It would be nice for global search bar (top right, next to username) to include MAC search.
Author
Owner

@jsuter1 commented on GitHub (Apr 18, 2019):

Global search for MAC address works for me in v2.5.8. However, the global search only supports the AABBCCDDEEFF MAC address format. The MAC address search field on /dcim/devices allows both the AA:BB:CC:DD:EE:FF and the AABBCCDDEEFF formats.

@jeremystretch Is it possible for the global search to support both formats?

Also referencing #1379 since I found that first when looking for the ability to search by MAC.

@jsuter1 commented on GitHub (Apr 18, 2019): Global search for MAC address works for me in v2.5.8. However, the global search only supports the `AABBCCDDEEFF` MAC address format. The MAC address search field on /dcim/devices allows both the `AA:BB:CC:DD:EE:FF` and the `AABBCCDDEEFF` formats. @jeremystretch Is it possible for the global search to support both formats? Also referencing #1379 since I found that first when looking for the ability to search by MAC.
Author
Owner

@eronlloyd commented on GitHub (Jul 29, 2019):

Bumping for global MAC search in multiple common notations. I’ve seen them as

  • MM:MM:MM:SS:SS:SS
  • MM-MM-MM-SS-SS-SS
  • MMM.MMM.SSS.SSS
@eronlloyd commented on GitHub (Jul 29, 2019): Bumping for global MAC search in multiple common notations. I’ve seen them as * MM:MM:MM:SS:SS:SS * MM-MM-MM-SS-SS-SS * MMM.MMM.SSS.SSS
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1693