Product Documentation

ns simpleacl6

Sep 12, 2016

The following operations can be performed on "ns simpleacl6":

add | clear | flush | rm | show | stat

add ns simpleacl6

Adds a simple ACL6 rule to the NetScaler appliance. Simple ACL6 rules filter IPv6 packets on the basis of their source IP addresses and, optionally, the destination port and/or protocol. Any packet with the characteristics specified in the simple ACL6 rule is dropped.

Synopsys

add ns simpleacl6 <aclname> [-td <positive_integer>] <aclaction> -srcIPv6 <ipv6_addr|null> [-destPort <port> -protocol ( TCP | UDP )] [-TTL <positive_integer>]

Arguments

aclname

Name for the simple 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 simple ACL6 rule is created.

td

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

aclaction

Drop incoming IPv6 packets that match the simple ACL6 rule.

Possible values: DENY

srcIPv6

IP address to match against the source IP address of an incoming IPv6 packet.

destPort

Port number to match against the destination port number of an incoming IPv6 packet.

Omitting the port number creates an all-ports simple ACL6 rule, which matches any port. In that case, you cannot create another simple ACL6 rule specifying a specific port and the same source IPv6 address.

protocol

Protocol to match against the protocol of an incoming IPv6 packet. You must set this parameter if you set the Destination Port parameter.

Possible values: TCP, UDP

TTL

Number of seconds, in multiples of four, after which the simple ACL6 rule expires. If you do not want the simple ACL6 rule to expire, do not specify a TTL value.

Minimum value: 4

Maximum value: 2147483647

Example

add simpleacl6 rule1 DENY -srcIP6 fe80::2c0:95ff:fec5:d9b8 -destPort 80 -protocol TCP add simpleacl rule2 DENY -srcIP6 3ffe:100:100::1 -TTL 600

clear ns simpleacl6

Removes all simple ACL6 rules from the NetScaler appliance.

Synopsys

clear ns simpleacl6

Example

clear ns simpleacl6

flush ns simpleacl6

Terminates all established IPv6 connections that match any of the newly configured simple ACL6 rules. Note: If you plan to create more than one simple ACL6 rule and flush existing connections that match any of them, you can minimize the affect on performance by first creating all of the simple ACL6 rules and then running flush only once.

Synopsys

flush ns simpleacl6 -estSessions

Arguments

estSessions

rm ns simpleacl6

Removes a simple ACL6 rule from the NetScaler appliance.

Synopsys

rm ns simpleacl6 <aclname> ...

Arguments

aclname

Name of the simple ACL6 rule that you want to remove.

Example

rm ns simpleacl6 rule1

Related Commands

show ns simpleacl6

Displays settings of all the simple ACL6 rules or of the specified simple ACL6 rule. To display settings of all the simple ACL6 rules, run the command without any parameters. To display settings of a particular simple ACL6 rule, specify the name of the simple ACL6 rule.

Synopsys

show ns simpleacl6 [<aclname>]

Arguments

aclname

Name of the simple ACL6 rule whose settings you want the NetScaler appliance to display.

Outputs

aclaction

Action associated with the SACL6 rule.

td

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.

srcIPv6

Source IP6 address.

stateflag

SACL6 state flag.

destPort

Destination Port.

protocol

Protocol associated with the ACL rule.

TTL

Time to expire this ACL rule(in seconds).

hits

Number of hits for this SACL6 rule.

time

Time when this acl is added.

devno

count

Example

show simpleacl6 rule1  Name: rule1     Action: DENY                          Hits: 5  srcIP6 = 3ffe:100:100::1  Protocol = TCP                         DestPort = 110  TTL: 200(seconds)

stat ns simpleacl6

Displays statistics related to the simple ACL6 rules.

Synopsys

stat ns simpleacl6 [-detail] [-fullValues] [-ntimes <positive_integer>] [-logFile <input_filename>] [-clearstats ( basic | full )]

Arguments

detail

Specifies detailed output (including more statistics). The output can be quite voluminous. Without this argument, the output will show only a summary.

fullValues

Specifies that numbers and strings should be displayed in their full form. Without this option, long strings are shortened and large numbers are abbreviated

ntimes

The number of times, in intervals of seven seconds, the statistics should be displayed.

Default value: 1

Minimum value: 0

logFile

The name of the log file to be used as input.

clearstats

Clear the statsistics / counters

Possible values: basic, full

Outputs

SimpleACL6 hits (SACL6Hits)

Packets matching a SimpleACL6.

SimpleACL6 misses (SACL6Miss)

Packets not matching any SimpleACL6.

SimpleACLs6 count (SACL6sCount)

Number of SimpleACL6s configured.

Allow SimpleACL6 hits (SACL6Allow)

Total packets that matched a SimpleACL6 with action ALLOW and got consumed by NetScaler.

Bridge SimpleACL6 hits (SACL6Bdg)

Total packets that matched a SimpleACL6 with action BRIDGE and got bridged by NetScaler.

Deny SimpleACL6 hits (SACL6Deny)

Packets dropped because they match SimpleACL6 with processing mode set to DENY.

Example

stat simpleacl6