--- title: "switch add" slug: "switch-add" tags: ["5.5"] updated: 2026-10-27T23:00:54Z published: 2026-10-27T23:00:54Z canonical: "docs.vastdata.com/switch-add" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # switch add This command adds a switch to VMS. > [!NOTE] > Note > > Switches configured to send OpenTelemetry data to VMS are discovered automatically and do not need to be added to VMS. ## Usage ```plaintext switch add --ip IP           [--username USERNAME]           [--password PASSWORD] ``` ## Required Parameters | `--ip IP` | Specifies the IP address of the switch. | | --- | --- | ## Options | `--username USERNAME` | Specifies a user name that can be used to log into the switch OS. | | --- | --- | | `--password PASSWORD` | Specifies the password for the specified user name. | ## Example ```plaintext vcli: admin> switch add --ip --username cumulus --password ```