Update A Quality Of Service Rule
PUT {{baseUrl}}/networks/:networkId/switch/qosRules/:qosRuleId
Update a quality of service rule
#### Body Parameters
Parameter|Type|Description
:-------------: |:-------------: |:-------------:
vlan| integer| The VLAN of the incoming packet. A null value will match any VLAN.
protocol| string| The protocol of the incoming packet. Can be one of ANY
, TCP
or UDP
. Default value is ANY
.
srcPort| integer| The source port of the incoming packet. Applicable only if protocol is TCP or UDP.
srcPortRange| string| The source port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80
dstPort| integer| The destination port of the incoming packet. Applicable only if protocol is TCP or UDP.
dstPortRange| string| The destination port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80
dscp| integer| DSCP tag that should be assigned to incoming packet. Set this to -1 to trust incoming DSCP. Default value is 0.
Supports Action Batches
Resource | Operation |
---|---|
/networks/{networkId}/switch/qosRules/{qosRuleId} | update |
Request Body
{"vlan"=>"<integer>", "protocol"=>"<string>", "srcPort"=>"<integer>", "srcPortRange"=>"<string>", "dstPort"=>"<integer>", "dstPortRange"=>"<string>", "dscp"=>"<integer>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: OK
{"id":"1284392014819","vlan":100,"protocol":"TCP","srcPort":2000,"srcPortRange":null,"dstPort":null,"dstPortRange":"3000-3100","dscp":0}