Add support for Cisco StackPower #3676

Closed
opened 2025-12-29 18:30:33 +01:00 by adam · 6 comments
Owner

Originally created by @bhavikbhakta on GitHub (May 11, 2020).

Environment

  • Python version: 3.6.2
  • NetBox version: 2.8.3

Proposed Functionality

Add Power Port option for Cisco Stackwise and allow connections between two.

Use Case

Cisco Catalyst switches (3850/9300) allow for Power stacking similar to traditional StackWise ports.
https://www.cisco.com/c/dam/en/us/products/collateral/switches/mgx-8800-series-switches/C22_722458_00_stackpow.pdf

Database Changes

Adding a new Interface type for PowerPorts or traditional interface.

External Dependencies

Originally created by @bhavikbhakta on GitHub (May 11, 2020). ### Environment * Python version: 3.6.2 * NetBox version: 2.8.3 ### Proposed Functionality Add Power Port option for Cisco Stackwise and allow connections between two. ### Use Case Cisco Catalyst switches (3850/9300) allow for Power stacking similar to traditional StackWise ports. https://www.cisco.com/c/dam/en/us/products/collateral/switches/mgx-8800-series-switches/C22_722458_00_stackpow.pdf ### Database Changes Adding a new Interface type for PowerPorts or traditional interface. ### External Dependencies
adam closed this issue 2025-12-29 18:30:33 +01:00
Author
Owner

@lampwins commented on GitHub (May 11, 2020):

These are power outlets though, right? Not interfaces. I would think this can be modeled with existing power outlets/power ports and proper naming of the ports.

@lampwins commented on GitHub (May 11, 2020): These are power outlets though, right? Not interfaces. I would think this can be modeled with existing power outlets/power ports and proper naming of the ports.
Author
Owner

@bhavikbhakta commented on GitHub (May 11, 2020):

There are two PowerStack ports on the back of each switch. There is no difference in port-type.
It is not possible to do a Power Outlet to Power Outlet connection (or plug to plug).

Additionally, switches are able to detect if there is a connection between them (similar to an interface)

Example output:
Power Stack Port 1 Port 1 Port 2 Port 2
SW Name Status Neighbor SW:MAC Status Neighbor SW:MAC
-- -------------------- ------ ---------------- ------ ----------------
1 Powerstack-1 Conn 2:0[redacted] Conn 2:0[redacted]
2 Powerstack-1 Conn 1:0[redacted] Conn 1:0[redacted]

This functionality is expandable to 4 switches in a ring topology or higher in a Star topology.

Vendor documentation with images: LINK

@bhavikbhakta commented on GitHub (May 11, 2020): There are two PowerStack ports on the back of each switch. There is no difference in port-type. It is not possible to do a Power Outlet to Power Outlet connection (or plug to plug). Additionally, switches are able to detect if there is a connection between them (similar to an interface) **Example output:** ` Power Stack Port 1 Port 1 Port 2 Port 2` `SW Name Status Neighbor SW:MAC Status Neighbor SW:MAC` `-- -------------------- ------ ---------------- ------ ----------------` `1 Powerstack-1 Conn 2:0[redacted] Conn 2:0[redacted]` `2 Powerstack-1 Conn 1:0[redacted] Conn 1:0[redacted]` This functionality is expandable to 4 switches in a ring topology or higher in a Star topology. Vendor documentation with images: [LINK](https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/hardware/install/b_c9300_hig/b_c9300_hig_chapter_010.html#reference_7F5B76985FD4489EB3DFEF7F392E174A)
Author
Owner

@DanSheps commented on GitHub (May 12, 2020):

@lampwins They are a hybrid power outlet/inlet. It also uses a special cable, the stackpower cable. If we do add support for it, we would probably want to add the form factor to both power ports and power outlets.

@DanSheps commented on GitHub (May 12, 2020): @lampwins They are a hybrid power outlet/inlet. It also uses a special cable, the stackpower cable. If we do add support for it, we would probably want to add the form factor to both power ports and power outlets.
Author
Owner

@jeremystretch commented on GitHub (May 12, 2020):

They are a hybrid power outlet/inlet.

IMO this doesn't fit into the current model: NetBox models only deterministic power flow from origin to point of consumption. The power outlet/power port dichotomy doesn't allow for a bidirectional bus.

We could add PowerStack as a type for both power outlets and power ports, however it may not be clear to users how they should be populated on devices. Additionally, the connection of a power outlet to a power port implies that energy is flowing in one direction, when in reality it may be flowing in the opposite direction.

@jeremystretch commented on GitHub (May 12, 2020): > They are a hybrid power outlet/inlet. IMO this doesn't fit into the current model: NetBox models only deterministic power flow from origin to point of consumption. The power outlet/power port dichotomy doesn't allow for a bidirectional bus. We could add PowerStack as a type for both power outlets and power ports, however it may not be clear to users how they should be populated on devices. Additionally, the connection of a power outlet to a power port implies that energy is flowing in one direction, when in reality it may be flowing in the opposite direction.
Author
Owner

@DanSheps commented on GitHub (May 12, 2020):

Additionally, the connection of a power outlet to a power port implies that energy is flowing in one direction, when in reality it may be flowing in the opposite direction.

This is true, with powerstack it can flow in either direction per segment

@DanSheps commented on GitHub (May 12, 2020): > Additionally, the connection of a power outlet to a power port implies that energy is flowing in one direction, when in reality it may be flowing in the opposite direction. This is true, with powerstack it can flow in either direction per segment
Author
Owner

@jeremystretch commented on GitHub (May 13, 2020):

I'm going to close this as the StackPower product does not conform with traditional power delivery, and attempting to imitate it using directional power port and outlets is only going to lead to confusion.

@jeremystretch commented on GitHub (May 13, 2020): I'm going to close this as the StackPower product does not conform with traditional power delivery, and attempting to imitate it using directional power port and outlets is only going to lead to confusion.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3676