Any guide how to create patchpanels in the 2.5 - beta?

468 views
Skip to first unread message

Malfunceddie

unread,
Nov 12, 2018, 3:40:19 PM11/12/18
to NetBox
Hi,

I've been holding off on using netbox since it lacked patchpanels. 
The 2.5 beta release should have implemented this feature, but is there a guid how to do this?

kind regards,

 

Brian Candler

unread,
Nov 14, 2018, 12:17:18 PM11/14/18
to NetBox
There is some documentation here:


Basically, it extends the type of ports available.  Previously there were:

* (network) interfaces
* power outlets and power ports
* console server ports and console ports

Now you also get "front ports" and "rear ports", which are internally connected.

Suppose you want to model a 24-way patch panel.  The basic approach is:

* Create a new device type, say "patch-24-rj45".  1U, not full depth.
* Select "Add Components", "Rear ports"   (you should do rear ports first - the reason will become apparent)
* Enter "[1-24]" as the name (including the square brackets), select Type: 8P8C, Positions: 1.  This means there's 1 front port for each rear port.

pp5.png



* Select "Add Components", "Front ports"
* Enter "[1-24]" as the name (including the square brackets)
* In the "Rear Ports" list below, select all the items - they are from 1:1 to 24:1

pp6.png


Then create a suitable Device Role, e.g. "Patch panel"

Now you can create an instance of patch-24-rj45 in two different racks, with this role.  Let's say they are called PP1 and PP2.

Then you can connect up PP1 rear port 1 to PP2 rear port 1, PP1 rear port 2 to PP2 rear port 2 (etc).  Unfortunately this part is very tedious.

Finally, you can connect an 'interface' on a device to the 'front port' on patch panel PP1, and an 'interface' on another device to the corresponding 'front port' on patch panel PP2.

pp7.png


The "Connection" shows the remote device interface disregarding the intervening patching, but there's also a cool "trace" button (the blue one) which shows you the physical path:

pp8.png


The reason for doing rear ports first is that one rear port can break out to multiple front ports - e.g. consider a 12-strand fibre cable being presented as six duplex LC connectors.

In the limit: you can make a device type for a patch panel that has a single rear port (called e.g. "backplane") linked to 24 front ports.  You can then make a single connection between the rear "port" on PP1 to the rear "port" on PP2, and the whole thing is wired up.  You're pretending there's a 192-pin connector on the back.  There's no option to select this, so just select 8P8C as before.

This is very quick, but only works if all 24 ports on one patch panel connect 1-to-1 to the corresponding 24 ports on exactly one other patch panel.

HTH,

Brian.

Fabien VINCENT

unread,
Nov 15, 2018, 2:30:18 PM11/15/18
to b.ca...@pobox.com, netbox-...@googlegroups.com
That's obviously a nice feature I tested in 2.5b1. Do you know if it's normal, beta problem to get a stack trace when clicking on the "trace cable" feature ?

Will provided you full debug details if not a known issue on monday.


Fabien VINCENT
-------------------------------------------------------------------

--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To post to this group, send email to netbox-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/9804f9f9-a21b-4a8a-b73d-ddf48663d7bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Brian Candler

unread,
Nov 15, 2018, 2:35:37 PM11/15/18
to NetBox
I haven't seen that, so yes it would be helpful to provide full details.

Luca

unread,
Jun 7, 2019, 10:30:15 AM6/7/19
to NetBox
hi Brian,

thanks for this best practice. I agree with you, that connecting 2 patch panel is a bit tedious but it's really quick if you import this connection; for me is also tedius to see all of this connection (24/48 for each patch panel) on the list cable!! isn't there a way to hide this?

Brian Candler

unread,
Jun 7, 2019, 5:25:50 PM6/7/19
to NetBox
On Friday, 7 June 2019 15:30:15 UTC+1, Luca wrote:
I agree with you, that connecting 2 patch panel is a bit tedious but it's really quick if you import this connection; for me is also tedius to see all of this connection (24/48 for each patch panel) on the list cable!! isn't there a way to hide this?


Not that I'm aware of.  There are a few filters available in the cable list, but nothing like a 'cable role' that could determine whether it's part of fixed infrastructure or flying leads; nor any way to filter to cables which only connect to interfaces or front ports.
Reply all
Reply to author
Forward
0 new messages