Cisco NX-OS

Run show commands, read and declaratively apply configuration, checkpoint, roll back and save on Cisco Nexus switches through NX-API.

Scripts

Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.

Submit a script →

Resource type

The shape of the credential every script on this page expects.

FieldTypeRequiredWhat it is
base_urlstringYesHTTPS address of the switch's NX-API, e.g. https://nexus1.example.com or https://10.0.0.1:8443 when NX-API listens on a non-default port (`nxapi https port`). No path, no trailing slash. The switch certificate must match this address and be trusted by the Windmill worker: the default self-signed one is rejected.
usernamestringYesSwitch user name. Its NX-OS role must allow the commands the scripts run (network-admin for configuration, checkpoint, rollback and copy).
passwordstringYesPassword of that switch user.