# Juniper QFX5240-64OD

Juniper switch, 19-inch rack, 2u. 64 × OSFP (800GE), 2 × SFP+ (10GE), 2 × IEC C20 inlet, 1 × 1000BASE-T, 1 × Console (RJ45), 1 × USB-A.

## Ports

| Port | Type | Speed | Side | Notes |
| --- | --- | --- | --- | --- |
| 64 × et-0-0-0 – et-0-0-63 | OSFP (800GE) | 800G | front | — |
| 2 × sfp1 – sfp2 | SFP+ (10GE) | 10G | front | — |
| mgmt | 1000BASE-T | 1G | front | management |
| console | Console (RJ45) | — | front | console |
| usb | USB-A | — | front | — |
| 2 × psu1 – psu2 | IEC C20 inlet | — | rear | power |

## Specifications

- **Vendor:** Juniper
- **Type:** Switch
- **Mounting:** 19-inch rack, 2U
- **Size:** 650 mm depth
- **Ports:** 71
- **Also known as:** QFX5240-64OD-AO
- **Catalog id:** `juniper/qfx5240-64od`

Source: the vendor's own site. Vendor's page: https://www.juniper.net/documentation/us/en/hardware/qfx5240/qfx5240.pdf, checked 2026-11-14.

The drawing is generated: port count and types are from the data, port positions are approximate.

## YAML

The device in the portspec YAML format. Import the catalog and name the model by its id to use it.

```yaml
# Juniper QFX5240-64OD
# Source of the data: Juniper's QFX5240 hardware guide. Its two small ports are 10G SFP+ in the text and SFP28 in
# the figure; SFP+ is taken. The time-of-day RJ45 and the 10 MHz and 1 PPS clock connectors are left out, as their
# connector types are not stated. The PSU inlet is inferred from the C20-to-C19 cords Juniper ships.
network: 1
imports:
  - ../../defaults/types.network.yaml
models:
  juniper/qfx5240-64od:
    name: QFX5240-64OD
    vendor: Juniper
    role: switch
    aliases: [ QFX5240-64OD-AO ]
    mount: 19in
    size: { units: 2, depth: 650 }
    ports:
      et-0-0-0..63: { type: 800gbase-x-osfp, label: "{n}" }
      sfp1..2:      { type: 10gbase-x-sfpp }
      mgmt:         { type: 1000base-t, role: management }
      console:      { type: console-rj-45, role: console }
      usb:          { type: usb-a }
      psu1..2:      { type: iec-60320-c20, role: power, side: rear }
    x-family: switches
    x-part-number: QFX5240-64OD-AO
    source:
      url: https://www.juniper.net/documentation/us/en/hardware/qfx5240/qfx5240.pdf
      checked: 2026-11-14
      x-from: vendor
```

## Files

- Page: https://portspec.dev/catalog/juniper/qfx5240-64od/
- JSON: https://portspec.dev/catalog/juniper/qfx5240-64od.json
- YAML: https://portspec.dev/g/m/juniper/qfx5240-64od.yaml
- Front drawing: https://portspec.dev/g/m/juniper/qfx5240-64od.front.svg (SVG), https://portspec.dev/g/m/juniper/qfx5240-64od.front.l.png (PNG), https://portspec.dev/g/m/juniper/qfx5240-64od.front.real.l.webp (realistic)
- Rear drawing: https://portspec.dev/g/m/juniper/qfx5240-64od.rear.svg (SVG), https://portspec.dev/g/m/juniper/qfx5240-64od.rear.l.png (PNG), https://portspec.dev/g/m/juniper/qfx5240-64od.rear.real.l.webp (realistic)
- All Juniper devices: https://portspec.dev/catalog/juniper.md
