SitesDevicesWiredVirtual Chassis
convertSiteVirtualChassisToVirtualMac
Converts an FPC0-based VC to a Virtualmac VC, removing the limitation where the device ID must change whenever FPC0 is renumbered or removed.
HTTP400 Error possible reasons:
- The device is not an OC device
- Virtualmac VC is disabled in the Org Knob settings
- The VC is already a Virtualmac VC
- The VC is currently disconnected
- The device is standalone
- A new FPC0 exists with its own device config, causing ambiguity.
Authorization<token>
Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.
Format:
Authorization: Token {apitoken}
Notes:
- An API token generated for a specific admin has the same privileges as that admin
- An API token is automatically removed if it is not used for more than 90 days
- SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.
In: header
Path Parameters
site_id*string
Format
uuiddevice_id*string
Format
uuidResponse Body
curl -X POST "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/devices/000000ab-00ab-00ab-00ab-0000000000ab/vc/convert_to_virtualmac"Empty
changeSiteSwitchVcPortMode POST
Change VCP port mode Some switch model allows changing VCP port behaviors, e.g. - use them as regular network ports - change vcp protocol Note, this command will reboot the switch
getSiteDeviceVirtualChassis GET
Get VC Status The API returns a combined view of the VC status which includes topology and stats_