| addnsacl6 |
Use this method to adds an ACL6 rule to the Citrix ADC. To commit this operation, you must apply the ACL6s. ACL6 rules filter data packets on the basis of various parameters, such as IP address, source port, action, and protocol. |
Syntax |
Parameters |
acl6name |
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. This is mandatory parameter. |
acl6action |
Action to perform on the incoming IPv6 packets that match the ACL6 rule.
Available settings function as follows:
* ALLOW - The Citrix ADC processes the packet.
* BRIDGE - The Citrix ADC bridges the packet to the destination without processing it.
* DENY - The Citrix ADC drops the packet. This is mandatory parameter. |
srcipv6 |
IP address or range of IP addresses to match against the source IP address of an incoming IPv6 packet. In the method line interface, separate the range with a hyphen. |
operatoR |
Either the equals (=) or does not equal (!=) logical operator. |
srcipv6val |
Source IPv6 address (range). |
srcport |
Port number or range of port numbers to match against the source port number of an incoming IPv6 packet. In the method line interface, separate the range with a hyphen. For example: 40-90.
Note: The destination port can be specified only for TCP and UDP protocols. |
operatoR2 |
Either the equals (=) or does not equal (!=) logical operator. |
srcportval |
Source port (range). |
destipv6 |
IP address or range of IP addresses to match against the destination IP address of an incoming IPv6 packet. In the method line interface, separate the range with a hyphen. |
operatoR3 |
Either the equals (=) or does not equal (!=) logical operator. |
destipv6val |
Destination IPv6 address (range). |
destport |
Port number or range of port numbers to match against the destination port number of an incoming IPv6 packet. In the method line interface, separate the range with a hyphen. For example: 40-90.
Note: The destination port can be specified only for TCP and UDP protocols. |
operatoR4 |
Either the equals (=) or does not equal (!=) logical operator. |
destportval |
Destination port (range). |
ttl |
Time to expire this ACL6 (in seconds). Minimum value = 1. Maximum value = 0x7FFFFFFF. |
srcmac |
MAC address to match against the source MAC address of an incoming IPv6 packet. |
srcmacmask |
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 |
Protocol, identified by protocol name, to match against the protocol of an incoming IPv6 packet. |
protocolnumber |
Protocol, identified by protocol number, to match against the protocol of an incoming IPv6 packet. Minimum value = 1. Maximum value = NSACL_MAXPROTO. |
vlan |
ID of the VLAN. The Citrix ADC 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. |
interfacE |
ID of an interface. The Citrix ADC 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 |
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 |
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. Maximum value = 65536. |
icmpcode |
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. Maximum value = 65536. |
priority |
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 = 81920. |
state |
State of the ACL6. Default value = XACLENABLED. |
type |
Type of the acl6 ,default will be CLASSIC.
Available options as follows:
* CLASSIC - specifies the regular extended acls.
* DFD - cluster specific acls,specifies hashmethod for steering of the packet in cluster . Default value = NS_ACL_CLASSIC. |
dfdhash |
Specifies the type of hashmethod to be applied, to steer the packet to the FP of the packet. |
dfdprefix |
hashprefix to be applied to SIP/DIP to generate rsshash FP.eg 128 => hash calculated on the complete IP Default value = MAX_DFD_HASH_PREFIX_LEN. Minimum value = 1. Maximum value = 128. |
nodeid |
Specifies the NodeId to steer the packet to the provided FP. Default value = VAL_NOT_SET. Minimum value = 0. Maximum value = 31. |
stateful |
If stateful option is enabled, transparent sessions are created for the traffic hitting this ACL6 and not hitting any other features like LB, INAT etc. Default value = NO. |
logstate |
Enable or disable logging of events related to the ACL6 rule. The log messages are stored in the configured syslog or auditlog server. Default value = GENDISABLED. |
ratelimit |
Maximum number of log messages to be generated per second. If you set this parameter, you must enable the Log State parameter. Default value = 100. Minimum value = 1. Maximum value = 10000. |
Return Value |
Returns simpleResult |
See Also |