# Rack editor

> Place devices in a rack, number the ports of a patch panel, close empty units with blank and brush panels, patch cables between ports, change the view, look at the rack in 3D, and use building connections and PATCHBOX cassettes.

URL: https://docs.racktrace.io/features/rack-editor

The rack editor is where most of the documenting happens: drag devices into the rack, patch cables between ports and see every cable route. Changes are saved as you go.

![The rack editor with a switch selected](https://docs.racktrace.io/assets/screens/rack-editor.webp "The rack editor: the device templates on the left, the rack in the middle, and the selected switch in the inspector on the right.")

## Opening the editor

Click a rack in the **Locations** tree, or a rack drawing on the room page. You can also use **Open in rack editor** on a device page, **Rack editor** on a trace and **Open in the rack editor** on the floor plan.

The editor has three columns:

- the **Devices** panel on the left, with the templates from the device library;
- the rack drawing in the middle;
- the **inspector** on the right, with the settings of the rack, or of the selected device or port.

Hide or show the panels with the buttons at both ends of the toolbar.

## The toolbar

| Button | What it does |
|---|---|
| Row view | Shows all racks of the room side by side, with the rack you were in in the middle. In the row view, **Racks n/m** chooses which racks to show. |
| ‹ Rack › | The racks of the room: pick one, or step to the previous or next one (`←` `→`). The other rack opens in place — zoom, face and panels stay as they are, and every rack keeps its own undo list. In the row view it moves the row to that rack. Only in rooms with more than one rack. |
| Front / Back | Which face of the rack is drawn. Key `R`. |
| Diagram / Realistic / 3D | The diagram to patch in, or the rack as the real cabinet with the equipment in it — you select, connect and add there too; in the row view with the cable tray. See [Working in the realistic view](https://docs.racktrace.io/features/rack-cabinets#realistic). **3D** shows that cabinet to turn round and look at, see [The rack in 3D](https://docs.racktrace.io/features/rack-editor#rack-3d). **Door** (realistic and 3D) shuts the door. |
| Picture | The rack (in the row view: the racks of the room) as it will look: the real cabinet with the equipment in it, to show or download. See [Rack cabinets](https://docs.racktrace.io/features/rack-cabinets#picture). |
| Zoom − / % / + | Zoom out or in (20–200 %). Click the percentage to go back to 100 %. Hidden in 3D, which has a zoom of its own. |
| Fit | Fits the rack to the screen. |
| Undo / Redo | The tooltip says what will be undone or redone. |
| VLANs | Colours ports, or ports and cables, by their untagged VLAN, or shows one VLAN. Only when the tenant has VLANs. |
| Network | Shows one network and dims the rest. Only when the tenant has networks. |
| Simulation | Colours the cables by the result of the last [simulation](https://docs.racktrace.io/network/simulation). Only after a simulation has run. |
| Live | A green (up) or grey (down) dot on every port that UniFi or another source reports. Only when live data exists. |
| Cables | Hides all patch cables except the ones of the selected or hovered device or port. |
| Outbound | Highlights the ports whose cable leaves this rack. |
| Bezels | Hides or shows the front bezels, to see the drive bays and ports behind them. Only when a fitted bezel is in view: not from the back, and not for an optional bezel that is not fitted. |
| Saved | The save state: **Saving…**, **Saved** or **Not saved**. Users who may only look see **Read-only**. |

Your browser remembers the face, the zoom, and the Cables, Live, VLAN and network choices.

## Placing a device in the rack

Find the device in the **Devices** panel: pick a manufacturer, or type in **Search devices…** (every word must match the model, manufacturer, part number or category). Then use one of three ways:

- **Drag** the template onto a rack unit. Green units mean it fits, red means it doesn't. The unit you drop on becomes the **top** of the device.
- **Click** the template, then click a free U. Press `Esc` or click the template again to stop.
- Click the **+** on an empty U. Choose the **Device**, optionally an **ID** and **Name**, and click **Add**. For a patch panel, PATCHBOX or outlet you can give the name of its first port here as well; see [Port numbering](https://docs.racktrace.io/features/rack-editor#port-numbering).

The new device is selected and the cursor is in its **Name** field, so you can type the name straight away.

- In the **Back** view, new devices are mounted on the back of the rack. Half-depth devices on the other face are drawn hatched.
- Full-depth devices take up the U on both faces.
- 0U and side-mounted devices, such as PDUs, can be dropped anywhere on the drawing. They are listed under the rack in **0U / side-mounted devices**.
- Can't find the model? Add it to the [device library](https://docs.racktrace.io/features/device-library#library) with **Manage device library** at the bottom of the panel.

## Selecting, moving and deleting devices

- **Select**: click a device. Its cables are highlighted and the rest is dimmed. Click an empty spot, or press `Esc`, to clear the selection.
- **Move**: drag the device by its ID label to another U. In the row view you can drag it into another rack. To move a device to another room, use **Move** on the [device page](https://docs.racktrace.io/features/devices#edit-device).
- **Rename**: type in the **Name** or **ID** field of the [inspector](https://docs.racktrace.io/features/rack-editor#editor-inspector).
- **Delete**: press `Delete`, or use **Delete device** under **Tools**. This can be undone with `Ctrl`+`Z`, including all its cables.

## Port numbering of patch panels

A patch panel from the library numbers its ports 01 … 24. To use your own numbering, such as A-01 … A-24 for panel A, give the name of the **first port**; the other ports follow, and both ends of each port (front and rear, or the top and bottom end of a PATCHBOX cassette) get the same name. This works for patch panels, fibre panels, PATCHBOXes and outlets.

- **When you add it**: click the **+** on an empty U, choose the panel and type the first port under **Port numbering — first port**, such as `A-01`. The range it gives is shown beside it (`A-01 … A-24`).
- **Afterwards**: select the panel and type the first port in **Port numbering** in the [inspector](https://docs.racktrace.io/features/rack-editor#editor-inspector), then press `Enter`. On the device page, use **Port numbering** on the **Ports** card.

The number at the end counts up and keeps its digits: `A-01` gives A-01, A-02 …, `B1` gives B1, B2 …, `101` gives 101 … 124. A `/` becomes `-`, because it separates the parts of a path. Cables, labels and VLANs stay on their ports, the renumbering is in the history, and `Ctrl`+`Z` puts back the old names. When you [change the model](https://docs.racktrace.io/features/devices#change-model) of a panel, it keeps its numbering.

## Blank and brush panels

Close empty rack units with **blank panels**, so cold air does not bypass the equipment, and let cables through with a **brush panel**: a panel with a slot of brush strips, like a letterbox. They are under **Blank / brush panel** in the **Devices** panel: blank panels of 1U to 4U, vented blank panels and brush panels of 1U and 2U, and the UniFi OCD panels. Place them like any other device; a blank panel is drawn as a plain plate, a brush panel with its slot and a vented panel with its holes. They have no ports and get an ID such as BP01.

To close a whole rack at once, clear the selection and click **Fill free units with blank panels…** in the inspector. Choose the panel; RackTrace fills every gap on the face on screen with as many as fit (with a 2U panel, a gap of one unit stays free). One `Ctrl`+`Z` removes them all again.

## The inspector: device and rack settings

The inspector on the right shows the settings of what you selected. Hide or show it with the button at the right end of the toolbar.

### When a device is selected

Under the name of the device: its Domotz state and, for a device linked to [Hudu or IT Glue](https://docs.racktrace.io/integrations/hudu-it-glue), **Open in Hudu** or **Open in IT Glue**.

- **Settings**: **ID**, **Name**, **Status**, **Network**, **Position (U)**, **Mounted on**, **Full depth**, **Management IP** (with **+** for the next free IP of a VLAN), **MAC address**, **Serial**, **Asset tag**, **Notes** and, for devices with a [front bezel](https://docs.racktrace.io/features/rack-editor#bezels), **Front bezel fitted**. Patch panels, PATCHBOXes and outlets also have **Port numbering** (see [Port numbering](https://docs.racktrace.io/features/rack-editor#port-numbering)). Patch panels, PATCHBOXes and blank panels have no **Management IP**, **MAC address**, **Serial** or **Asset tag** — those fields only show when one is filled in already. A field is saved when you leave it or press `Enter`; `Esc` puts the old value back.
- **Expansion slots**: fit, move and remove cards (see [Expansion slots and cards](https://docs.racktrace.io/features/devices#cards)).
- **Tools**:
  - **Manage building connections** (see [Building connections](https://docs.racktrace.io/features/rack-editor#building-connections))
  - **Trunk to another rack…** (see [Trunks](https://docs.racktrace.io/features/row-view-and-trunks#trunks))
  - **Bulk connect…** (see [Bulk connect](https://docs.racktrace.io/features/cables-and-tracing#bulk-connect))
  - **Cassette types (UTP / fibre)…** (see [PATCHBOX cassettes](https://docs.racktrace.io/features/rack-editor#patchbox))
  - **Port profiles (VLANs)…** (see [Port profiles](https://docs.racktrace.io/network/network-plan#profiles))
  - **Change model…**, **Add ports…** and **Delete device**
- **Ports**: every port with its **trace chain**, the path from end to end through patch panels and outlets. Filter with All / Connected / Free or **Filter ports, labels or paths…**. Click a port to select it in the drawing.

### When nothing is selected

The inspector shows the rack: its settings (ID, name, **Cabinet model** — see [Rack cabinets](https://docs.racktrace.io/features/rack-cabinets#cabinet-model) —, **Height (U)**, **Position in room**, asset tag, notes), a summary, **Outbound connections**, **Links to other racks** and the buttons **Picture — as it will look**, **Row view**, **Printable report**, **Labels & QR codes**, **On the floor plan**, **Rack history**, **Fill free units with blank panels…** (see [Blank and brush panels](https://docs.racktrace.io/features/rack-editor#blank-panels)) and **Delete rack…**.

## Patching cables

1. Click a free port. A bar says **Connecting …**.
2. Click the second port. The cable is drawn in its colour along the cable tray.

Or **drag** from one port to the other. To cancel, press `Esc` or click the first port again.

- **Move a cable**: drag a connected port onto a free port. The other end stays where it is; the cable keeps its label, type, colour and length.
- **Ports elsewhere**: select the port and click **Connect to…** in the port panel. Choose the other device (anywhere in the tenant), then the port, then the cable details.
- **Disconnect**: select the port and click **Disconnect**. Undo brings the cable back.
- **Cable details**: click the cable chip in the port panel to change the **Label**, **Type**, **Colour**, **Length (m)** and **Planned — not installed yet**.

New cables get a label like `C-0042` and a type and colour that fit the port: fibre ports get Fiber OM4 (aqua), SFP ports a DAC, power ports a power cable and copper ports Cat6 (blue).

Hover a port to see its path, type, VLANs, where it goes and the live state. The other end lights up. Cables that leave the rack end in an arrow with a label, such as `LA 32×`. Planned cables are dashed.

## Views: front and back, zoom, VLANs and live state

- **Front / Back** (`R`): the back shows patch panel rear ports, server ports and power supplies.
- **Zoom**: `+` and `−`, `Ctrl` + scroll wheel (around the pointer) or pinch on a touchpad. **Fit** fits the rack to the screen.
- **Move around**: drag with the right or middle mouse button; let go while still moving and the drawing glides on. A selection, or a cable you are halfway through connecting, stays as it is.
- **To another rack**: keep dragging with the right mouse button past the left or right edge. The drawing stretches and a tab shows the previous or next rack of the room; let go when it says **Release to open**, or let go earlier to stay. `←` and `→` and the rack picker in the toolbar do the same. You stay at the same height in the rack, and the browser's Back button goes to the rack before.
- **VLANs**:
  - **Colour ports by untagged VLAN**.
  - **Colour ports + cables by untagged VLAN**: also colours the cabling through patch panels and PATCHBOXes up to the outlet. A legend below the rack counts the cables per VLAN.
  - Choosing one VLAN highlights the ports and cables that carry it (dashed where it is tagged) and dims the rest.
- **Network**: shows one network (IT, PRD …) and dims the rest.
- **Outbound**: highlights the ports that leave the rack. They are listed in the inspector under **Outbound connections**; click one to jump to it.

## The rack in 3D

Click **3D** in the toolbar to see the rack as the real cabinet, all round: its colour and doors, the side panels and roof, and every device as deep as it is, with its front and its back. It is the same drawing as the realistic view, so what you see in one you see in the other. In the row view the racks stand side by side, with the cable tray hanging above them — seen from every side, also straight from beside the row. Your browser remembers the choice.

- **Turn**: drag with the mouse or a finger; let go while still moving and it turns on a little. The arrow keys turn it too, when the view has the focus.
- **Move up and down** (and sideways): scroll, drag with the right mouse button or with `Shift` held, or use two fingers on a touchpad or screen — as in Diagram and Realistic. The keys: `Page Up` / `Page Down`, or `Shift` + an arrow key. Turning then turns round the part you are looking at.
- **Zoom**: `Ctrl` + scroll (`Cmd` on a Mac) or a pinch zooms in where the mouse or your fingers are; **−** and **+** in the bar at the bottom (or the keys) zoom in on the middle.
- **Reset**: **Reset** in the bar, `Home` or a double-click on an empty spot shows the whole rack again, straight from the side you are looking at.
- **Standpoints**: **Left** and **Right** (from the front, at an angle), **Front** and **Back**; each shows the whole rack. `0` goes back to straight from the front. **Front** / **Back** in the toolbar turns the rack to that side, and follows when you turn it yourself.
- **Door**: opens or shuts the doors of the side you are looking at; they swing on their hinges. In a row, a door that hinges next to the neighbouring rack opens just to a right angle, so it never swings over that rack.
- **Side panels**: takes the side panels off, to see how deep the equipment is and how it fills the cabinet.
- **Cables** and **Bezels** work as in the realistic view. A cable to the back of a device that hangs at the other side of the rack (the rear of a patch panel, seen from behind) runs from the cables at the rear straight into its port, a device depth into the cabinet.

A click on a device or a port selects it, as in the realistic view: the inspector shows it, its box is outlined and the cables of the selection light up. 3D is for looking: to add, move or connect, switch to **Diagram** or **Realistic** — the selection stays.

Without a graphics card (for example over a remote desktop) the browser draws everything itself. To keep turning smooth, the cables and the doors are then left out while the rack turns — the doors as their outline — and come back as soon as it stops. With *reduce motion* set on your computer the rack jumps to a standpoint and the doors open without swinging. A browser that cannot show 3D has no **3D** button.

## Front look and front bezels

Many devices are drawn with their real front: rack ears, drive bays, displays, status LEDs, buttons and vents where they sit on the device. Some also have a front bezel:

- a **standard** bezel ships with the device, such as the bezel of a UPS or battery pack, or the front door of a SIMATIC IPC;
- an **optional** bezel is an accessory you may have fitted, such as an HPE security bezel.

A bezel is drawn when it is fitted. To record that for one device, tick or clear **Front bezel fitted** in the [inspector](https://docs.racktrace.io/features/rack-editor#editor-inspector), or use **Fit** / **Remove** next to **Front bezel** on the device page. This can be undone and is in the history.

Want to see the drive bays and ports behind the bezels? Click **Bezels** in the toolbar to hide all bezels; click it again to show them. Your browser remembers the choice. The button is only there when a fitted bezel is in view: an optional bezel (such as the HPE security bezel) is drawn once you tick **Front bezel fitted**.

## Saving and undo

Every change is saved at once; watch the **Saved** indicator. If something cannot be saved, it shows **Not saved** with a message and the rack is reloaded.

`Ctrl`+`Z` undoes and `Ctrl`+`Y` (or `Ctrl`+`Shift`+`Z`) redoes the last 100 steps. Undo covers:

- adding, moving and deleting devices, including a device with all its cables;
- field changes;
- connecting, disconnecting and moving cables;
- trunks, building connections, cards, cassettes and VLAN settings;
- port numbering and filling a rack with blank panels;
- changing the model.

Every rack has its own undo list: `Ctrl`+`Z` only undoes changes in the rack on screen (the tooltip and the message name the rack, e.g. *Undone: Add Switch in RK01*), and when you step to another rack and back, its list is still there. The list starts empty each time you open the editor. While a save is running, undo and redo are off for a moment. A device you delete and bring back is the same device again — its labels, QR codes and history still point to it, and its cables are back on their ports.

## Building connections

Use this to document the permanent cabling from a patch panel to the floor boxes or wall outlets in another room, all in one go.

1. Select the patch panel and choose **Tools → Manage building connections**.
2. Pick the **Start at port** and the **Number of connections**.
3. Choose the **Target room**, then the **Cable type** (Cat6a by default), **Colour** and **Length (m)**.
4. Tick the **Target devices**. Devices with free rear ports are ticked by default.
5. Check the **Preview**: ports are matched in order and ports already in use are skipped.
6. Click **Create connections**.

The existing building connections are listed below the form; remove one with its delete button.

## PATCHBOX cassettes

Each cassette of a PATCHBOX is a retractable patch cable with a top end ↑ and a bottom end ↓ on the front. A trace runs through the cassette like through a patch panel.

1. Select the PATCHBOX and choose **Tools → Cassette types (UTP / fibre)…** (or **Cassette types** on its device page).
2. Set each cassette to **UTP Cat.6a**, **Fibre LC-LC**, **Fibre LC-SC** or **Fibre SC-LC**, or use **Apply to range**, **All UTP** or **All LC-LC**.
3. Click **Save**. Cables stay connected; check their cable type when a connected cassette changed.

One cassette can also be changed with **Cassette type** in the port panel.
