Update The Switch Alternate Management Interface For The Network
PUT {{baseUrl}}/networks/:networkId/switch/alternateManagementInterface
Update the switch alternate management interface for the network #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: enabled| boolean| Boolean value to enable or disable AMI configuration. If enabled, VLAN and protocols must be set vlanId| integer| Alternate management VLAN, must be between 1 and 4094 protocols| array| Can be one or more of the following values: 'radius', 'snmp' or 'syslog' switches| array| Array of switch serial number and IP assignment. If parameter is present, it cannot have empty body. Note: switches parameter is not applicable for template networks, in other words, do not put 'switches' in the body when updating template networks. Also, an empty 'switches' array will remove all previous assignments
Supports Action Batches
Resource | Operation |
---|---|
/networks/{networkId}/switch/alternateManagementInterface | update |
Request Body
{"enabled"=>"<boolean>", "vlanId"=>"<integer>", "protocols"=>["<string>", "<string>"], "switches"=>[{"serial"=>"<string>", "alternateManagementIp"=>"<string>"}, {"serial"=>"<string>", "alternateManagementIp"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: OK
{"enabled":true,"vlanId":100,"protocols":["radius","snmp","syslog"],"switches":[{"serial":"Q234-ABCD-5678","alternateManagementIp":"1.2.3.4"}]}