netbox icon indicating copy to clipboard operation
netbox copied to clipboard

SFP+ Breakout cables

Open rgstori opened this issue 10 years ago • 6 comments

Currently one-to-one connections match one network port of a device with another port. I'm currenly employing 4x10g breakout cables from my juniper vcf to four different servers, how can i represent this?

rgstori avatar Aug 10 '16 18:08 rgstori

Your device should treat each cable as a separate interface, so I'd create four 10GE interfaces. For example, on Junos et-0/0/0 would become xe-0/0/0:[0-3].

jeremystretch avatar Aug 10 '16 18:08 jeremystretch

You could also create a device called "Breakout Cable" and add the four interfaces going to your servers and add a fifth interface connecting to your juniper. This is how i simulated that type of connection. Your breakout cable will play a "middle man device" role in a way.

jbro209070 avatar Aug 11 '16 21:08 jbro209070

Definitely don't do that. The breakout cable is treated by the device as four normal interfaces; there's nothing in between.

jeremystretch avatar Aug 12 '16 03:08 jeremystretch

You can't simulate a 4 to 1 connection in netbox unless you make the cable as a device and have both devices connect to the cable. Yes you could make each individual port and connect them as a 1 to 1 connection, but that leaves the single port that the physical cable is actually connected to on the second device show as unconnected.

jbro209070 avatar Aug 12 '16 04:08 jbro209070

You could add the breakout cables connections and not the physical one.

Tagnard avatar Aug 12 '16 10:08 Tagnard

You can't simulate a 4 to 1 connection in netbox

It's not a four-to-one connection; it's four independent one-to-one connections. Installing a breakout cable "breaks out" the four discrete 10G channels, replacing the 40GE interface with four 10GE interfaces. Each has its own cable; they just happen to terminate in the same transceiver. Each interface is treated exactly the same as a normal 10GE interface from the device's perspective, they're just numbered a bit differently.

Here's an example from Junos with a normal 40GE transceiver:

et-0/0/32               up    up
et-0/0/32.0             up    up

The same port with a breakout cable:

xe-0/0/32:0             up    up
xe-0/0/32:0.0           up    up
xe-0/0/32:1             up    up
xe-0/0/32:1.0           up    up
xe-0/0/32:2             up    down
xe-0/0/32:2.0           up    down
xe-0/0/32:3             up    down
xe-0/0/32:3.0           up    down

If you try to abstract the cable itself, you remove these real interfaces from the device, breaking the data model.

jeremystretch avatar Aug 12 '16 13:08 jeremystretch