Get SwOS Config
get_swos_configExport a SwOS switch's system, port, VLAN, and SNMP settings as one YAML document for backup, diffing, and reuse with apply_swos_config.
Instructions
Export a SwOS switch's configuration as one YAML document: system settings (including management access), every port's name, enabled state and VLAN settings, the VLAN table (full SwOS) and SNMP. The SNMP community is never exported. The document is the input format of apply_swos_config, so it doubles as a backup you can read and diff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | No | Router ID; omit to use the default router. |