Make available to show only own ports of Stack master #2075

Closed
opened 2025-12-29 17:22:03 +01:00 by adam · 1 comment
Owner

Originally created by @igorrev on GitHub (Oct 29, 2018).

Environment

  • Python version:
  • NetBox version:

Proposed Functionality

Make available to show only own interfaces of Stack master in contrast to show all interfaces of stack.

Use Case

I name interfaces how I see it on the physical device. So if I have stack of two Cisco switches I make two devices with different names but the same interface names. It looks like:
Switch-1: GE0, GE1, ...
Switch-2: GE0, GE1, ...
It's not a problem. But if I combine these switches to stack via Virtual Chassis and select, for example, Switch-1 as Master, then go to Switch-1 page, I see all stack interfaces in list:
Switch-1:
GE0,
GE0,
GE1,
GE1,
...
The first entry of each interface relates to Switch-1, the second entry - to Switch-2. But it's impossible to indicate relation from this page. It's very difficult to maintain connections.

I can name interfaces how I see it in device configs, for example, GE1/0/1, GE1/0/2, GE2/0/1, GE2/0/2, ... But in this case it's more difficult to identify interface on device because labels on device doesn't match names in NetBox. Also I need to rename all interfaces if I change switch number in stack, move it to another stack or install it stand-alone.

Additionally it will be great to see internal interface name (how it named in config) and external name (how it labeled on device)

Originally created by @igorrev on GitHub (Oct 29, 2018). ### Environment * Python version: <!-- Example: 3.5.4 --> * NetBox version: <!-- Example: 2.3.6 --> <!-- Describe in detail the new functionality you are proposing. Include any specific changes to work flows, data models, or the user interface. --> ### Proposed Functionality Make available to show only own interfaces of Stack master in contrast to show all interfaces of stack. ### Use Case I name interfaces how I see it on the physical device. So if I have stack of two Cisco switches I make two devices with different names but the same interface names. It looks like: Switch-1: GE0, GE1, ... Switch-2: GE0, GE1, ... It's not a problem. But if I combine these switches to stack via Virtual Chassis and select, for example, Switch-1 as Master, then go to Switch-1 page, I see all stack interfaces in list: Switch-1: GE0, GE0, GE1, GE1, ... The first entry of each interface relates to Switch-1, the second entry - to Switch-2. But it's impossible to indicate relation from this page. It's very difficult to maintain connections. I can name interfaces how I see it in device configs, for example, GE1/0/1, GE1/0/2, GE2/0/1, GE2/0/2, ... But in this case it's more difficult to identify interface on device because labels on device doesn't match names in NetBox. Also I need to rename all interfaces if I change switch number in stack, move it to another stack or install it stand-alone. Additionally it will be great to see internal interface name (how it named in config) and external name (how it labeled on device)
adam closed this issue 2025-12-29 17:22:03 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 30, 2018):

I can name interfaces how I see it in device configs, for example, GE1/0/1, GE1/0/2, GE2/0/1, GE2/0/2, ...

This is the recommended approach.

But in this case it's more difficult to identify interface on device because labels on device doesn't match names in NetBox.

But they do match how the master device references its interfaces, which is far more important. Further, having e.g. multiple interfaces named GE0 doesn't help, because you have no way of knowing which is which.

@jeremystretch commented on GitHub (Oct 30, 2018): > I can name interfaces how I see it in device configs, for example, GE1/0/1, GE1/0/2, GE2/0/1, GE2/0/2, ... This is the recommended approach. > But in this case it's more difficult to identify interface on device because labels on device doesn't match names in NetBox. But they _do_ match how the master device references its interfaces, which is far more important. Further, having e.g. multiple interfaces named `GE0` doesn't help, because you have no way of knowing which is which.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2075