Skip to end of metadata
Go to start of metadata

REST API Method: PUT /rest/acltable/{identifier}/aclrule/{identifier}

Creates an Access Control Rule managed object.

URL:

https://192.168.0.111/rest/acltable/{identifier}/aclrule/{identifier}

HTTP Method

PUT

Requires Authentication:

true

Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
DescriptionNoNostringnone64 - Max Length Assigns an operator-friendly description text which can be used for future reference. Whitespaces are allowed.
aclActionYesYesEnum1Possible values:
  • 0 - ALLOW
  • 1 - DENY
Specifies the action taken by this rule if there is a match.
ipAddressingModeNoYesEnum0Possible values:
  • 0 - IPV4_ADDR_MODE
  • 1 - IPV6_ADDR_MODE
  • 2 - IPV4_AND_IPV6
Specifies the address mode for source IP/Mask and destination IP/Mask address. Note only IPv4 and IPv6 are valid.
srcIPAddrYesYesstringnone45 - Max Length Specifies the source IP address of the rule to be matched against the packet received.
srcIPAddrMaskYesYesstringnone45 - Max Length Specifies the netmask of the source IP address.
destIPAddrYesYesstringnone45 - Max Length Specifies the destination IP address of the rule to be matched against the packet received.
destIPAddrMaskYesYesstringnone45 - Max Length Specifies the netmask of the destination IP address.
aclProtocolYesYesintPossible values:
  • 0 - Minimum
  • 256 - Maximum
Specifies the protocol of the packet being matched against. Value of 256 will match all protocols.
aclMinSrcPortYesYesintPossible values:
  • 0 - Minimum
  • 65535 - Maximum
Specifies the minimum source port number to be matched against the packet which also includes the value specified.
aclMaxSrcPortYesYesintPossible values:
  • 0 - Minimum
  • 65535 - Maximum
Specifies the maximum source port number to be matched against the packet which also includes the value specified.
aclMinDstPortYesYesintPossible values:
  • 0 - Minimum
  • 65535 - Maximum
Specifies the minimum destination port number to be matched against the packet which also includes the value specified.
aclMaxDstPortYesYesintPossible values:
  • 0 - Minimum
  • 65535 - Maximum
Specifies the maximum destination port number to be matched against the packet which also includes the value specified.

  • No labels