HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
API Reference

/system/port_access_policies/{Port_Access_Policy.name}/cfg_entries/{Port_Access_Policy_Entry.sequence_number}/policy_action_set

Path Params
string
required

Reference Resource: Port_Access_Policy
Name of a port-access policy.

string
required

Reference Resource: Port_Access_Policy_Entry
Policy entries as configured by the user. MAC based classes are not supported in a policy entry. The entire policy is rejected if it contains one or more policy entries with MAC classes.

Body Params
int64
≥ 0

Set the Committed Burst Size for matching packets. Associated with cir.

int64
≥ 0

Set the Committed Information Rate for matching packets.

boolean

Drop packets matching the criteria specified in an associated class entry. If drop is specified, then all other actions will be ignored.

integer
0 to 63

Set the Differentiated Services Code Point value of matching IPv4 and IPv6 packets to the specified value.

integer
0 to 3

Set the Explicit Congestion Notification value of matching IPv4 and IPv6 packets to the specified value.

boolean

Drop packets that exceed 'cbs' or 'cir'.

integer
0 to 7

Set the ip-precedence value

integer
0 to 7

Set the local priority of matching packets to the specified value.

integer
0 to 7

Set the Priority Code Point value of matching packets to the specified value.

string
enum

Indicates the type of redirect action. captive-portal: redirect packets to a captive portal server.

Allowed:
Responses
200

OK

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

415

Unsupported Media Type

500

Internal Server Error

501

Not Implemented

503

Service Unavailable

Language
Response
Click Try It! to start a request and see the response here!