Update A Layer 3 Interface For A Switch Stack
PUT {{baseUrl}}/networks/:networkId/switch/stacks/:switchStackId/routing/interfaces/:interfaceId
Update a layer 3 interface for a switch stack #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: name| string| A friendly name or description for the interface or VLAN. subnet| string| The network that this routed interface is on, in CIDR notation (ex. 10.1.1.0/24). interfaceIp| string| The IP address this switch stack will use for layer 3 routing on this VLAN or subnet. This cannot be the same as the switch's management IP. multicastRouting| string| Enable multicast support if, multicast routing between VLANs is required. Options are, 'disabled', 'enabled' or 'IGMP snooping querier'. vlanId| integer| The VLAN this routed interface is on. VLAN must be between 1 and 4094. ospfSettings| object| The OSPF routing settings of the interface.
Supports Action Batches
Resource | Operation |
---|---|
/networks/{networkId}/switch/stacks/{switchStackId}/routing/interfaces/{interfaceId} | update |
Request Body
{"name"=>"<string>", "subnet"=>"<string>", "interfaceIp"=>"<string>", "multicastRouting"=>"<string>", "vlanId"=>"<integer>", "ospfSettings"=>{"area"=>"<string>", "cost"=>"<integer>", "isPassiveEnabled"=>"<boolean>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: OK
{"interfaceId":"1234","name":"L3 interface","subnet":"192.168.1.0/24","interfaceIp":"192.168.1.2","multicastRouting":"disabled","vlanId":100,"ospfSettings":{"area":"0","cost":1,"isPassiveEnabled":true}}