Creating patch panels from scratch in device42 : an example

In this chapter, we will take a step by step approach to create patch panels from scratch to end result.

The goal

The example is simpler in nature, but this will cover the basics of how to add patch panel connections in device42.

End goal is:

  1. Patch Panel A is connected to Patch panel B : Panel A Panel B
  2. Patch panel A is patched to switch-01
  3. Patch panel B is patched to devices in the same rack as Panel B.

This will give us devices connectivity with switch ports.

Creating Patch panel models

wpid-patch_panel_model1.png

Before we add the patch panel, we need to create the template. In this example, this is a singular patch panel with 48 RJ-45 ports. Steps taken:

  • Devices > Assets > Patch Panel Model > Add
  • Add name, port type, # of ports etc. for the model.
  • Save

Creating patch panels

wpid3699-add_patch_panel.png

  1. Go to Devices > Assets > Add
  2. Give name Panel A, choose type “Patch Panel”, Choose the model created above.
  3. Save

Repeat the same steps for Panel B, just change the name to Panel B in step 2.

Adding the Back connections or termination

wpid3708-patch_panel_termination.png

  1. Go to Tools > Templates & Bulk Operations > Panel Back Connectivity.
  2. choose Panel A, Port From: 1, Port To: 48 and Panel B, Port From: 1 and optionally, cable type.
  3. Click Continue.

Now Panel A and Panel B are terminated to each other.

wpid3703-patch_panel_back_connectivity.png

Patching switch ports to panel A

patch_panel_api_import.png

wpid3707-patch_panel_switchport_excel.png

In this example, ports from switch-01 are patched to Panel A. (You can create switch ports in bulk using switch templates as discussed under Switch Templates)

The tedious way to do this will be to add each switch port to each panel port. But we are not going to do that.

Recommended way to do the same is to use API Excel import option added in v5.2.0.
Steps:

  1. Go to Tools > Import > API Import(xls)
  2. Download sample excel file from “Create or update patch panel ports” in that page.
  3. Our columns will look like this: number    patch_panel_id    switch    switchport
  4. Add the rows for panel port #, panel ID(available from Asset list view/from APIs/or get using Hover over in the status bar), switch name and switch port name.
  5. Import the Sheet.wpid3705-patch_panel_id.pngwpid3701-PanelA_Switch_Connection.png

Upon import, you can see the switch ports connections on Panel A.

Patching devices to panel B

wpid3704-patch_panel_device_excel.png

In this step, we will use the same sample excel sheet downloaded in step above.

Column layout will be a little different and will look like this: number    patch_panel_id    device    obj_label1

Once we add the values to excel and import it, the panel B will show following.

wpid3702-PanelB_device_Connection.png

Patch panel layout

wpid3709-patch_panel_visual_layout.png

Now if you go to Patch panel layout for Panel B and hover over any port or device, you will see the full visual path for that port.

Switch port level connectivity

wpid3710-switch_port_view.png

You will see the patch panel connectivity from each switch port view as well.

Device level connectivity

wpid3700-device_connectivity_patch_panel.png

Similarly, in the device view/edit page, you will see the patch panel connection under the tab “other”.

This concludes our chapter on how to create a patch panel layout in device42.