Search by MAC address #4397

Closed
opened 2025-12-29 18:35:35 +01:00 by adam · 5 comments
Owner

Originally created by @davidestorey on GitHub (Dec 23, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.8
  • NetBox version: 2.10.1

Proposed Functionality

It's possible to search by MAC address for physical devices. It is currently impossible to search by MAC for virtual machines. It would be great to add that to the Interfaces section under Virtual machines. Additionally, adding to the global search would be awesome!

Use Case

Many times, we find a mac hanging off a switch port and want to identify it. Searching by MAC would make life easier.

Database Changes

Don't believe this change would require a schema change

External Dependencies

Should not require any external dependencies.

Originally created by @davidestorey on GitHub (Dec 23, 2020). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.8 * NetBox version: 2.10.1 ### Proposed Functionality It's possible to search by MAC address for physical devices. It is currently impossible to search by MAC for virtual machines. It would be great to add that to the Interfaces section under Virtual machines. Additionally, adding to the global search would be awesome! ### Use Case Many times, we find a mac hanging off a switch port and want to identify it. Searching by MAC would make life easier. ### Database Changes Don't believe this change would require a schema change ### External Dependencies Should not require any external dependencies.
adam added the status: acceptedtype: feature labels 2025-12-29 18:35:35 +01:00
adam closed this issue 2025-12-29 18:35:35 +01:00
Author
Owner

@stale[bot] commented on GitHub (Feb 22, 2021):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@stale[bot] commented on GitHub (Feb 22, 2021): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@stale[bot] commented on GitHub (Mar 19, 2021):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@stale[bot] commented on GitHub (Mar 19, 2021): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Author
Owner

@jeremystretch commented on GitHub (Mar 31, 2021):

FYI this filter is already present; it was just never added as a field to the search form.

@jeremystretch commented on GitHub (Mar 31, 2021): FYI this filter is already present; it was just never added as a field to the search form.
Author
Owner

@OtherSystems commented on GitHub (May 28, 2021):

Is it possible to do a global search on mac addresses? Would be very handy when trying to figure out what has this mac address I keep running into.

@OtherSystems commented on GitHub (May 28, 2021): Is it possible to do a global search on mac addresses? Would be very handy when trying to figure out what has this mac address I keep running into.
Author
Owner

@stuntguy3000 commented on GitHub (Jul 15, 2021):

@jeremystretch, following @OtherSystems's comment above and other issues #6435, why would device interfaces not be searchable via the global search function?

I feel like the benefits of this should be self explanatory, as a search box that doesn't search for things is as useful as Cortana.

@stuntguy3000 commented on GitHub (Jul 15, 2021): @jeremystretch, following @OtherSystems's comment above and other issues #6435, why would device interfaces not be searchable via the **global search function**? I feel like the benefits of this should be self explanatory, as a search box that doesn't search for things is as useful as Cortana.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4397