Update a logical router
PUT/logical-routers/:id
Update an existing logical router.
Request
Path Parameters
The UUID of the configuration resource
- application/json
Body
OK
- folder
- snippet
- device
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- normal
- stub
- nssa
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- ]
- ]
- ]
- Array [
- ]
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
Possible values: <= 63 characters
Logical router name
vrf object
ecmp object
Enable ECMP routing?
Possible values: >= 2
and <= 4
Default value: 2
Max paths
Symmetric return?
Strict source path?
algorithm object
ip_hash object
Use source address only?
Use source/destination port for hash?
Possible values: <= 4294967295
Hash seed
weighted_round_robin object
interface object[]
Interfaces
Interface name
Possible values: >= 1
and <= 255
Weight
Interfaces
admin_dists object
Possible values: >= 1
and <= 255
Default value: 10
Static routes
Possible values: >= 1
and <= 255
Default value: 110
OSPF intra area routes
Possible values: >= 1
and <= 255
Default value: 110
OSPF inter area routes
Possible values: >= 1
and <= 255
Default value: 110
OSPF external routes
Possible values: >= 1
and <= 255
Default value: 200
BGP AS internal routes
Possible values: >= 1
and <= 255
Default value: 20
BGP AS external routes
Possible values: >= 1
and <= 255
Default value: 20
BGP local routes
Possible values: >= 1
and <= 255
Default value: 120
RIP routes
bgp object
Enable BGP routing?
Router ID
global_bfd object
Possible values: [aggressive
, default
, passive-default
, None
]
BFD profile
peer_group object[]
Peer groups
Peer group name
Enable peer group?
type object
address_family object
IPv4 address family
filtering_profile object
IPv4 filtering profile
peer object[]
BGP peers
Peer name
Enable BGP peer?
Possible values: >= 1
and <= 65535
Peer AS
Inherit addressing?
local_address object
Local interface
Local IP address
peer_address object
Peer IP address
connection_options object
Default value: inherit
Authentication profile
Default value: inherit
Timer profile
Default value: inherit
Multi-hop
Default value: inherit
Dampening profile
Enable sender side loop detection?
bfd object
Possible values: [aggressive
, Inherit-lh-global-setting
, default
, None
, passive-default
]
BFD profile
Install route?
Fast failover?
Enforce first AS?
ECMP multiple AS support?
Graceful shutdown?
Possible values: <= 4294967295
Default local preference
graceful_restart object
Enable graceful restart?
Possible values: >= 1
and <= 3600
Stale route time (seconds)
Possible values: >= 1
and <= 3600
Maximum peer restart time (seconds)
Possible values: >= 1
and <= 3600
Local restart time (seconds)
med object
Always compare MED?
Deterministic MED comparison?
Always advertise network route?
advertise_network object
ipv4 object
network object[]
IPv4 networks
IPv4 network
Unicast?
Multicast?
Backdoor?
redistribution_profile object
ipv4 object
Redistribution profile name
aggregate_routes object[]
Aggregate route name
Description
Enable aggregate route?
Summary only?
AS set?
Same MED?
type object
ipv4 object
Summary prefix
Suppress map
Attribute map
ospf object
Enable OSPF routing?
Router ID
global_bfd object
Possible values: [aggressive
, passive-default
, default
, None
]
BFD profile
area object[]
OSPF areas
Area ID
Authentication profile
type object
normal objectrequired
abr object
Import list
Export list
Inbound filter list
Outbound filter list
stub objectrequired
No summary?
abr object
Import list
Export list
Inbound filter list
Outbound filter list
nssa objectrequired
No summary?
default_information_originate object
Possible values: >= 1
and <= 16677214
Default value: 10
Metric
Possible values: [type-1
, type-2
]
abr object
Import list
Export list
Inbound filter list
Outbound filter list
nssa_ext_range object[]
Address range for external summary routes
IPv4 prefix
Advertise?
range object[]
Ranges
IPv4 address/netmask
Substitute
Advertise?
interface object[]
Interfaces
Interface name
Enable?
MTU ignore?
Passive?
Possible values: >= 1
and <= 255
Default value: 1
Priority
Timer profile
Authentication profile
bfd object
Possible values: [aggressive
]
Possible values: >= 1
and <= 65535
Default value: 10
Cost
link_type object
p2mp object
neighbor object[]
Neighbor IPv4 address
Possible values: >= 1
and <= 255
Default value: 1
Priority
graceful_restart object
Enable graceful restart?
Enable helper mode?
Enable strict LSA checking?
Possible values: >= 5
and <= 1800
Default value: 120
Grace period (seconds)
Possible values: >= 5
and <= 1800
Default value: 140
Maximum neighbor restart time (seconds)
RFC1583 compatibility?
Possible values: [default
]
Global general timer
Possible values: [aggressive
, default
]
Global interface timer
routing_table object
ip object
static_route object[]
IPv4 static routes
Static route name
Description
Interface
nexthop object
IPv4 address
Possible values: >= 10
and <= 240
Administrative distance
Possible values: >= 1
and <= 65535
bfd object
Possible values: [aggressive
, default
, passive-default
, None
]
BFD profile
path_monitor object
Enable path monitoring?
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- default
OK
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"
}
Not Found
- application/json
- Schema
- Example (from schema)
- object_not_present
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E005",
"message": "Object Not Present",
"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"
}