---
title: "Create a cisco switch data source"
method: POST
path: "/data-sources/cisco-switches"
tags: ["Data Sources"]
---

# Create a cisco switch data source

`POST /data-sources/cisco-switches`

Add cisco switch as data source. User must provide one of ip or fqdn field in the request body.
Appropriate proxy id is retrieved from infra/nodes URL to select the proxy node.

## Request body

- CiscoSwitchDataSourceRequest
  - `enabled` boolean
  - `fqdn` string
  - `ip` string
  - `nickname` string, required
  - `notes` string
  - `proxy_id` string, required — proxy vm which should register this vcenter
  - `credentials` PasswordCredentials
    - `password` string, required
    - `username` string, required
  - `switch_type` 'CATALYST_3000' | 'CATALYST_4500' | 'CATALYST_6500' | 'NEXUS_5K' | 'NEXUS_7K' | 'NEXUS_9K'

## Response `201`

OK

- CiscoSwitchDataSource
  - `enabled` boolean
  - `entity_id` string
  - `entity_type` 'CiscoSwitchDataSource' | 'DellSwitchDataSource' | 'AristaSwitchDataSource' | 'BrocadeSwitchDataSource' | 'JuniperSwitchDataSource' | 'VCenterDataSource' | 'NSXVManagerDataSource' | 'UCSManagerDataSource' | 'HPVCManagerDataSource' | 'HPOneViewDataSource' | 'PanFirewallDataSource' | 'CheckpointFirewallDataSource'
  - `fqdn` string
  - `ip` string
  - `nickname` string
  - `notes` string
  - `proxy_id` string — proxy vm which should register this vcenter
  - `credentials` PasswordCredentials
    - `password` string, required
    - `username` string, required
  - `switch_type` 'CATALYST_3000' | 'CATALYST_4500' | 'CATALYST_6500' | 'NEXUS_5K' | 'NEXUS_7K' | 'NEXUS_9K'

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Error

---

[API](https://skmtc.net/vmware/apis/vrni.md) · [All operations](https://skmtc.net/vmware/apis/vrni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vmware/vrni/versions/29e16496f00c/schema)
