> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myrmex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# D-Link Switch

> Connect a D-Link switch to Myrmex over SSH — create the access account and add the integration.

import { Note, Steps, Step, CardGroup, Card, Tip } from '@mintlify/components';

Connect your **D-Link Switch** (DGS/DXS series) so Myrmex can read its configuration in real time, audit its hardening, document your VLANs and ports, and — with approval — apply changes. Myrmex reaches the switch over **SSH** through a [Collector](/documentation/agent-endpoint-security/collector-mode) on your network.

## What Myrmex Can Do

<CardGroup cols={2}>
  <Card title="Read & troubleshoot" icon="magnifying-glass">
    Inspect interfaces, VLANs, port status, MAC and ARP tables, and the running configuration — read-only diagnostics, on demand.
  </Card>

  <Card title="Hardening audit" icon="shield-halved">
    Run a [Security Posture](/documentation/security-posture/overview) audit against the switch configuration.
  </Card>

  <Card title="Document the network" icon="sitemap">
    Map VLANs, trunks, and port assignments so your topology stays documented.
  </Card>

  <Card title="Config management" icon="floppy-disk">
    Back up, diff, and — on approval — apply configuration changes.
  </Card>
</CardGroup>

## Before You Start

* A **Collector** deployed on a network that can reach the switch's management IP over SSH. See [Deploying the agent](/documentation/agent-endpoint-security/installation).
* **SSH enabled** on the switch's management interface.
* A **login account** Myrmex can use (a read-only user is enough for analysis; a user with configuration rights is required to apply changes).

## Step 1 — Create the Access Account on D-Link

<Steps>
  <Step title="Enable SSH on the switch">
    Enable the SSH server so the Collector can log in over SSH (many D-Link models use Telnet by default — turn on SSH).
  </Step>

  <Step title="Create a user account">
    Add a user account with a strong password and a privilege level scoped to what Myrmex should do — a read-only level for analysis, or an admin level to allow changes.
  </Step>

  <Step title="Note the credentials">
    Record the **username** and **password** — you'll enter them in Myrmex.
  </Step>
</Steps>

<Tip>
  Prefer least privilege: start with a read-only account, and grant admin rights only once you want the agents to apply changes for you.
</Tip>

## Step 2 — Add the Integration in Myrmex

From the **Directory**, choose **Add Integration → D-Link Switch**, then fill in:

| Field             | Description                                                                                           |
| ----------------- | ----------------------------------------------------------------------------------------------------- |
| **Name**          | A unique name for this switch.                                                                        |
| **Description**   | Optional note to identify the device.                                                                 |
| **IP / Hostname** | The switch management IP or hostname the Collector can reach.                                         |
| **SSH Port**      | The SSH port (default `22`).                                                                          |
| **Username**      | The account username created in Step 1.                                                               |
| **Password**      | That account's password.                                                                              |
| **Model**         | Select your D-Link switch model series.                                                               |
| **Version**       | Select the firmware version (or **Other**).                                                           |
| **Collector**     | The [Collector](/documentation/agent-endpoint-security/collector-mode) that opens the SSH connection. |

## Connect

Click **Connect** to validate the SSH connection and finish. The switch then appears under **Environment → Integrations**, and you can start asking the AI about it in the Workspace.
