Improper naming of interfaces if the master VC member displays the interfaces of all members in the VC / Stack. #4639

Closed
opened 2025-12-29 19:19:01 +01:00 by adam · 2 comments
Owner

Originally created by @igloo777 on GitHub (Mar 9, 2021).

NetBox version

v.2.10.4

Python version

3.7

Steps to Reproduce

  • Create VC with 2 members.
  • Open Interfaces tab in Master member object and check for duplicated interfaces.

Expected Behavior

Node value inside the Node/Slot/Port triplet should be equal to VC member Position value.
Interface name should be changed when we look at the Interfaces of VC/Stack master in UI (or asking for master interfaces in API query).

Observed Behavior

For sample, I have more than one Interface with name Gi1/0/1.

It looks like a bug.

Originally created by @igloo777 on GitHub (Mar 9, 2021). ### NetBox version v.2.10.4 ### Python version 3.7 ### Steps to Reproduce - Create VC with 2 members. - Open Interfaces tab in Master member object and check for duplicated interfaces. ### Expected Behavior Node value inside the Node/Slot/Port triplet should be equal to VC member Position value. Interface name should be changed when we look at the Interfaces of VC/Stack master in UI (or asking for master interfaces in API query). ### Observed Behavior For sample, I have more than one Interface with name Gi1/0/1. It looks like a bug.
adam added the type: bug label 2025-12-29 19:19:01 +01:00
adam closed this issue 2025-12-29 19:19:02 +01:00
Author
Owner

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

You need to rename the interfaces manually (there is a bulk rename option for this). NetBox has no way of discerning how the device's vendor chooses to name VC member interfaces.

@jeremystretch commented on GitHub (Mar 9, 2021): You need to rename the interfaces manually (there is a bulk rename option for this). NetBox has no way of discerning how the device's vendor chooses to name VC member interfaces.
Author
Owner

@igloo777 commented on GitHub (Mar 11, 2021):

@jeremystretch thank you for reply!

You need to rename the interfaces manually (there is a bulk rename option for this). NetBox has no way of discerning how the device's vendor chooses to name VC member interfaces.

Usually the 1rst number in the interface name of switch (counting from left) is the Node number (VC member position value).
I've never met another logic in stacks, but maybe you have another experience.

If i rename the interfaces on master switch, it also will be renamed on non-master switch. If i open interfaces tab of non-master switch after that, i see the renamed interfaces, and it looks strange.

How about the idea to hide Interfaces tab if the switch isnon-master member of VC/Stack?

@igloo777 commented on GitHub (Mar 11, 2021): @jeremystretch thank you for reply! > You need to rename the interfaces manually (there is a bulk rename option for this). NetBox has no way of discerning how the device's vendor chooses to name VC member interfaces. Usually the 1rst number in the interface name of switch (counting from left) is the Node number (VC member position value). I've never met another logic in stacks, but maybe you have another experience. If i rename the interfaces on master switch, it also will be renamed on non-master switch. If i open interfaces tab of non-master switch after that, i see the renamed interfaces, and it looks strange. How about the idea to hide Interfaces tab if the switch isnon-master member of VC/Stack?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4639