Product Documentation

nsacl6

Sep 07, 2016

Configuration for ACL6 entry resource.

Properties (click to see Operations)

Name Data Type Permissions Description
acl6name
<String>
Read-write
Name for the ACL6 rule. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the ACL6 rule is created.
Minimum length = 1
acl6action
<String>
Read-write
Action to perform on the incoming IPv6 packets that match the ACL6 rule.
Available settings function as follows:
* ALLOW - The NetScaler appliance processes the packet.
* BRIDGE - The NetScaler appliance bridges the packet to the destination without processing it.
* DENY - The NetScaler appliance drops the packet.
Possible values = BRIDGE, DENY, ALLOW
td
<Double>
Read-write
Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0.
Minimum value = 0
Maximum value = 4094
srcipv6
<Boolean>
Read-write
IP address or range of IP addresses to match against the source IP address of an incoming IPv6 packet. In the command line interface, separate the range with a hyphen and enclose within brackets.
srcipop
<String>
Read-write
Logical operator.
Possible values = =, !=, EQ, NEQ
srcipv6val
<String>
Read-write
Source IPv6 address (range).
srcport
<Boolean>
Read-write
Port number or range of port numbers to match against the source port number of an incoming IPv6 packet. In the command line interface, separate the range with a hyphen and enclose within brackets. For example: [40-90].

Note: The destination port can be specified only for TCP and UDP protocols.
srcportop
<String>
Read-write
Logical operator.
Possible values = =, !=, EQ, NEQ
srcportval
<String>
Read-write
Source port (range).
Maximum length = 65535
destipv6
<Boolean>
Read-write
IP address or range of IP addresses to match against the destination IP address of an incoming IPv6 packet. In the command line interface, separate the range with a hyphen and enclose within brackets.
destipop
<String>
Read-write
Logical operator.
Possible values = =, !=, EQ, NEQ
destipv6val
<String>
Read-write
Destination IPv6 address (range).
destport
<Boolean>
Read-write
Port number or range of port numbers to match against the destination port number of an incoming IPv6 packet. In the command line interface, separate the range with a hyphen and enclose within brackets. For example: [40-90].

Note: The destination port can be specified only for TCP and UDP protocols.
destportop
<String>
Read-write
Logical operator.
Possible values = =, !=, EQ, NEQ
destportval
<String>
Read-write
Destination port (range).
Maximum length = 65535
ttl
<Double>
Read-write
Time to expire this ACL6 (in seconds).
Minimum value = 1
Maximum value = 2147483647
srcmac
<String>
Read-write
MAC address to match against the source MAC address of an incoming IPv6 packet.
srcmacmask
<String>
Read-write
Used to define range of Source MAC address. It takes string of 0 and 1, 0s are for exact match and 1s for wildcard. For matching first 3 bytes of MAC address, srcMacMask value "000000111111". .
Default value: "000000000000"
protocol
<String>
Read-write
Protocol, identified by protocol name, to match against the protocol of an incoming IPv6 packet.
Possible values = ICMPV6, TCP, UDP
protocolnumber
<Double>
Read-write
Protocol, identified by protocol number, to match against the protocol of an incoming IPv6 packet.
Minimum value = 1
Maximum value = 255
vlan
<Double>
Read-write
ID of the VLAN. The NetScaler appliance applies the ACL6 rule only to the incoming packets on the specified VLAN. If you do not specify a VLAN ID, the appliance applies the ACL6 rule to the incoming packets on all VLANs.
Minimum value = 1
Maximum value = 4094
vxlan
<Double>
Read-write
ID of the VXLAN. The NetScaler appliance applies the ACL6 rule only to the incoming packets on the specified VXLAN. If you do not specify a VXLAN ID, the appliance applies the ACL6 rule to the incoming packets on all VXLANs.
Minimum value = 1
Maximum value = 16777215
Interface
<String>
Read-write
ID of an interface. The NetScaler appliance applies the ACL6 rule only to the incoming packets from the specified interface. If you do not specify any value, the appliance applies the ACL6 rule to the incoming packets from all interfaces.
established
<Boolean>
Read-write
Allow only incoming TCP packets that have the ACK or RST bit set if the action set for the ACL6 rule is ALLOW and these packets match the other conditions in the ACL6 rule.
icmptype
<Double>
Read-write
ICMP Message type to match against the message type of an incoming IPv6 ICMP packet. For example, to block DESTINATION UNREACHABLE messages, you must specify 3 as the ICMP type.

Note: This parameter can be specified only for the ICMP protocol.
Minimum value = 0
Maximum value = 65536
icmpcode
<Double>
Read-write
Code of a particular ICMP message type to match against the ICMP code of an incoming IPv6 ICMP packet. For example, to block DESTINATION HOST UNREACHABLE messages, specify 3 as the ICMP type and 1 as the ICMP code.

If you set this parameter, you must set the ICMP Type parameter.
Minimum value = 0
Maximum value = 65536
priority
<Double>
Read-write
Priority for the ACL6 rule, which determines the order in which it is evaluated relative to the other ACL6 rules. If you do not specify priorities while creating ACL6 rules, the ACL6 rules are evaluated in the order in which they are created.
Minimum value = 1
Maximum value = 80000
state
<String>
Read-write
State of the ACL6.
Default value: ENABLED
Possible values = ENABLED, DISABLED
aclaction
<String>
Read-write
Action associated with the ACL6.
Possible values = BRIDGE, DENY, ALLOW
newname
<String>
Read-write
New name for the ACL6 rule. Must begin with an ASCII alphabetic or underscore \(_\) character, and must contain only ASCII alphanumeric, underscore, hash \(\#\), period \(.\), space, colon \(:\), at \(@\), equals \(=\), and hyphen \(-\) characters.
Minimum length = 1
kernelstate
<String>
Read-only
Commit status of the ACL6.
Default value: NOTAPPLIED
Possible values = APPLIED, NOTAPPLIED, RE-APPLY, SFAPPLIED, SFNOTAPPLIED
hits
<Double>
Read-only
Number of hits of this ACL6.
aclassociate
<String[]>
Read-only
ACL6 linked.
Possible values = NAT, FORWARDINGSESSION, NAT64, LSN
__count
<Double>
Read-only
count parameter

Operations (click to see Properties)

Some options that you can use for each operations:

  • Getting warnings in response: NITRO allows you to get warnings in an operation by specifying the "warning" query parameter as "yes". For example, to get warnings while connecting to the NetScaler appliance, the URL is as follows:

    http://<netscaler-ip-address>/nitro/v1/config/login?warning=yes

    If any, the warnings are displayed in the response payload with the HTTP code "209 X-NITRO-WARNING".

  • Authenticated access for individual NITRO operations: NITRO allows you to logon to the NetScaler appliance to perform individual operations. You can use this option instead of creating a NITRO session (using the login object) and then using that session to perform all operations,

    To do this, you must specify the username and password in the request header of the NITRO request as follows:

    X-NITRO-USER:<username>

    X-NITRO-PASS:<password>

    Note: In such cases, make sure that the request header DOES not include the following:

    Cookie:NITRO_AUTH_TOKEN=<tokenvalue>

메모

Mandatory parameters are marked in red and placeholder content is marked in <green>.

add

URL: http://<netscaler-ip-address>/nitro/v1/config/nsacl6

HTTP Method: POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Content-Type:application/json

Request Payload:

{"nsacl6":{
      "acl6name":<String_value>,
      "acl6action":<String_value>,
      "td":<Double_value>,
      "srcipv6":<Boolean_value>,
      "srcipop":<String_value>,
      "srcipv6val":<String_value>,
      "srcport":<Boolean_value>,
      "srcportop":<String_value>,
      "srcportval":<String_value>,
      "destipv6":<Boolean_value>,
      "destipop":<String_value>,
      "destipv6val":<String_value>,
      "destport":<Boolean_value>,
      "destportop":<String_value>,
      "destportval":<String_value>,
      "ttl":<Double_value>,
      "srcmac":<String_value>,
      "srcmacmask":<String_value>,
      "protocol":<String_value>,
      "protocolnumber":<Double_value>,
      "vlan":<Double_value>,
      "vxlan":<Double_value>,
      "Interface":<String_value>,
      "established":<Boolean_value>,
      "icmptype":<Double_value>,
      "icmpcode":<Double_value>,
      "priority":<Double_value>,
      "state":<String_value>
}}

Response:

HTTP Status Code on Success: 201 Created
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

delete

URL: http://<netscaler-ip-address>/nitro/v1/config/nsacl6/acl6name_value<String>

HTTP Method: DELETE

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

update

URL: http://<netscaler-ip-address>/nitro/v1/config/nsacl6

HTTP Method: PUT

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Content-Type:application/json

Request Payload:

{"nsacl6":{
      "acl6name":<String_value>,
      "aclaction":<String_value>,
      "srcipv6":<Boolean_value>,
      "srcipop":<String_value>,
      "srcipv6val":<String_value>,
      "srcport":<Boolean_value>,
      "srcportop":<String_value>,
      "srcportval":<String_value>,
      "destipv6":<Boolean_value>,
      "destipop":<String_value>,
      "destipv6val":<String_value>,
      "destport":<Boolean_value>,
      "destportop":<String_value>,
      "destportval":<String_value>,
      "srcmac":<String_value>,
      "srcmacmask":<String_value>,
      "protocol":<String_value>,
      "protocolnumber":<Double_value>,
      "icmptype":<Double_value>,
      "icmpcode":<Double_value>,
      "vlan":<Double_value>,
      "vxlan":<Double_value>,
      "Interface":<String_value>,
      "priority":<Double_value>,
      "established":<Boolean_value>
}}

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

unset

URL: http://<netscaler-ip-address>/nitro/v1/config/nsacl6?action=unset

HTTP Method: POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Content-Type:application/json

Request Payload:

{"nsacl6":{
      "acl6name":<String_value>,
      "srcipv6":true,
      "srcport":true,
      "destipv6":true,
      "destport":true,
      "srcmac":true,
      "srcmacmask":true,
      "protocol":true,
      "icmptype":true,
      "icmpcode":true,
      "vlan":true,
      "vxlan":true,
      "Interface":true,
      "established":true
}}

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

enable

URL: http://<netscaler-ip-address>/nitro/v1/config/nsacl6?action=enable

HTTP Method: POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Content-Type:application/json

Request Payload:

{"nsacl6":{
      "acl6name":<String_value>
}}

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

disable

URL: http://<netscaler-ip-address>/nitro/v1/config/nsacl6?action=disable

HTTP Method: POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Content-Type:application/json

Request Payload:

{"nsacl6":{
      "acl6name":<String_value>
}}

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

rename

URL: http://<netscaler-ip-address>/nitro/v1/config/nsacl6?action=rename

HTTP Method: POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Content-Type:application/json

Request Payload:

{"nsacl6":{
      "acl6name":<String_value>,
      "newname":<String_value>
}}

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

get (all)

URL: http://<netscaler-ip-address>/nitro/v1/config/nsacl6

Query-parameters:

attrs

http://<netscaler-ip-address>/nitro/v1/config/nsacl6?attrs=property-name1,property-name2

Use this query parameter to specify the resource details that you want to retrieve.

filter

http://<netscaler-ip-address>/nitro/v1/config/nsacl6?filter=property-name1:property-val1,property-name2:property-val2

Use this query-parameter to get the filtered set of nsacl6 resources configured on NetScaler.Filtering can be done on any of the properties of the resource.

view

http://<netscaler-ip-address>/nitro/v1/config/nsacl6?view=summary

Note: By default, the retrieved results are displayed in detail view (?view=detail).

pagination

http://<netscaler-ip-address>/nitro/v1/config/nsacl6?pagesize=#no&pageno=#no

Use this query-parameter to get the nsacl6 resources in chunks.

HTTP Method: GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Accept:application/json

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:

{ "nsacl6": [ {
      "acl6name":<String_value>,
      "acl6action":<String_value>,
      "srcmac":<String_value>,
      "srcmacmask":<String_value>,
      "protocol":<String_value>,
      "protocolnumber":<Double_value>,
      "srcportval":<String_value>,
      "destportval":<String_value>,
      "srcipv6val":<String_value>,
      "destipv6val":<String_value>,
      "vlan":<Double_value>,
      "vxlan":<Double_value>,
      "state":<String_value>,
      "kernelstate":<String_value>,
      "ttl":<Double_value>,
      "icmptype":<Double_value>,
      "icmpcode":<Double_value>,
      "Interface":<String_value>,
      "hits":<Double_value>,
      "established":<Boolean_value>,
      "priority":<Double_value>,
      "srcipop":<String_value>,
      "destipop":<String_value>,
      "srcportop":<String_value>,
      "destportop":<String_value>,
      "td":<Double_value>,
      "aclassociate":<String[]_value>
}]}

get

URL: http://<netscaler-ip-address>/nitro/v1/config/nsacl6/acl6name_value<String>

Query-parameters:

attrs

http://<netscaler-ip-address>/nitro/v1/config/nsacl6/acl6name_value<String>?attrs=property-name1,property-name2

Use this query parameter to specify the resource details that you want to retrieve.

view

http://<netscaler-ip-address>/nitro/v1/config/nsacl6/acl6name_value<String>?view=summary

Note: By default, the retrieved results are displayed in detail view (?view=detail).

HTTP Method: GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Accept:application/json

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:

{ "nsacl6": [ {
      "acl6name":<String_value>,
      "acl6action":<String_value>,
      "srcmac":<String_value>,
      "srcmacmask":<String_value>,
      "protocol":<String_value>,
      "protocolnumber":<Double_value>,
      "srcportval":<String_value>,
      "destportval":<String_value>,
      "srcipv6val":<String_value>,
      "destipv6val":<String_value>,
      "vlan":<Double_value>,
      "vxlan":<Double_value>,
      "state":<String_value>,
      "kernelstate":<String_value>,
      "ttl":<Double_value>,
      "icmptype":<Double_value>,
      "icmpcode":<Double_value>,
      "Interface":<String_value>,
      "hits":<Double_value>,
      "established":<Boolean_value>,
      "priority":<Double_value>,
      "srcipop":<String_value>,
      "destipop":<String_value>,
      "srcportop":<String_value>,
      "destportop":<String_value>,
      "td":<Double_value>,
      "aclassociate":<String[]_value>
}]}

count

URL: http://<netscaler-ip-address>/nitro/v1/config/nsacl6?count=yes

HTTP Method: GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Accept:application/json

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:

{ "nsacl6": [ { "__count": "#no"} ] }