HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
API Reference

/system/evpn/evpn_vlans

Body Params
export_route_targets
array of strings
length ≤ 32

Route targets to be exported from the VLAN in ASN:nn format or 'auto'.

export_route_targets
import_route_targets
array of strings
length ≤ 32

Route targets to be imported into the VLAN in ASN:nn format or 'auto'.

import_route_targets
string
length between 3 and 22

EVPN RD in ASN:nn format or IP:nn format or 'auto'. This is optional.

redistribute
object

Types of routes that should be redistributed by EVPN.

string
enum

If export_route_targets or import_route_targets is set to 'auto' this configuration specifies the RFC according to which route-targets are auto-generated. 'legacy' : To auto-generate route-target as per RFC 4364. 'default': To auto-generate route-target as per RFC 8365.

Allowed:
string
required

Reference Resource: EVPN_VLAN
References to per-VLAN EVPN configurations.

Responses
201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

415

Unsupported Media Type

500

Internal Server Error

501

Not Implemented

503

Service Unavailable

Language
Response
Click Try It! to start a request and see the response here!