Update The LAN Settings For A Single MG
PUT {{baseUrl}}/devices/:serial/cellularGateway/lan
Update the LAN Settings for a single MG. #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: reservedIpRanges| array| list of all reserved IP ranges for a single MG fixedIpAssignments| array| list of all fixed IP assignments for a single MG
Supports Action Batches
Resource | Operation |
---|---|
/devices/{serial}/cellularGateway/lan | update |
Request Body
{"reservedIpRanges"=>[{"start"=>"<string>", "end"=>"<string>", "comment"=>"<string>"}, {"start"=>"<string>", "end"=>"<string>", "comment"=>"<string>"}], "fixedIpAssignments"=>[{"ip"=>"<string>", "mac"=>"<string>", "name"=>"<string>"}, {"ip"=>"<string>", "mac"=>"<string>", "name"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: OK
{"deviceName":"name of the MG","deviceLanIp":"192.168.0.33","deviceSubnet":"192.168.0.32/27","fixedIpAssignments":[{"mac":"0b:00:00:00:00:ac","name":"server 1","ip":"192.168.0.10"},{"mac":"0b:00:00:00:00:ab","name":"server 2","ip":"192.168.0.20"}],"reservedIpRanges":[{"start":"192.168.1.0","end":"192.168.1.1","comment":"A reserved IP range"}]}