Create a BGP route map redistribution
POST/bgp-route-map-redistributions
Create a new BGP route map redistribution.
Request
- application/json
Body
Created
- MOD1
- MOD2
- bgp
- ospf
- connected_static
- ospf
- rib
- Array [
- ]
- Array [
- ]
- bgp
- rib
- Array [
- ]
- Array [
- ]
- bgp
- ospf
- rib
- Array [
- ]
- Array [
- ]
- Array [
- ]
- folder
- snippet
- device
bgp object required
ospf objectrequired
route_map object[]
Route maps
Possible values: >= 1
and <= 65535
Sequence number
Possible values: [permit
, deny
]
Action
Description
match object
AS path access list
Regular community
Large community
Extended community
Interface
Origin
Possible values: <= 4294967295
Metric
Possible values: >= 1
and <= 4294967295
Tag
Possible values: >= 1
and <= 4294967295
Local preference
Possible values: [local
, none
]
Peer
ipv4 object
address object
Access list
Prefix list
next_hop object
Access list
Prefix list
route_source object
Access list
Prefix list
set object
metric object
Possible values: <= 4294967295
Metric value
Possible values: [set
, add
, subtract
]
Metric action
Possible values: [type-1
, type-2
]
Metric type
Possible values: >= 1
and <= 4294967295
Tag
rib objectrequired
route_map object[]
Route maps
Possible values: >= 1
and <= 65535
Sequence number
Possible values: [permit
, deny
]
Action
Description
match object
AS path access list
Regular community
Large community
Extended community
Interface
Origin
Possible values: <= 4294967295
Metric
Possible values: >= 1
and <= 4294967295
Tag
Possible values: >= 1
and <= 4294967295
Local preference
Possible values: [local
, none
]
Peer
ipv4 object
address object
Access list
Prefix list
next_hop object
Access list
Prefix list
route_source object
Access list
Prefix list
set object
Source address
ospf object required
bgp objectrequired
route_map object[]
Route maps
Possible values: >= 1
and <= 65535
Sequence number
Possible values: [permit
, deny
]
Action
Description
match object
Interface
Possible values: <= 4294967295
Metric
Possible values: >= 1
and <= 4294967295
Tag
address object
Access list
Prefix list
next_hop object
Access list
Prefix list
set object
Enable BGP atomic aggregate?
Possible values: <= 4294967295
Local preference
Possible values: >= 1
and <= 4294967295
Tag
metric object
Possible values: [set
, add
, substract
]
Metric action
Possible values: <= 4294967295
Metric value
Possible values: <= 4294967295
Weight
Possible values: [none
, egp
, igp
, incomplete
]
Origin
Originator ID
aggregator object
Possible values: >= 1
and <= 4294967295
Aggregator AS
Router ID
ipv4 object
Source address
Next hop
Possible values: >= 1
and <= 65535
AS numbers
Regular communities
Large communities
rib objectrequired
route_map object[]
Route maps
Possible values: >= 1
and <= 65535
Sequence number
Possible values: [permit
, deny
]
Action
Description
match object
Interface
Possible values: <= 4294967295
Metric
Possible values: >= 1
and <= 4294967295
address object
Access list
Prefix list
next_hop object
Access list
Prefix list
set object
Source address
connected_static object required
bgp objectrequired
route_map object[]
Route maps
Possible values: >= 1
and <= 65535
Sequence number
Possible values: [permit
, deny
]
Action
Description
match object
Interface
Possible values: <= 4294967295
Metric
ipv4 object
address object
Access list
Prefix list
next_hop object
Access list
Prefix list
set object
Enable BGP atomic aggregate?
Possible values: <= 4294967295
Local preference
Possible values: >= 1
and <= 4294967295
Tag
metric object
Possible values: [set
, add
, substract
]
Metric action
Possible values: <= 4294967295
Metric value
Possible values: <= 4294967295
Weight
Possible values: [none
, egp
, igp
, incomplete
]
Origin
Originator ID
aggregator object
Possible values: >= 1
and <= 4294967295
Aggregator AS
Router ID
ipv4 object
Source address
Next hop
Possible values: >= 1
and <= 65535
AS numbers
Regular communities
Large communities
ospf objectrequired
route_map object[]
Route maps
Possible values: >= 1
and <= 65535
Sequence number
Possible values: [permit
, deny
]
Action
Description
match object
Interface
Possible values: <= 4294967295
Metric
ipv4 object
address object
Access list
Prefix list
next_hop object
Access list
Prefix list
set object
metric object
Possible values: [set
, add
, substract
]
Metric action
Possible values: <= 4294967295
Metric value
Possible values: [type-1
, type-2
]
Metric type
Possible values: >= 1
and <= 4294967295
Tag
rib objectrequired
route_map object[]
Route maps
Possible values: >= 1
and <= 65535
Sequence number
Possible values: [permit
, deny
]
Action
Description
match object
Interface
Possible values: <= 4294967295
Metric
ipv4 object
address object
Access list
Prefix list
next_hop object
Access list
Prefix list
set object
Source address
Possible values: <= 64 characters
, Value must match regular expression ^[a-zA-Z\d-_\. ]+$
The folder in which the resource is defined
Possible values: <= 64 characters
, Value must match regular expression ^[a-zA-Z\d-_\. ]+$
The snippet in which the resource is defined
Possible values: <= 64 characters
, Value must match regular expression ^[a-zA-Z\d-_\. ]+$
The device in which the resource is defined
Name
Description
Responses
- 201
- 400
- 401
- 403
- 409
- default
Created
Bad Request
- application/json
- Schema
- Example (from schema)
- input_format_mismatch
- output_format_mismatch
- missing_query_parameter
- invalid_query_parameter
- missing_body
- invalid_object
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E003",
"message": "Input Format Mismatch: input-format=json",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Output Format Mismatch: output-format=json Accept=xml",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Missing Query Parameter: name",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Invalid Query Parameter: location=invalid",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Missing Body",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Invalid Object",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- auth_not_authenticated
- invalid_credential
- key_too_long
- key_expired
- need_password_change
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E016",
"message": "Not Authenticated",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "Invalid Credential",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "Key Too Long",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "Key Expired",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "The password needs to be changed.",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- auth_unauthorized
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E007",
"message": "Unauthorized",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
Conflict
- application/json
- Schema
- Example (from schema)
- object_not_unique
- name_not_unique
- reference_not_zero
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E016",
"message": "Object Not Unique",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E006",
"message": "Name Not Unique",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E009",
"message": "Reference Not Zero",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
General Errors
- application/json
- Schema
- Example (from schema)
- version_not_supported
- method_not_allowed
- action_not_supported
- bad_xpath
- invalid_command
- malformed_command
- session_timeout
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E012",
"message": "Version Not Supported",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E012",
"message": "Method Not Supported",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E012",
"message": "Action Not Supported: move",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E013",
"message": "Bad XPath",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Invalid Command",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Malformed Command",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "4",
"message": "Session Timeout",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}