listSiteEvpnTopologies
Get the existing EVPN topology
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
uuidQuery Parameters
Maximum number of results to return per page
0 <= value100Select the page number to return when using page-based pagination; starts at 1
1 <= value1Response Body
curl -X GET "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/evpn_topologies"[ { "created_time": 1736421230, "evpn_options": { "auto_loopback_subnet": "172.16.192.0/24", "auto_loopback_subnet6": "fd33:ab00:2::/64", "auto_router_id_subnet": "172.16.254.0/23", "core_as_border": true, "overlay": { "as": 65000 }, "per_vlan_vga_v4_mac": false, "routed_at": "core", "underlay": { "as_base": 65001, "subnet": "10.255.240.0/20", "use_ipv6": false } }, "for_site": false, "id": "764fb173-94f9-447c-8454-def62e5a999f", "modified_time": 1736421230, "name": "tert", "org_id": "3a2627d7-bfbc-45af-b85d-8841581c6d63", "pod_names": { "1": "Pod 1" }, "site_id": "00000000-0000-0000-0000-000000000000" }]searchSiteSystemEvents GET
Search system events for a site with time range, sorting, and pagination controls. Use [Search Org System Events](/api/mist/orgs/orgs-events/searchOrgSystemEvents) to search system events across the organization.
createSiteEvpnTopology POST
While all the `evpn_id` / `downlink_ips` can be specified by hand, the easiest way is to call the `build_vpn_topology` API, allowing you to examine the diff, and update it yourself. You can also simply call it with `overwrite=true` which will apply the updates for you. **Notes:** 1. You can use `core` / `distribution` / `access` to create a CLOS topology 2. You can also use `core` / `distribution` to form a 2-tier EVPN topology where ESI-Lag is configured distribution to connect to access switches 3. In a small/medium campus, `collapsed-core` can be used where core switches are the inter-connected to do EVPN