Update Layer 3 OSPF Routing Configuration
PUT {{baseUrl}}/networks/:networkId/switch/routing/ospf
Update layer 3 OSPF routing configuration #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: enabled| boolean| Boolean value to enable or disable OSPF routing. OSPF routing is disabled by default. helloTimerInSeconds| integer| Time interval in seconds at which hello packet will be sent to OSPF neighbors to maintain connectivity. Value must be between 1 and 255. Default is 10 seconds deadTimerInSeconds| integer| Time interval to determine when the peer will be declare inactive/dead. Value must be between 1 and 65535 areas| array| OSPF areas md5AuthenticationEnabled| boolean| Boolean value to enable or disable MD5 authentication. MD5 authentication is disabled by default. md5AuthenticationKey| object| MD5 authentication credentials. This param is only relevant if md5AuthenticationEnabled is true
Supports Action Batches
Resource | Operation |
---|---|
/networks/{networkId}/switch/routing/ospf | update |
Request Body
{"enabled"=>"<boolean>", "helloTimerInSeconds"=>"<integer>", "deadTimerInSeconds"=>"<integer>", "areas"=>[{"areaId"=>"<integer>", "areaName"=>"<string>", "areaType"=>"<string>"}, {"areaId"=>"<integer>", "areaName"=>"<string>", "areaType"=>"<string>"}], "md5AuthenticationEnabled"=>"<boolean>", "md5AuthenticationKey"=>{"id"=>"<integer>", "passphrase"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: OK
{"enabled":true,"helloTimerInSeconds":10,"deadTimerInSeconds":40,"areas":[{"areaId":"1284392014819","areaName":"Backbone","areaType":"normal"}],"md5AuthenticationEnabled":true,"md5AuthenticationKey":{"id":"1234","passphrase":"abc1234"}}